multi_json 1.3.4 → 1.3.5

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.
data/README.md CHANGED
@@ -36,7 +36,7 @@ MultiJSON falls back to [OkJson][], a simple, vendorable JSON parser.
36
36
  * [NSJSONSerialization](https://developer.apple.com/library/ios/#documentation/Foundation/Reference/NSJSONSerialization_Class/Reference/Reference.html) Wrapper for Apple's NSJSONSerialization in the Cocoa Framework (MacRuby only)
37
37
  * [OkJson][okjson] A simple, vendorable JSON parser
38
38
 
39
- ## <a name="contributing"></a>Contributing
39
+ ## Contributing
40
40
  In the spirit of [free software][free-sw], **everyone** is encouraged to help
41
41
  improve this project.
42
42
 
@@ -57,30 +57,33 @@ Here are some ways *you* can contribute:
57
57
 
58
58
  [issues]: https://github.com/intridea/multi_json/issues
59
59
 
60
- ## <a name="issues"></a>Submitting an Issue
60
+ ## Submitting an Issue
61
61
  We use the [GitHub issue tracker][issues] to track bugs and features. Before
62
62
  submitting a bug report or feature request, check to make sure it hasn't
63
- already been submitted. You can indicate support for an existing issuse by
64
- voting it up. When submitting a bug report, please include a [Gist][] that
65
- includes a stack trace and any details that may be necessary to reproduce the
66
- bug, including your gem version, Ruby version, and operating system. Ideally, a
67
- bug report should include a pull request with failing specs.
63
+ already been submitted. When submitting a bug report, please include a [Gist][]
64
+ that includes a stack trace and any details that may be necessary to reproduce
65
+ the bug, including your gem version, Ruby version, and operating system.
66
+ Ideally, a bug report should include a pull request with failing specs.
68
67
 
69
68
  [gist]: https://gist.github.com/
70
69
 
71
- ## <a name="pulls"></a>Submitting a Pull Request
72
- 1. Fork the project.
73
- 2. Create a topic branch.
74
- 3. Implement your feature or bug fix.
75
- 4. Add specs for your feature or bug fix.
76
- 5. Run `bundle exec rake spec`. If your changes are not 100% covered, go back
77
- to step 4.
78
- 6. Commit and push your changes.
79
- 7. Submit a pull request. Please do not include changes to the gemspec,
80
- version, or history file. (If you want to create your own version for some
81
- reason, please do so in a separate commit.)
82
-
83
- ## <a name="versions"></a>Supported Ruby Versions
70
+ ## Submitting a Pull Request
71
+ 1. [Fork the repository.][fork]
72
+ 2. [Create a topic branch.][branch]
73
+ 3. Add specs for your unimplemented feature or bug fix.
74
+ 4. Run `bundle exec rake spec`. If your specs pass, return to step 3.
75
+ 5. Implement your feature or bug fix.
76
+ 6. Run `bundle exec rake spec`. If your specs fail, return to step 5.
77
+ 7. Run `open coverage/index.html`. If your changes are not completely covered
78
+ by your tests, return to step 3.
79
+ 8. Add, commit, and push your changes.
80
+ 9. [Submit a pull request.][pr]
81
+
82
+ [fork]: http://help.github.com/fork-a-repo/
83
+ [branch]: http://learn.github.com/p/branching.html
84
+ [pr]: http://help.github.com/send-pull-requests/
85
+
86
+ ## Supported Ruby Versions
84
87
  This library aims to support and is [tested against][travis] the following Ruby
85
88
  implementations:
86
89
 
@@ -109,7 +112,7 @@ implementation, you will be personally responsible for providing patches in a
109
112
  timely fashion. If critical issues for a particular implementation exist at the
110
113
  time of a major release, support for that Ruby version may be dropped.
111
114
 
112
- ## <a name="copyright"></a>Copyright
115
+ ## Copyright
113
116
  Copyright (c) 2010 Michael Bleigh, Josh Kalderimis, Erik Michaels-Ober, and Intridea, Inc.
114
117
  See [LICENSE][] for details.
115
118
 
data/Rakefile CHANGED
@@ -1,10 +1,5 @@
1
- #!/usr/bin/env rake
2
- begin
3
- require 'bundler'
4
- Bundler::GemHelper.install_tasks
5
- rescue LoadError => e
6
- warn "[WARNING]: It is recommended that you use bundler during development: gem install bundler"
7
- end
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
8
3
 
9
4
  require 'rspec/core/rake_task'
10
5
  desc "Run all examples"
@@ -13,6 +13,7 @@ module MultiJson
13
13
  end
14
14
 
15
15
  def self.dump(object, options={}) #:nodoc:
16
+ options.merge!(:indent => 2) if options[:pretty] || options['pretty']
16
17
  ::Oj.dump(object, options)
17
18
  end
18
19
  end
@@ -1,3 +1,3 @@
1
1
  module MultiJson
2
- VERSION = "1.3.4"
2
+ VERSION = "1.3.5" unless defined?(MultiJson::VERSION)
3
3
  end
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.3.4
4
+ version: 1.3.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-04-29 00:00:00.000000000 Z
14
+ date: 2012-05-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rake
@@ -123,9 +123,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
123
  - - ! '>='
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
- segments:
127
- - 0
128
- hash: 3342711038323069490
129
126
  required_rubygems_version: !ruby/object:Gem::Requirement
130
127
  none: false
131
128
  requirements:
@@ -142,3 +139,4 @@ test_files:
142
139
  - spec/adapter_shared_example.rb
143
140
  - spec/helper.rb
144
141
  - spec/multi_json_spec.rb
142
+ has_rdoc: