Skip to content

Commit

Permalink
Remove final references to json_pure
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Nov 5, 2024
1 parent fa05b14 commit 5672fee
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 74 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

gemspec name: 'json'
gemspec

group :development do
gem "ruby_memcheck" if RUBY_PLATFORM =~ /linux/i
Expand Down
1 change: 0 additions & 1 deletion README-json-jruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ JSON-JRuby

JSON-JRuby is a port of Florian Frank's native
[`json` library](http://json.rubyforge.org/) to JRuby.
It aims to be a perfect drop-in replacement for `json_pure`.


Development version
Expand Down
24 changes: 0 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ endpoint.

## Installation

It's recommended to use the extension variant of JSON, because it's faster than
the pure ruby variant. If you cannot build it on your system, you can settle
for the latter.

Install the gem and add to the application's Gemfile by executing:

$ bundle add json
Expand All @@ -33,12 +29,6 @@ If bundler is not being used to manage dependencies, install the gem by executin

$ gem install json


There is also a pure ruby json only variant of the gem, that can be installed
with:

$ gem install json_pure

## Usage

To use JSON you can
Expand All @@ -47,20 +37,6 @@ To use JSON you can
require 'json'
```

to load the installed variant (either the extension `'json'` or the pure
variant `'json_pure'`). If you have installed the extension variant, you can
pick either the extension variant or the pure variant by typing

```ruby
require 'json/ext'
```

or

```ruby
require 'json/pure'
```

Now you can parse a JSON document into a ruby data structure by calling

```ruby
Expand Down
4 changes: 1 addition & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,11 @@ else
desc "Create the gem packages"
task :package do
sh "gem build json.gemspec"
sh "gem build json_pure.gemspec"
mkdir_p 'pkg'
mv "json-#{PKG_VERSION}.gem", 'pkg'
mv "json_pure-#{PKG_VERSION}.gem", 'pkg'
end

desc "Build all gems and archives for a new release of json and json_pure."
desc "Build all gems and archives for a new release of json"
task :build => [ :clean, :package ]

task :release => :build
Expand Down
41 changes: 0 additions & 41 deletions json_pure.gemspec

This file was deleted.

4 changes: 0 additions & 4 deletions lib/json/pure.rb

This file was deleted.

0 comments on commit 5672fee

Please sign in to comment.