storyblok 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/storyblok/cache/redis.rb +2 -2
- data/lib/storyblok/version.rb +1 -1
- data/storyblok.gemspec +1 -1
- metadata +2 -3
- data/storyblok-2.0.3.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4f7ee7dc39a1457adae80294bbe0606e0ee99ea38f5e1c7608ef2f1ef13b8fb
|
4
|
+
data.tar.gz: 1177742ae270a639988a06cbaca3612d2c7b298a521b7614469f17bbb716e787
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a373ba20c6107ee1b2b1a767bcaef8f387c1b734566710d38304bb2585e4860224eeeca6c39d9bd16f2ae2706241236e168d757fabb1d298bd601029cff66f9
|
7
|
+
data.tar.gz: d6f1bbfe69648f4dd3130caa7fde6542ecfcc27021f118d65c5af3c9a1a8a61111729255c8b2a23c740881efb402b303ffdb77b69351af74c1a7b1c212da0dc3
|
@@ -6,7 +6,7 @@ module Storyblok
|
|
6
6
|
}
|
7
7
|
|
8
8
|
def initialize(*args)
|
9
|
-
options = args.
|
9
|
+
options = args.last.is_a?(::Hash) ? args.pop : {}
|
10
10
|
|
11
11
|
@redis = options.delete(:redis) || begin
|
12
12
|
if defined?(::Redis)
|
@@ -48,4 +48,4 @@ module Storyblok
|
|
48
48
|
|
49
49
|
end
|
50
50
|
end
|
51
|
-
end
|
51
|
+
end
|
data/lib/storyblok/version.rb
CHANGED
data/storyblok.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
|
|
10
10
|
gem.email = 'it@storyblok.com'
|
11
11
|
gem.homepage = 'https://github.com/storyblok/storyblok-ruby'
|
12
12
|
|
13
|
-
gem.files = Dir['{**/}{.*,*}'].select { |path| File.file?(path) && !path.start_with?('pkg') }
|
13
|
+
gem.files = Dir['{**/}{.*,*}'].select { |path| File.file?(path) && !path.start_with?('pkg') && !path.end_with?('.gem') }
|
14
14
|
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
15
15
|
gem.test_files = gem.files.grep(%r{^spec/})
|
16
16
|
gem.require_paths = ['lib']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: storyblok
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Storyblok (Alexander Feiglstorfer)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -82,7 +82,6 @@ files:
|
|
82
82
|
- lib/storyblok/links.rb
|
83
83
|
- lib/storyblok/request.rb
|
84
84
|
- lib/storyblok/version.rb
|
85
|
-
- storyblok-2.0.3.gem
|
86
85
|
- storyblok.gemspec
|
87
86
|
homepage: https://github.com/storyblok/storyblok-ruby
|
88
87
|
licenses:
|
data/storyblok-2.0.3.gem
DELETED
Binary file
|