sensu-json 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/sensu-json.gemspec +2 -2
- metadata +4 -13
- data/.gitignore +0 -10
- data/.travis.yml +0 -12
- data/Gemfile +0 -4
- data/Rakefile +0 -6
- data/bin/console +0 -14
- data/bin/setup +0 -7
- data/spec/json_spec.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3cbd9a6b5691a8b5e4c3d61b27340cb089af50e
|
4
|
+
data.tar.gz: a10237a66bedc68ef7dc1f0b7b7ad2ce5d0511ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce1245baae0c9ea51ab2d1358152c6464d8c852148b791a939c248b621b52a92e2c645e989be7be0fede3b218c9df538e35329105078bb40c9ad84d8179d61ec
|
7
|
+
data.tar.gz: f1bd70af3ce6ed319ed47fce1a1ed8897909958cfef978a05e9f8f2b01aacd8632cf5049b5c63bc1e989814c5e06498b0ae1c5360bb900109a1bdc7a4c9309ad
|
data/sensu-json.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "sensu-json"
|
5
|
-
spec.version = "2.0.
|
5
|
+
spec.version = "2.0.1"
|
6
6
|
spec.platform = RUBY_PLATFORM =~ /java/ ? Gem::Platform::JAVA : Gem::Platform::RUBY
|
7
7
|
spec.authors = ["Sean Porter"]
|
8
8
|
spec.email = ["portertech@gmail.com"]
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.homepage = "https://github.com/sensu/sensu-json"
|
12
12
|
spec.license = "MIT"
|
13
13
|
|
14
|
-
spec.files =
|
14
|
+
spec.files = Dir.glob("lib/**/*") + %w[sensu-json.gemspec README.md LICENSE.txt]
|
15
15
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
16
16
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
17
17
|
spec.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Porter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|
@@ -73,20 +73,13 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
-
- ".gitignore"
|
77
|
-
- ".travis.yml"
|
78
|
-
- Gemfile
|
79
76
|
- LICENSE.txt
|
80
77
|
- README.md
|
81
|
-
- Rakefile
|
82
|
-
- bin/console
|
83
|
-
- bin/setup
|
84
78
|
- lib/sensu/json.rb
|
85
79
|
- lib/sensu/json/jrjackson.rb
|
86
80
|
- lib/sensu/json/oj.rb
|
87
81
|
- lib/sensu/json/parse_error.rb
|
88
82
|
- sensu-json.gemspec
|
89
|
-
- spec/json_spec.rb
|
90
83
|
homepage: https://github.com/sensu/sensu-json
|
91
84
|
licenses:
|
92
85
|
- MIT
|
@@ -107,10 +100,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
100
|
version: '0'
|
108
101
|
requirements: []
|
109
102
|
rubyforge_project:
|
110
|
-
rubygems_version: 2.
|
103
|
+
rubygems_version: 2.6.3
|
111
104
|
signing_key:
|
112
105
|
specification_version: 4
|
113
106
|
summary: The Sensu JSON parser abstraction library
|
114
|
-
test_files:
|
115
|
-
- spec/json_spec.rb
|
116
|
-
has_rdoc:
|
107
|
+
test_files: []
|
data/.gitignore
DELETED
data/.travis.yml
DELETED
data/Gemfile
DELETED
data/Rakefile
DELETED
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "sensu/json"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|
data/bin/setup
DELETED
data/spec/json_spec.rb
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
require "sensu/json"
|
2
|
-
|
3
|
-
describe "Sensu::JSON" do
|
4
|
-
it "can load a parser for the current platform" do
|
5
|
-
Sensu::JSON.setup!
|
6
|
-
hash = Sensu::JSON.load('{"foo":"bar"}')
|
7
|
-
expect(hash).to eq({:foo => "bar"})
|
8
|
-
string = Sensu::JSON.dump({:baz => "qux"})
|
9
|
-
expect(string).to eq('{"baz":"qux"}')
|
10
|
-
end
|
11
|
-
end
|