sensu-json 2.0.0-java → 2.0.1-java
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/sensu-json.gemspec +2 -2
- metadata +3 -11
- 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: ab2de0dcdf69ce08f8aee023d266cd7e445189ba
|
4
|
+
data.tar.gz: 78a362a6216ef8ed9f4771dfba57a6bb9aae5027
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0ce78d2dbadc3a330ea49bc032682b207c19caf5ee1d0fc231f0cee9152b5b5baad5edd8105b9736b788127bfbd120eb99535186ef6398ab28dafdf8a9a22dd
|
7
|
+
data.tar.gz: 745bf35b6480be35550247fd9ea81a2e030d9b14c0eff403d89840aa7690928eed06d88ffb631c22a5a8ced7925f95034ce1e001fcd4ec1e088c7328306feac8
|
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: java
|
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-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jrjackson
|
@@ -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
|
@@ -111,5 +104,4 @@ rubygems_version: 2.4.8
|
|
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
|
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
|