jsonip 1.0.2 → 1.0.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
  SHA1:
3
- metadata.gz: 0fd9654343b66667b9164da8fbc4058690a5df37
4
- data.tar.gz: e136420c09a32b296be1e0b8d58103f9a057d242
3
+ metadata.gz: 331fda6085f2eff687cd452eda521c77695f6a77
4
+ data.tar.gz: 937bb0001a58ac0cea846d349f097eb14873f85c
5
5
  SHA512:
6
- metadata.gz: e90f188dbe07d4ad53fc5a797e9d66aa0af7c8d8988b33be9a68cf7bb42e2b419bc041fabce2f5b8b267083c552dfc4bd382ed8c92218f357f8b89ad6abc868b
7
- data.tar.gz: 4896cf9e834bbb0347b49d1ce83df5ff9f68fd0bcd98a98b3afa0ff800689323c91a23974913aa601fe2e38df787ec634b1f53766ebc5fd3ec529e68cf1d41b9
6
+ metadata.gz: a748b9aa55e45c057f5d4eaff9dccec81722304307fb33013062715f2e17393c160f7897e220ffceeaed5f2da7645351e82112c200197adc1a61027c0971ef6f
7
+ data.tar.gz: d4a029c861cd48ba30bf6637fe8230ee6e95055188f9b6636761bb8079a5e4bbd2f2bf7ea303e66da51437fdb16ba65e0982ecd838413faed0d622cd42eb1200
data/bin/myip CHANGED
@@ -2,4 +2,6 @@
2
2
 
3
3
  require 'jsonip'
4
4
 
5
+ ARGV << "copy" if ARGV.empty?
6
+
5
7
  Jsonip::CLI.start(ARGV)
@@ -3,10 +3,6 @@ require 'clipboard'
3
3
 
4
4
  module Jsonip
5
5
  class CLI < Thor
6
- default_task :copy
7
-
8
- map '-S' => 'script'
9
-
10
6
  class_option :quiet, type: :boolean, aliases: [ '-q', '-s', '--silent' ], desc: 'Prints minimal output. Useful for shell scripts and pipes'
11
7
 
12
8
  desc "script", "Like print --quiet. Useful for shell scripts and pipes."
@@ -1,3 +1,3 @@
1
1
  module Jsonip
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonip
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jorge Calás Lozano
@@ -126,7 +126,6 @@ description: Copy your IP to clipboard
126
126
  email:
127
127
  - calas@qvitta.net
128
128
  executables:
129
- - jsonip
130
129
  - myip
131
130
  extensions: []
132
131
  extra_rdoc_files: []
@@ -138,7 +137,6 @@ files:
138
137
  - LICENSE.txt
139
138
  - README.md
140
139
  - Rakefile
141
- - bin/jsonip
142
140
  - bin/myip
143
141
  - jsonip.gemspec
144
142
  - lib/jsonip.rb
data/bin/jsonip DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'jsonip'
4
-
5
- Jsonip::CLI.start(ARGV)