diter 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/bin/diter +1 -1
  3. data/diter.gemspec +1 -1
  4. data/lib/diter.rb +1 -0
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd2031d5601d38b8ebe603946386068829d63add
4
- data.tar.gz: 08fb06c2ebc08c37ff46e2eb5cd2eb8649ed973b
3
+ metadata.gz: 32f5194dbd92a4f0455a122b7d26dbae4fae3d4f
4
+ data.tar.gz: 20708f0e49773f0ea8dbf769ebcb78850c8a8ab0
5
5
  SHA512:
6
- metadata.gz: b81af6d3cdd5c12b8d7e9c21aa3a12f9aa11de022c3a4f897c7ddf944757d8d531005672f9f802ded5a90459e426aee7a29c7b534ff5bae5d3a3bb1d79d994d6
7
- data.tar.gz: 145ab12dee8798b6bffd23b0e2b1bb5c65af8846a6571ed732808d6af2f34605c36b2d09cdeeb98e9b13fc01bf77a1852cead2364f22f5afa46fe8ef640d696b
6
+ metadata.gz: b1484c8a3bbf56cd1fcb08578aa348bb6ac811c803eb9436582b9944b056c081c4d6a88a05cef9c4d2a30c665d727a24481cd2ef4403061057d2bdef92602df6
7
+ data.tar.gz: 2c8e03b8237eee47c4c933172fea171062e6c65a8a277a9c7bc0921385e2d41d99705b54807255936131c755352b3feebc15b0ab8a9c513ebfdd73ff2eda9911
data/bin/diter CHANGED
@@ -40,7 +40,7 @@ class Diter
40
40
  end
41
41
  end
42
42
 
43
- if __FILE__ == $0
43
+ unless $DITER_REQUIRED # $DITER_REQUIRED is set to true in lib/diter.rb
44
44
  require 'optparse'
45
45
 
46
46
  def execute(program, *args)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'diter'
5
- spec.version = '0.1.0'
5
+ spec.version = '0.1.1'
6
6
  spec.authors = ['Hikaru Ojima']
7
7
  spec.email = ['ojima.h@gmail.com']
8
8
 
@@ -1 +1,2 @@
1
+ $DITER_REQUIRED = true
1
2
  load File.expand_path('../../bin/diter', __FILE__)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diter
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
  - Hikaru Ojima