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
benschwarz-smoke-0.5.2 vendor/json-1.1.3/install.rb
benschwarz-smoke-0.5.3 vendor/json-1.1.3/install.rb
benschwarz-smoke-0.5.4 vendor/json-1.1.3/install.rb
benschwarz-smoke-0.5.5 vendor/json-1.1.3/install.rb
benschwarz-smoke-0.5.6 vendor/json-1.1.3/install.rb
benschwarz-smoke-0.5.7 vendor/gems/gems/json-1.1.3/install.rb
edward-crazy_ivan-0.2.0 vendor/json-1.1.7/install.rb
edward-crazy_ivan-0.2.1 vendor/json-1.1.7/install.rb
edward-crazy_ivan-0.2.2 vendor/json-1.1.7/install.rb
edward-crazy_ivan-0.3.0 vendor/json-1.1.7/install.rb
edward-crazy_ivan-0.3.1 vendor/json-1.1.7/install.rb
fairchild-poolparty-1.3.17 vendor/gems/json/install.rb
fairchild-poolparty-1.3.5 vendor/gems/json/install.rb
genki-json-1.1.4.1 install.rb
masover-castronaut-0.4.4.4 vendor/json/install.rb
masover-castronaut-0.4.4.5 vendor/json/install.rb
masover-castronaut-0.5.0.1 vendor/json/install.rb
p8-castronaut-0.6.1.1 vendor/json/install.rb
relevance-castronaut-0.4.1 vendor/json/install.rb
relevance-castronaut-0.4.2 vendor/json/install.rb