dcp 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/exe/dcp +7 -4
  4. data/lib/dcp/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23dd6a8e258c554bc59766ceff29848d032ac0320f8c3912b17dcaa362e04940
4
- data.tar.gz: e8927883293bc27242bcced2eea7bde09bd9f4ab169300211e385ad957673463
3
+ metadata.gz: 443a8aeede841ab51e1599ad08b8fb4e905de9cebc7b1b66caf135f1ef46864f
4
+ data.tar.gz: 0c11715af33f809bad76c6c7d0959b14ed56756982a9d7007e13b07dc5ecfe86
5
5
  SHA512:
6
- metadata.gz: 1722819fefd48d92e3c78f07f22110e6406408e22c2b5c5ef81a960ff1458a3fe0f0c0c8e109748eb49a5460c82005295552af489d4f14adcd25c651b8e1af2a
7
- data.tar.gz: 9414f86794b9adff57dcbbe3edeab186521f04b124e78f99e1e76411b89b58b6c6798ce1292fec7a78cff0d2564fcd7507574b7bc87f4a0e9cee751c2b93ef91
6
+ metadata.gz: 10afb67747d77d9a1fe3f49daa3c6913e31a80df837ae575264070b0631c1c2d62d9cb377721cfd84402369cb9df08bd074379a8540509c75e0417bc2176254d
7
+ data.tar.gz: aaa4de559daf52fa455b14b7b8ea33234c6453708867d641d3818206a1e6d1ebd41ac5ba3115257ba4a5cf147eaf9425416a776619b7e86ccd356eaed704b9c0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dcp (0.1.0)
4
+ dcp (0.1.1)
5
5
  dropbox_api
6
6
  pit
7
7
 
data/exe/dcp CHANGED
@@ -30,10 +30,13 @@ module DCP
30
30
  private
31
31
  def parse_options(argv = ARGV)
32
32
  op = OptionParser.new
33
- self.class.define_method(:usage) do |msg = nil|
34
- puts op.to_s
35
- puts "error: #{msg}" if msg
36
- exit 1
33
+
34
+ self.class.module_eval do
35
+ define_method(:usage) do |msg = nil|
36
+ puts op.to_s
37
+ puts "error: #{msg}" if msg
38
+ exit 1
39
+ end
37
40
  end
38
41
 
39
42
  opts = {
@@ -1,3 +1,3 @@
1
1
  module DCP
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TADA Tadashi