Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract image field into a separate gem #476

Merged
merged 2 commits into from
Apr 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@

### Upcoming Release

### 0.2.0 (April 20, 2016)

* [#476] [CHANGE] Extract `Administrate::Field::Image` into its own gem.
Users who have image fields in their dashboards
should add to their `Gemfile`:
```ruby
gem "administrate-field-image"
```

### 0.1.5 (April 1, 2016)

* [master] [BUGFIX] Protect from CSRF attacks [CVE-2016-3098]
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ruby "2.2.3"

gemspec

gem "administrate-field-image"
gem "delayed_job_active_record"
gem "high_voltage"
gem "markdown-rails"
Expand Down
8 changes: 6 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
administrate (0.1.5)
administrate (0.2.0)
autoprefixer-rails (~> 6.0)
datetime_picker_rails (~> 0.0.7)
jquery-rails (~> 4.0)
Expand Down Expand Up @@ -52,6 +52,9 @@ GEM
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.3.8)
administrate-field-image (0.0.2)
administrate (>= 0.2.0.rc1, < 0.3.0)
rails (~> 4.2)
ammeter (1.1.3)
activesupport (>= 3.0)
railties (>= 3.0)
Expand Down Expand Up @@ -152,7 +155,7 @@ GEM
mime-types (2.99.1)
mini_portile2 (2.0.0)
minitest (5.8.4)
momentjs-rails (2.11.0)
momentjs-rails (2.11.1)
railties (>= 3.1)
multi_json (1.11.2)
neat (1.7.4)
Expand Down Expand Up @@ -280,6 +283,7 @@ PLATFORMS

DEPENDENCIES
administrate!
administrate-field-image
ammeter
appraisal
awesome_print
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Add Administrate to your Gemfile:

```ruby
# Gemfile
gem "administrate", "~> 0.1.5"
gem "administrate", "~> 0.2.0"
```

Re-bundle, then run the installer:
Expand Down
23 changes: 0 additions & 23 deletions app/views/fields/image/_form.html.erb

This file was deleted.

18 changes: 0 additions & 18 deletions app/views/fields/image/_index.html.erb

This file was deleted.

18 changes: 0 additions & 18 deletions app/views/fields/image/_show.html.erb

This file was deleted.

1 change: 0 additions & 1 deletion docs/customizing_dashboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ specify, including:
- `Field::Email`
- `Field::HasMany`
- `Field::HasOne`
- `Field::Image`
- `Field::Number`
- `Field::Polymorphic`
- `Field::Select`
Expand Down
1 change: 1 addition & 0 deletions gemfiles/bourbon_5.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ source "https://rubygems.org"

ruby "2.2.3"

gem "administrate-field-image"
gem "delayed_job_active_record"
gem "high_voltage"
gem "markdown-rails"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/sass_3_4.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ source "https://rubygems.org"

ruby "2.2.3"

gem "administrate-field-image"
gem "delayed_job_active_record"
gem "high_voltage"
gem "markdown-rails"
Expand Down
8 changes: 0 additions & 8 deletions lib/administrate/field/image.rb

This file was deleted.

2 changes: 1 addition & 1 deletion lib/administrate/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Administrate
VERSION = "0.1.5".freeze
VERSION = "0.2.0".freeze
end
14 changes: 0 additions & 14 deletions spec/lib/fields/image_spec.rb

This file was deleted.