ruby-bitly 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/bin/bitly +2 -4
  3. data/lib/readme.rb +1 -1
  4. data/ruby-bitly.gemspec +1 -1
  5. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.8
1
+ 0.0.9
data/bin/bitly CHANGED
@@ -109,7 +109,5 @@ class App
109
109
  end
110
110
  end
111
111
 
112
- if __FILE__ == $0
113
- app = App.new(ARGV, STDIN)
114
- app.run
115
- end
112
+ app = App.new(ARGV, STDIN)
113
+ app.run
data/lib/readme.rb CHANGED
@@ -29,7 +29,7 @@ module Readme
29
29
  # Display usage
30
30
  def Readme.usage_no_exit(*args)
31
31
  # main_program_file = caller[-1].sub(/:\d+$/, '') # ruby-bitly
32
- main_program_file = "README.rdoc"
32
+ main_program_file = File.join(File.dirname(__FILE__), '..', 'README.rdoc')
33
33
 
34
34
  comment = File.open(main_program_file) do |file|
35
35
  find_comment(file)
data/ruby-bitly.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ruby-bitly}
8
- s.version = "0.0.8"
8
+ s.version = "0.0.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["rafaeldx7"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-bitly
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - rafaeldx7