fog-json 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +6 -12
- data/CHANGELOG.md +6 -0
- data/fog-json.gemspec +1 -1
- data/lib/fog/json.rb +1 -1
- data/lib/fog/json/version.rb +1 -1
- data/test/json_sanitize_test.rb +3 -3
- metadata +9 -9
- data/LICENSE.txt +0 -22
- data/gemfiles/Gemfile-1.8.7 +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e3d00f347eebccec51b0ecab86f1ab8bd04ee4ac5526a2ebf761bd3ff673219f
|
4
|
+
data.tar.gz: 1f873ce824f0f34c174610291287a4f3cf01ec87c47070aba8f972bc2133f26d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2f488a596645be862ea7eae720c5fe5a5acf754374089611dbb07d1a48772d81a5953feb5dc6b198499bea50cdbd2bbc0245a1e3635ca92f538972114a7f700
|
7
|
+
data.tar.gz: 8a059a619feadb79b1b7e2fdaa50c737059de3d9908b2b4f8b63308cf5108bb0963b4fea653bd33be263ca9f46a53adc6de76810a3e76bfbeff731de9e6d5bce
|
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
fog-json
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.4.3
|
data/.travis.yml
CHANGED
@@ -2,15 +2,9 @@ language: ruby
|
|
2
2
|
|
3
3
|
matrix:
|
4
4
|
include:
|
5
|
-
- rvm:
|
6
|
-
|
7
|
-
- rvm:
|
8
|
-
|
9
|
-
- rvm:
|
10
|
-
|
11
|
-
- rvm: jruby-19mode
|
12
|
-
gemfile: Gemfile
|
13
|
-
- rvm: 2.0.0
|
14
|
-
gemfile: Gemfile
|
15
|
-
- rvm: 2.1.0
|
16
|
-
gemfile: Gemfile
|
5
|
+
- rvm: 2.0
|
6
|
+
- rvm: 2.1
|
7
|
+
- rvm: 2.2
|
8
|
+
- rvm: 2.3
|
9
|
+
- rvm: 2.4
|
10
|
+
- rvm: 2.5
|
data/CHANGELOG.md
CHANGED
data/fog-json.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_dependency "fog-core"
|
22
|
+
spec.add_dependency "fog-core"
|
23
23
|
spec.add_dependency "multi_json", "~> 1.10"
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.5"
|
data/lib/fog/json.rb
CHANGED
data/lib/fog/json/version.rb
CHANGED
data/test/json_sanitize_test.rb
CHANGED
@@ -8,19 +8,19 @@ class TestJSONSanitizing < Minitest::Test
|
|
8
8
|
|
9
9
|
def test_sanitize_with_array
|
10
10
|
@data = [@time]
|
11
|
-
@expected = ["2014-02-14T12:34:
|
11
|
+
@expected = ["2014-02-14T12:34:56+00:00"]
|
12
12
|
assert_equal @expected, Fog::JSON.sanitize(@data)
|
13
13
|
end
|
14
14
|
|
15
15
|
def test_sanitize_with_hash
|
16
16
|
@data = { "key" => @time }
|
17
|
-
@expected = { "key" => "2014-02-14T12:34:
|
17
|
+
@expected = { "key" => "2014-02-14T12:34:56+00:00" }
|
18
18
|
assert_equal @expected, Fog::JSON.sanitize(@data)
|
19
19
|
end
|
20
20
|
|
21
21
|
def test_sanitize_with_time
|
22
22
|
@data = @time
|
23
|
-
@expected = "2014-02-14T12:34:
|
23
|
+
@expected = "2014-02-14T12:34:56+00:00"
|
24
24
|
assert_equal @expected, Fog::JSON.sanitize(@data)
|
25
25
|
end
|
26
26
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wesley Beary (geemus)
|
@@ -10,22 +10,22 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-
|
13
|
+
date: 2018-06-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: fog-core
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- - "
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
21
|
+
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- - "
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '
|
28
|
+
version: '0'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: multi_json
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,17 +93,17 @@ extensions: []
|
|
93
93
|
extra_rdoc_files: []
|
94
94
|
files:
|
95
95
|
- ".gitignore"
|
96
|
+
- ".ruby-gemset"
|
97
|
+
- ".ruby-version"
|
96
98
|
- ".travis.yml"
|
97
99
|
- CHANGELOG.md
|
98
100
|
- CONTRIBUTING.md
|
99
101
|
- CONTRIBUTORS.md
|
100
102
|
- Gemfile
|
101
103
|
- LICENSE.md
|
102
|
-
- LICENSE.txt
|
103
104
|
- README.md
|
104
105
|
- Rakefile
|
105
106
|
- fog-json.gemspec
|
106
|
-
- gemfiles/Gemfile-1.8.7
|
107
107
|
- lib/fog/json.rb
|
108
108
|
- lib/fog/json/version.rb
|
109
109
|
- test/json_decode_test.rb
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
131
|
rubyforge_project:
|
132
|
-
rubygems_version: 2.6
|
132
|
+
rubygems_version: 2.7.6
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
135
|
summary: JSON parsing for fog providers
|
data/LICENSE.txt
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (c) 2014 Wes Beary
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|