flexirest 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/flexirest/caching.rb +1 -1
- data/lib/flexirest/version.rb +1 -1
- data/spec/lib/caching_spec.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c9f803c00338b0144951500a49edc9d442f37b9
|
4
|
+
data.tar.gz: cc67b490693f4411158a8128072474cee491da45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ead7a0e3d8e497cf13273d1a0a5d04146103b95fec7009c2a08a56ddb2509cb61273efeca08780026b0432fc74f6b30da54673b010e95969269c63ba66570f5
|
7
|
+
data.tar.gz: 64976c161dfb5a58ae2d18a5e158b4f3ad945efcdff966a4642c49d69a2478834ccad585e8aa23e2f48a3afb81fd1ff38d09a86b7369dbc61b8b61a0aca204e9
|
data/CHANGELOG.md
CHANGED
data/lib/flexirest/caching.rb
CHANGED
data/lib/flexirest/version.rb
CHANGED
data/spec/lib/caching_spec.rb
CHANGED
@@ -46,7 +46,15 @@ describe Flexirest::Caching do
|
|
46
46
|
ensure
|
47
47
|
Object.send(:remove_const, :Rails) if defined?(Rails)
|
48
48
|
end
|
49
|
+
end
|
49
50
|
|
51
|
+
it "should not error if Rails.cache is not found" do
|
52
|
+
begin
|
53
|
+
class Rails; end
|
54
|
+
expect { ActiveRestClient::Base.cache_store }.not_to raise_error
|
55
|
+
ensure
|
56
|
+
Object.send(:remove_const, :Rails) if defined?(Rails)
|
57
|
+
end
|
50
58
|
end
|
51
59
|
|
52
60
|
it "should use a custom cache store if a valid one is manually set" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flexirest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|