Skip to content

Commit

Permalink
Extract utils out of this library into json-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
flori committed Sep 12, 2011
1 parent ee3268d commit f729d47
Show file tree
Hide file tree
Showing 22 changed files with 97 additions and 3,337 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ bundler_args: --binstubs

# Specify which ruby versions you wish to run your tests on, each version will be used
rvm:
- 1.8.6
- 1.8.7
- 1.9.2
- 1.9.3
Expand Down
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2011-09-12 (1.6.0)
* Extract utilities (prettifier and GUI-editor) in its own gem json-utils.
* Split json/add/core into different files for classes to be serialised.
2011-08-31 (1.5.4)
* Fix memory leak when used from multiple JRuby. (Patch by
jfirebaugh@github).
Expand Down
7 changes: 0 additions & 7 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@ if defined?(Gem) and defined?(Gem::PackageTask)
s.add_development_dependency 'bullshit'
s.add_development_dependency 'sdoc'
s.add_development_dependency 'rake', '~>0.9.2'
s.add_dependency 'spruz', '~>0.2.8'

s.bindir = "bin"
s.executables = [ "edit_json.rb", "prettify_json.rb" ]

s.extra_rdoc_files << 'README.rdoc'
s.rdoc_options <<
Expand Down Expand Up @@ -141,9 +137,6 @@ if defined?(Gem) and defined?(Gem::PackageTask)
s.add_development_dependency 'bullshit'
s.add_development_dependency 'sdoc'

s.bindir = "bin"
s.executables = [ "edit_json.rb", "prettify_json.rb" ]

s.extra_rdoc_files << 'README.rdoc'
s.rdoc_options <<
'--title' << 'JSON implemention for Ruby' << '--main' << 'README.rdoc'
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.4
1.6.0
9 changes: 0 additions & 9 deletions bin/edit_json.rb

This file was deleted.

48 changes: 0 additions & 48 deletions bin/prettify_json.rb

This file was deleted.

9 changes: 1 addition & 8 deletions install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,14 @@

include Config

bindir = CONFIG["bindir"]
cd 'bin' do
filename = 'edit_json.rb'
#install(filename, bindir)
end
sitelibdir = CONFIG["sitelibdir"]
cd 'lib' do
install('json.rb', sitelibdir)
mkdir_p File.join(sitelibdir, 'json')
for file in Dir['json/**/*.{rb,xpm}']
for file in Dir['json/**/*}']
d = File.join(sitelibdir, file)
mkdir_p File.dirname(d)
install(file, d)
end
install(File.join('json', 'editor.rb'), File.join(sitelibdir,'json'))
install(File.join('json', 'json.xpm'), File.join(sitelibdir,'json'))
end
warn " *** Installed PURE ruby library."
Loading

0 comments on commit f729d47

Please sign in to comment.