populate-me 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/populate_me/s3_attachment.rb +1 -1
- data/lib/populate_me/version.rb +1 -1
- data/populate-me.gemspec +2 -2
- data/test/test_document_typecasting.rb +1 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a4e1b29c84ee80302c1e0dc749c0de5926191c1
|
4
|
+
data.tar.gz: a600a41a3590d08d0a09f429fd65bded993f12cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22131a127100872095a3c1c5f8188f75a18bb5913c6d0611d4ad897a0013edaf09a0e1b9463384025d70e675933ca511b9f4135d4d4ce6f8c34123ae4db63aa0
|
7
|
+
data.tar.gz: aac7ae50254aa787daaf7d83c10955a251483823cfc9f5f9d512777ecd95d2ba1ac134776cb7697c5b9b2d9a71451769e3faeaf14550af71b0f2f49de945da42
|
data/lib/populate_me/version.rb
CHANGED
data/populate-me.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.require_paths = ['lib']
|
19
19
|
|
20
20
|
s.add_dependency 'web-utils', '~> 0'
|
21
|
-
s.add_dependency 'sinatra', '~>
|
21
|
+
s.add_dependency 'sinatra', '~> 2'
|
22
22
|
s.add_dependency 'json', '~> 2.1'
|
23
23
|
|
24
24
|
s.add_development_dependency 'bundler', '~> 1.13'
|
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.add_development_dependency 'rack-cerberus', '~> 1.0'
|
28
28
|
s.add_development_dependency 'mongo', '~> 2.0'
|
29
29
|
s.add_development_dependency 'rack-grid-serve', '~> 0.0.8'
|
30
|
-
s.add_development_dependency 'aws-sdk', '~>
|
30
|
+
s.add_development_dependency 'aws-sdk-s3', '~> 1'
|
31
31
|
s.add_development_dependency 'racksh', '~> 1.0'
|
32
32
|
s.add_development_dependency 'rake', '~> 10.1'
|
33
33
|
end
|
@@ -74,9 +74,8 @@ describe PopulateMe::Document, 'Typecasting' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
describe "Value is a float with irregular decimals for a price" do
|
77
|
-
it "
|
77
|
+
it "Assumes 2 digits after comma" do
|
78
78
|
assert_equal 4250, subject.typecast(:salary,'42.5')
|
79
|
-
assert_equal 4257, subject.typecast(:salary,'42.567')
|
80
79
|
end
|
81
80
|
end
|
82
81
|
describe "Value is prefixed or suffixed" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: populate-me
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mickael Riga
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: web-utils
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: json
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,19 +137,19 @@ dependencies:
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 0.0.8
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name: aws-sdk
|
140
|
+
name: aws-sdk-s3
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
145
|
+
version: '1'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
152
|
+
version: '1'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: racksh
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|