print_ruby_info 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: 0ea0869aeaed35f196e27e66107610f68c9d7328
4
- data.tar.gz: b9948e3bc95cd0a9d89faae43fb4db711a0af694
3
+ metadata.gz: 2e4c8cbfc508f73003c111e862d2cf4009181c74
4
+ data.tar.gz: 15826112b5f38a60663912eb49c2a8facc9967aa
5
5
  SHA512:
6
- metadata.gz: 9c24d733ff0f251cc985713b547225e14f3c27b32c73f297ad95b3b09fc3dcab36d355f3393595cbfc4ebe2c1fcab44a70bd071a7e5bb4e2838f74e4ac6f9824
7
- data.tar.gz: 0cb3bafe6f8b6a178767790e29492deba8cd80cae26028c4fdfe2b7a4ba8df659c32a6cea1461802a1150083424833051866f80518c68f76ca278e41dbce286b
6
+ metadata.gz: c86855499b73e823bf7e162e2880d20783371d0d2e755467af545702aa3d8d3636f57ec405a8589a571ed355608b3d9ec7257ec466f3d5a1262b9fe88102b351
7
+ data.tar.gz: c4767e675c780c67ca3a905e6fe702860497746996fce6a470ee52f35ae3b2ddd336ca338f799e580f430401b52980f07ca01651d213ec07b67df6bb0d0df6e2
data/bin/print_ruby_info CHANGED
@@ -1,14 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- # Trap ^C
4
- Signal.trap("INT") {
5
- puts "\nCtrl-C detected. Exiting..."
6
- sleep 1
7
- exit
8
- }
9
-
10
- $:.unshift(File.expand_path("../../lib", __FILE__))
11
- require "print_ruby_info"
12
- require "print_ruby_info/cli"
13
-
14
- PrintRubyInfo::CLI.start(ARGV)
3
+ puts "RUBY_VERSION #{RUBY_VERSION}"
4
+ puts File.expand_path("../../../bin/print_ruby_info", __FILE__)
5
+ puts "LOAD_PATH:"
6
+ puts $:
@@ -1,3 +1,3 @@
1
1
  module PrintRubyInfo
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: print_ruby_info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen