administrate-field-carrierwave 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ed47bc2c8af5f3df5efbc867a50240768679772
4
- data.tar.gz: 0375530441b580036842e0b44fcb16755f10155d
3
+ metadata.gz: 650f3f41527902384e4c0b1bc0eaef1d8ab11a44
4
+ data.tar.gz: 987ad169a9e691606071cc3fe9b5851b8c3b1b92
5
5
  SHA512:
6
- metadata.gz: d29a2ee2cb15fbd71ae9276068e2d83179e20ecb94f6b2456276af99ffb92468d26d44420cbf3f1e6dec2ddbbe976a117bb291f435f7287bf9af98e6b24efd3b
7
- data.tar.gz: c0926ad9e23bb5075c39e376705c986dbea9d379ec6915d1535d40062ac9710c5c567de454182be7306a94aaaf3fa3528905d5b3a6ef9c41b65e6a30138de65d
6
+ metadata.gz: 551780de16e601b34e9c8dccc8e555d1e97392bbf11537fba331bb8d154c796ef09ebac19c24b26a173801b5b9028c478e728dfa2039d9939af931bd78819e78
7
+ data.tar.gz: '049215f25018d1aeceae693a8f86c6c352afbf4ededa21798ce1b15b6c53a237c0bcc44e2da0f259c4e8d89ec7091fce73c2bd57df59868aef29a50f76699485'
data/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.0.2](https://github.com/z-productions/administrate-field-carrierwave/tree/v0.0.2) (2016-11-29)
4
+ [Full Changelog](https://github.com/z-productions/administrate-field-carrierwave/compare/v0.0.1...v0.0.2)
5
+
6
+ * Fix engine class declaration
7
+
3
8
  ## [v0.0.1](https://github.com/z-productions/administrate-field-carrierwave/tree/v0.0.1) (2016-11-28)
4
9
  First release
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- administrate-field-carrierwave (0.0.1)
4
+ administrate-field-carrierwave (0.0.2)
5
5
  administrate (~> 0.3.0)
6
6
  rails (>= 4.2)
7
7
 
data/README.md CHANGED
@@ -9,7 +9,7 @@ A plugin to upload and preview Carrierwave attachments in [Administrate].
9
9
  Add it to your `Gemfile`:
10
10
 
11
11
  ```ruby
12
- gem 'administrate-field-carrierwave', '~> 0.0.1'
12
+ gem 'administrate-field-carrierwave', '~> 0.0.2'
13
13
  ```
14
14
 
15
15
  Run:
@@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'administrate-field-carrierwave'
5
- gem.version = '0.0.1'
5
+ gem.version = '0.0.2'
6
6
  gem.authors = ['Michele Gerarduzzi']
7
7
  gem.email = ['michele.gerarduzzi@gmail.com']
8
8
  gem.homepage = 'https://github.com/z-productions/administrate-field-carrierwave'
@@ -3,10 +3,9 @@ require 'rails'
3
3
 
4
4
  module Administrate
5
5
  module Field
6
- class Engine < ::Rails::Engine
7
- end
8
-
9
6
  class Carrierwave < Administrate::Field::Base
7
+ class Engine < ::Rails::Engine; end
8
+
10
9
  delegate :url, :filename, to: :data, allow_nil: true
11
10
 
12
11
  def image
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-field-carrierwave
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michele Gerarduzzi