Sha256: 9e9bdcf4758a4675cc8f58a407c8dc572fbe88949e4ec395a08877077ec7dd31

Contents?: true

Size: 641 Bytes

Versions: 487

Compression:

Stored size: 641 Bytes

Contents

#!/usr/bin/env ruby

require 'rbconfig'
require 'fileutils'
include FileUtils::Verbose

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}']
    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."

Version data entries

487 entries across 443 versions & 32 rubygems

Version Path
json-1.1.7 install.rb
json-1.0.0 install.rb
json-1.0.3 install.rb
json-1.1.0 install.rb
json-1.0.4 install.rb
json-1.0.1 install.rb
json-1.0.2 install.rb
json-1.1.3 install.rb
json-1.1.2 install.rb
json-1.1.4 install.rb
json-1.1.1 install.rb
json-1.1.5-x86-linux install.rb
json-1.1.6 install.rb
json-1.1.5 install.rb
json_pure-1.0.4 install.rb
json_pure-1.0.1 install.rb
json_pure-1.1.0 install.rb
json_pure-1.0.0 install.rb
json_pure-1.0.3 install.rb
json_pure-1.0.2 install.rb