ruby-install_install 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96abba4d0df5ba091d43921bd46b97d115694dc1bc84a247a6303f30b6fa90ba
4
- data.tar.gz: 1b8476213dc83223e12e19e6e32d296c056a4f693686ae7efc8a5329756b1e8a
3
+ metadata.gz: cbdfb12ebc00a5455b6d6ad908fecfdbbec30f975dbaa078954f8358a6807773
4
+ data.tar.gz: addb4f4b661854be41a0c5d6371dfbb31b2e7b55551e416e4293d7346d626b27
5
5
  SHA512:
6
- metadata.gz: 07d252a461ed860ab1fffd849cbe14093ee640cffba414f2d2678a7494cf598c71b40ce4c3e36d0b61a3d88d928b72ccce5433fc4e3dcaebfa758678c5982aa3
7
- data.tar.gz: 7e86e58ad34d47486d69d7a941ca9956a23ebe0d88bd51f935398c27852f54bdfbf106e49ae0232dd16db6754e1b6946875623402017023dc39859910472c784
6
+ metadata.gz: 7a933d036f8d8da38b7a2dcf1ce101f133aa8a5104a5545c7159694d1a6a1069f9d023d951e0ba96eff015d2d9b8a5c02f865a31d4e5c98c8fcdb8df78462831
7
+ data.tar.gz: 9e941bb4d5992ba100956a7b0bf2d1c465306bef4b970b6fa214ba652eca471028a1d2b86679999c91b21d7709ccb6021ff2f659db35c8541be06cc5e7b49f60
data/README.md CHANGED
@@ -9,10 +9,8 @@ ruby-install installer
9
9
  ## Usage
10
10
  ```
11
11
  $ ruby-install_install
12
-
13
12
  Download from https://github.com/postmodern/ruby-install/archive/v0.7.0.tar.gz
14
- cd /tmp/ruby-install-install/ruby-install-0.7.0 && sudo make install
15
- [sudo] password for s3fxn:
13
+ cd /tmp/ruby-install_install/ruby-install-0.7.0 && sudo make install && rm -Rf /tmp/ruby-install_install
16
14
  for dir in `find bin share -type d`; do mkdir -p /usr/local/$dir; done
17
15
  for file in `find bin share -type f`; do cp $file /usr/local/$file; done
18
16
  mkdir -p /usr/local/share/doc/ruby-install-0.7.0
@@ -7,7 +7,8 @@ require 'zlib'
7
7
  version = ARGV[0] || '0.7.0'
8
8
  uri = "https://github.com/postmodern/ruby-install/archive/v#{version}.tar.gz"
9
9
  src_prefix = '/tmp/ruby-install_install'
10
- cmd = "cd #{src_prefix}/ruby-install-#{version} && sudo make install && rm -Rf #{src_prefix}"
10
+ cmd = "cd #{src_prefix}/ruby-install-#{version} && sudo make install && rm -Rf #{src_prefix};\\\n" +
11
+ "test -f /etc/redhat-release && (rpm --quiet -q bzip2 || sudo yum -y install bzip2)"
11
12
 
12
13
  puts "Download from #{uri}"
13
14
  Minitar.unpack(Zlib::GzipReader.new(open(uri,"rb")), src_prefix)
@@ -1,5 +1,5 @@
1
1
  module Ruby
2
2
  module InstallInstall
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-install_install
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - s3fxn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-03 00:00:00.000000000 Z
11
+ date: 2018-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitar