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
relevance-castronaut-0.4.3 vendor/json/install.rb
relevance-castronaut-0.4.4 vendor/json/install.rb
relevance-castronaut-0.4.5 vendor/json/install.rb
relevance-castronaut-0.4.6 vendor/json/install.rb
relevance-castronaut-0.5.0 vendor/json/install.rb
relevance-castronaut-0.5.1 vendor/json/install.rb
relevance-castronaut-0.5.2 vendor/json/install.rb
relevance-castronaut-0.5.3 vendor/json/install.rb
relevance-castronaut-0.5.4 vendor/json/install.rb
relevance-castronaut-0.6.0 vendor/json/install.rb
relevance-castronaut-0.6.1 vendor/json/install.rb
relevance-castronaut-0.7.4 vendor/json/install.rb
relevance-castronaut-0.7.5 vendor/json/install.rb
depengine-0.0.31 etc/isolate/jruby-1.8/gems/json_pure-1.4.3/install.rb
depengine-0.0.31 etc/isolate/ruby-1.8/gems/json_pure-1.4.3/install.rb
depengine-0.0.30 etc/isolate/ruby-1.8/gems/json_pure-1.4.3/install.rb
depengine-0.0.30 etc/isolate/jruby-1.8/gems/json_pure-1.4.3/install.rb
depengine-0.0.29 etc/isolate/jruby-1.8/gems/json_pure-1.4.3/install.rb
depengine-0.0.29 etc/isolate/ruby-1.8/gems/json_pure-1.4.3/install.rb
depengine-0.0.28 etc/isolate/ruby-1.8/gems/json_pure-1.4.3/install.rb