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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f8cc5fdd636863ee5536adec1cd6f292211aa48
4
- data.tar.gz: 34dd2cf27f47b9e7232e8d2121d2f6c75452772b
3
+ metadata.gz: b3cbd9a6b5691a8b5e4c3d61b27340cb089af50e
4
+ data.tar.gz: a10237a66bedc68ef7dc1f0b7b7ad2ce5d0511ae
5
5
  SHA512:
6
- metadata.gz: 277b6358f86280d3a45efdfa4586281c4c617638a166952c22b080c944bc2def86604a293709fb6c7d3766c368b8c4b2379d1e1244139e91b8713a18bde655b4
7
- data.tar.gz: cafd9b6a1106ac04ce8c73a48a30e8a2133d42d01dad7bf13b1b5984726c2d30ef4a8b916ff74c4cb170c12ecaafb28e6c6dbad3b55360c78b7dd4f7621ec189
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.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 = `git ls-files -z`.split("\x0")
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.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-05-20 00:00:00.000000000 Z
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.4.5.1
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
@@ -1,10 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- *.gem
data/.travis.yml DELETED
@@ -1,12 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.0.0
5
- - 2.1.0
6
- - 2.2.0
7
- - 2.2.3
8
- - 2.3.0
9
- - jruby-9.0.5.0
10
- notifications:
11
- irc:
12
- - "irc.freenode.net#sensu"
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in sensu-json.gemspec
4
- gemspec
data/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task :default => :spec
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
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here
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