inch 0.1.2 → 0.1.3

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/inch +8 -14
  3. data/inch.gemspec +1 -1
  4. data/lib/inch/version.rb +1 -1
  5. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac5ffa0638f44fe70c196dd422392a913745cc95
4
- data.tar.gz: 23f1ce2ebdcd812be31f6bb530406c81518b2cbf
3
+ metadata.gz: ba6f65c0ae25dc579fbdef3eebccf8ada06f3d68
4
+ data.tar.gz: 8485e6393a208e59aa9d961ec67117bd657b6ba8
5
5
  SHA512:
6
- metadata.gz: 63f0021f750e0cfe86042fc54d668ccaccdee94cf240f8f39670ab5707f335bce7dca7798bb33f47e870b83c983c682c66590c975fbff2df34f09b86a1afb559
7
- data.tar.gz: 80c5d8393b89fc3296f1f43873d30ac6069ce144b8369042d8a76f0f8b8630d570afe6bd5cb0d91fec23287173e9fe16f12ff551219449703f276aab12c1129a
6
+ metadata.gz: 0f4ceeb144048f28a6ed9ca7f889be809a16a49c64e2ab7d572ecd59dee5b0442294c842d6da17adcd2ffe57c24f45ba4dbd3122fc65f53c3784d21a8c070899
7
+ data.tar.gz: 7ed146606d3c0604cd0c574d8120d960c1ed1982039e97b51e423192341d5f5ff8a60d261375ceb1576ae272f9ce0d754ea15de3af8c5510b8660c68e6a6b1d9
data/bin/inch CHANGED
@@ -1,23 +1,17 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'bundler'
4
- begin
5
- Bundler.require
6
- rescue Bundler::GemfileNotFound
7
- ensure
8
- path = __FILE__
9
- while File.symlink?(path)
10
- path = File.expand_path(File.readlink(path), File.dirname(path))
11
- end
12
- $:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))
13
-
14
- require 'inch'
15
- end
16
-
17
3
  # hit Control + C to stop
18
4
  Signal.trap("INT") do
19
5
  warn " cancelled by user (INT)"
20
6
  exit 1
21
7
  end
22
8
 
9
+ path = __FILE__
10
+ while File.symlink?(path)
11
+ path = File.expand_path(File.readlink(path), File.dirname(path))
12
+ end
13
+ $:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))
14
+
15
+ require 'inch'
16
+
23
17
  Inch::CLI::CommandParser.run(*ARGV)
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["rf@bamaru.de"]
11
11
  spec.summary = %q{Documentation measurement tool for Ruby}
12
12
  spec.description = %q{Documentation measurement tool for Ruby, based on YARD.}
13
- spec.homepage = ""
13
+ spec.homepage = "http://trivelop.de/inch/"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
@@ -1,3 +1,3 @@
1
1
  module Inch
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inch
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
  - René Föhring
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-29 00:00:00.000000000 Z
11
+ date: 2014-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -207,7 +207,7 @@ files:
207
207
  - test/integration/stats_options_test.rb
208
208
  - test/integration/visibility_options_test.rb
209
209
  - test/test_helper.rb
210
- homepage: ''
210
+ homepage: http://trivelop.de/inch/
211
211
  licenses:
212
212
  - MIT
213
213
  metadata: {}