opium 1.0.0 → 1.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b53cd943726ac294d5bb3ea61bb30d61498e16d
|
4
|
+
data.tar.gz: ad18f5457d8bef4c60de5d756b84cc4286b56c2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48d6e38c6333a34a8f1670f3b8e66106239cb7d1a9b9c1018507f92f3872f05c76af2a8e5a8c759013829cf5166654c523263886639cdaba1a2d5ea03e05cd86
|
7
|
+
data.tar.gz: cb0510ae5708a304b9882aa7d673a177c75d54a3e7ec3d613e4d3a99f8b1bcdf15b98cdabb988092f34db49863f4f9e3181cada967a4e5abff90ea91322753a6
|
data/lib/opium/model/criteria.rb
CHANGED
data/lib/opium/version.rb
CHANGED
data/spec/opium/config_spec.rb
CHANGED
@@ -19,6 +19,8 @@ describe Opium do
|
|
19
19
|
end
|
20
20
|
|
21
21
|
describe ':reset' do
|
22
|
+
after { described_class.config.log_network_responses = false }
|
23
|
+
|
22
24
|
it 'should put all changed settings back to their defaults' do
|
23
25
|
expect { described_class.config.log_network_responses = true }.to change( described_class.config, :log_network_responses ).from( false ).to( true )
|
24
26
|
described_class.reset
|
@@ -38,6 +38,7 @@ describe Opium::Model::Criteria do
|
|
38
38
|
it { is_expected.to respond_to( :each ) }
|
39
39
|
it { is_expected.to respond_to( :to_a ) }
|
40
40
|
it { is_expected.to respond_to( :count, :total_count ) }
|
41
|
+
it { is_expected.to respond_to( :to_partial_path ) }
|
41
42
|
|
42
43
|
describe '#chain' do
|
43
44
|
it 'returns a copy of the object' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Bowers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|