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
poolparty-1.4.1 vendor/gems/json/install.rb
crazy_ivan-0.3.3 lib/crazy_ivan/vendor/json-1.1.7/install.rb
crazy_ivan-0.3.2 vendor/json-1.1.7/install.rb
middleman-0.12.0.pre lib/middleman/vendor/gems/gems/json_pure-1.2.0/install.rb
middleman-0.12.0.pre lib/middleman/vendor/gems/gems/json-1.2.0/install.rb
merb-core-1.1.0.pre spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/install.rb
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/install.rb
middleman-0.10.17 vendor/gems/gems/json-1.2.0/install.rb
middleman-0.10.16 vendor/gems/gems/json-1.2.0/install.rb
middleman-0.10.15 vendor/gems/gems/json-1.2.0/install.rb
middleman-0.10.14 vendor/gems/gems/json-1.2.0/install.rb
json_pure-1.2.0 install.rb
json-1.2.0 install.rb
poolparty-1.4.0 vendor/gems/json/install.rb
scout-4.0.2 vendor/json_pure/install.rb
scout-4.0.1 vendor/json_pure/install.rb
scout-4.0.0 vendor/json_pure/install.rb
json_pure-1.1.9 install.rb
json_pure-1.1.8 install.rb
json-1.1.9 install.rb