multi_json 1.7.5 → 1.7.6

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ 1.7.6
2
+ -----
3
+ * [Bring back MultiJson::VERSION constant](https://github.com/intridea/multi_json/commit/31b990c2725e6673bf8ce57540fe66b57a751a72)
4
+
1
5
  1.7.5
2
6
  -----
3
7
  * [Fix warning '*' interpreted as argument prefix](https://github.com/intridea/multi_json/commit/b698962c7f64430222a1f06430669706a47aff89)
@@ -8,11 +8,7 @@ module MultiJson
8
8
  defaults :load, :mode => :strict, :symbolize_keys => false
9
9
  defaults :dump, :mode => :compat, :time_format => :ruby
10
10
 
11
- ParseError = if defined?(::Oj::ParseError)
12
- ::Oj::ParseError
13
- else
14
- SyntaxError
15
- end
11
+ ParseError = defined?(::Oj::ParseError) ? ::Oj::ParseError : SyntaxError
16
12
 
17
13
  def load(string, options={})
18
14
  options[:symbol_keys] = options.delete(:symbolize_keys)
@@ -2,7 +2,7 @@ module MultiJson
2
2
  class Version
3
3
  MAJOR = 1 unless defined? MultiJson::Version::MAJOR
4
4
  MINOR = 7 unless defined? MultiJson::Version::MINOR
5
- PATCH = 5 unless defined? MultiJson::Version::PATCH
5
+ PATCH = 6 unless defined? MultiJson::Version::PATCH
6
6
  PRE = nil unless defined? MultiJson::Version::PRE
7
7
 
8
8
  class << self
@@ -15,4 +15,6 @@ module MultiJson
15
15
  end
16
16
 
17
17
  end
18
+
19
+ VERSION = Version.to_s.freeze
18
20
  end
data/spec/helper.rb CHANGED
@@ -6,6 +6,7 @@ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
6
6
  Coveralls::SimpleCov::Formatter
7
7
  ]
8
8
  SimpleCov.start do
9
+ add_filter 'spec'
9
10
  add_filter 'vendor'
10
11
  end
11
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.5
4
+ version: 1.7.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -39,7 +39,7 @@ cert_chain:
39
39
  U0xxV3ZRUnNCbHlwSGZoczZKSnVMbHlaUEdoVTNSL3YKU2YzbFZLcEJDV2dS
40
40
  cEdUdnk0NVhWcEIrNTl5MzNQSm1FdVExUFRFT1l2UXlhbzlVS01BQWFBTi83
41
41
  cVdRdGpsMApobHc9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
42
- date: 2013-06-02 00:00:00.000000000 Z
42
+ date: 2013-06-04 00:00:00.000000000 Z
43
43
  dependencies:
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: bundler
metadata.gz.sig CHANGED
Binary file