rails_complete 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -1,5 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ begin
4
+ require 'rubygems'
5
+ rescue LoadError
6
+ # Not using RubyGems.
7
+ end
8
+
3
9
  comp_line = ENV["COMP_LINE"]
4
10
  exit -1 if comp_line.nil?
5
11
 
@@ -5,24 +5,25 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rails_complete}
8
- s.version = "0.1.0"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Daniel Schierbeck"]
12
12
  s.date = %q{2010-09-19}
13
- s.default_executable = %q{rails-complete.rb}
13
+ s.default_executable = %q{rails-complete}
14
14
  s.description = %q{Tab completion for the rails command-line tool.}
15
15
  s.email = %q{daniel.schierbeck@gmail.com}
16
- s.executables = ["rails-complete.rb"]
16
+ s.executables = ["rails-complete"]
17
17
  s.extra_rdoc_files = [
18
18
  "README.mkd"
19
19
  ]
20
20
  s.files = [
21
- "MIT-LICENSE",
21
+ ".gitignore",
22
+ "MIT-LICENSE",
22
23
  "README.mkd",
23
24
  "Rakefile",
24
25
  "VERSION",
25
- "bin/rails-complete.rb",
26
+ "bin/rails-complete",
26
27
  "lib/rails_complete.rb",
27
28
  "rails_complete.gemspec",
28
29
  "test/test_completions.rb"
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 1
7
+ - 2
8
8
  - 0
9
- version: 0.1.0
9
+ version: 0.2.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Schierbeck
@@ -15,23 +15,24 @@ bindir: bin
15
15
  cert_chain: []
16
16
 
17
17
  date: 2010-09-19 00:00:00 +02:00
18
- default_executable: rails-complete.rb
18
+ default_executable: rails-complete
19
19
  dependencies: []
20
20
 
21
21
  description: Tab completion for the rails command-line tool.
22
22
  email: daniel.schierbeck@gmail.com
23
23
  executables:
24
- - rails-complete.rb
24
+ - rails-complete
25
25
  extensions: []
26
26
 
27
27
  extra_rdoc_files:
28
28
  - README.mkd
29
29
  files:
30
+ - .gitignore
30
31
  - MIT-LICENSE
31
32
  - README.mkd
32
33
  - Rakefile
33
34
  - VERSION
34
- - bin/rails-complete.rb
35
+ - bin/rails-complete
35
36
  - lib/rails_complete.rb
36
37
  - rails_complete.gemspec
37
38
  - test/test_completions.rb