hanami-shrine 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4ab63e12bbe6fedde391615954611fef5dac174
4
- data.tar.gz: b17a668dcdd30c125802698edf43718cb820f993
3
+ metadata.gz: 95f56d0ad09fa6ed64fe698379207bbc7bb4b2f4
4
+ data.tar.gz: 9ad7064c45f6f1d27bac6912d43764c9cf858502
5
5
  SHA512:
6
- metadata.gz: 1c7610a228ff8038288e525ff54115181e236653449e19111712885aca08495858f02dcdab481c8cd18ba8f99c49878b78031f10aa24a39b2276238c02c89549
7
- data.tar.gz: c36e08516f6aef380fb090a004a94531f24eeeac7fae12e9c3609021890caad08b2df671e3a10de32c35e083507ae587914fd3b7db7c62495d74c08f164b50c4
6
+ metadata.gz: bf8c05b4b151715ee75626b5ce683392aceac098bf6658409231bbe0ab5fba65b865634d59ca44b00fcb6e4fd51ccc42912263e04d9724c8afe2f03d5e95c306
7
+ data.tar.gz: f49c6ab6e59ab7a2c4b0966ce86f2164b7bdd6b934c275572f17798d5365274c3357246bbead1a10464e615f3f9133263fb56b5d6f8bfd33c58335ee463e967a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.4.0
2
+
3
+ * Added support for Shrine versions 2.7.0 and up, while dropping support for lower versions (@famano, see #6)
4
+
1
5
  ## 0.3.0
2
6
 
3
7
  * Fixed incompatibility with Hanami 1.0.1+ leading to `RuntimeError: can't modify frozen Hash` error upon deletion
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in hanami-shrine.gemspec
4
4
  gemspec
5
- gem 'shrine', '>= 2.0.0'
5
+ gem 'shrine', '>= 2.7.0'
6
6
  gem 'sqlite3'
7
7
  gem 'pry'
8
8
  gem 'image_processing'
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency 'shrine'
22
+ spec.add_dependency 'shrine', '>= 2.7.0'
23
23
  spec.add_dependency 'hanami-model', '>= 1.0'
24
24
  spec.add_dependency "hanami-utils", '>= 1.0'
25
25
 
@@ -1,5 +1,5 @@
1
1
  module Hanami
2
2
  module Shrine
3
- VERSION = "0.3.0"
3
+ VERSION = '0.4.0'
4
4
  end
5
5
  end
@@ -6,7 +6,7 @@ class Shrine
6
6
  module Plugins
7
7
  module Hanami
8
8
  module AttachmentMethods
9
- def initialize(name)
9
+ def initialize(name, **options)
10
10
  super
11
11
 
12
12
  module_eval <<-RUBY, __FILE__, __LINE__ + 1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-shrine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paweł Świątkowski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-04 00:00:00.000000000 Z
11
+ date: 2017-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shrine
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 2.7.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 2.7.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: hanami-model
29
29
  requirement: !ruby/object:Gem::Requirement