modis 0.0.1 → 1.0.0
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 +4 -4
- data/lib/modis/attributes.rb +2 -0
- data/lib/modis/version.rb +1 -1
- data/{redis_model.gemspec → modis.gemspec} +0 -0
- data/spec/attributes_spec.rb +5 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 636b12c6a5c346586ec5fed639ea9c7de44e18f8
|
|
4
|
+
data.tar.gz: d8bb31a3245b62c556a8bcee449a3555cf8c2bb6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c379ef03514854bf7221a57c387635fa080c2cd97a9c75ed0620da4ee3166a4cd4ac32d66280f4e1e428679507d74fde8a2faaf2250be0eeb3c41728fe68ebfc
|
|
7
|
+
data.tar.gz: 677634bb19c26bfa9bd9f6836629466b45c00f4b39112d06cb82b817707cbfedc41a7d2b875154b743090b8e6478222b5e82d3d8fbe37da49c40620101e7be54
|
data/lib/modis/attributes.rb
CHANGED
data/lib/modis/version.rb
CHANGED
|
File without changes
|
data/spec/attributes_spec.rb
CHANGED
|
@@ -171,8 +171,11 @@ describe Modis::Attributes do
|
|
|
171
171
|
found.hash_not_strict.should eq "test"
|
|
172
172
|
end
|
|
173
173
|
|
|
174
|
-
it '
|
|
175
|
-
|
|
174
|
+
it 'returns an integer as a string' do
|
|
175
|
+
model.hash_not_strict = 1
|
|
176
|
+
model.save!
|
|
177
|
+
found = AttributesSpec::MockModel.find(model.id)
|
|
178
|
+
found.hash_not_strict.should eq "1"
|
|
176
179
|
end
|
|
177
180
|
end
|
|
178
181
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: modis
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ian Leitch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-06-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel
|
|
@@ -78,7 +78,7 @@ files:
|
|
|
78
78
|
- lib/modis/transaction.rb
|
|
79
79
|
- lib/modis/version.rb
|
|
80
80
|
- lib/tasks/spec.rake
|
|
81
|
-
-
|
|
81
|
+
- modis.gemspec
|
|
82
82
|
- spec/attributes_spec.rb
|
|
83
83
|
- spec/errors_spec.rb
|
|
84
84
|
- spec/finders_spec.rb
|