gli 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,6 +34,7 @@ Known to work on
34
34
 
35
35
  * 1.8.7
36
36
  * 1.9.2
37
+ * 1.9.3-RC1 (!)
37
38
  * Ruby Enterprise Edition 1.8.7
38
39
  * Rubinius 1.0.1
39
40
  * JRuby 1.5.2
data/bin/gli CHANGED
@@ -2,16 +2,16 @@
2
2
  # 1.9 adds realpath to resolve symlinks; 1.8 doesn't
3
3
  # have this method, so we add it so we get resolved symlinks
4
4
  # and compatibility
5
- unless File.respond_to? :realpath
6
- class File #:nodoc:
7
- def self.realpath path
8
- return realpath(File.readlink(path)) if symlink?(path)
9
- path
10
- end
11
- end
12
- end
13
-
14
- $: << File.expand_path(File.dirname(File.realpath(__FILE__)) + '/../lib')
5
+ #unless File.respond_to? :realpath
6
+ # class File #:nodoc:
7
+ # def self.realpath path
8
+ # return realpath(File.readlink(path)) if symlink?(path)
9
+ # path
10
+ # end
11
+ # end
12
+ #end
13
+ #
14
+ #$: << File.expand_path(File.dirname(File.realpath(__FILE__)) + '/../lib')
15
15
 
16
16
  require 'gli'
17
17
  require 'support/scaffold'
@@ -1,3 +1,3 @@
1
1
  module GLI
2
- VERSION = '1.3.3'
2
+ VERSION = '1.3.4'
3
3
  end
@@ -151,21 +151,6 @@ EOS
151
151
  file.chmod(0755)
152
152
  file.puts '#!/usr/bin/env ruby'
153
153
  file.puts <<EOS
154
- # 1.9 adds realpath to resolve symlinks; 1.8 doesn't
155
- # have this method, so we add it so we get resolved symlinks
156
- # and compatibility
157
- unless File.respond_to? :realpath
158
- class File #:nodoc:
159
- def self.realpath path
160
- return realpath(File.readlink(path)) if symlink?(path)
161
- path
162
- end
163
- end
164
- end
165
- EOS
166
- file.puts '$: << File.expand_path(File.dirname(File.realpath(__FILE__)) + \'/../lib\')'
167
- file.puts '$: << File.expand_path(File.dirname(File.realpath(__FILE__)) + \'/../ext\')' if create_ext_dir
168
- file.puts <<EOS
169
154
  require 'rubygems'
170
155
  require 'gli'
171
156
  require '#{project_name}_version'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,44 +9,33 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-03 00:00:00.000000000Z
12
+ date: 2011-10-10 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70307756013540 !ruby/object:Gem::Requirement
16
+ requirement: &70123671342960 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.8.0
21
+ version: 0.9.2
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70307756013540
24
+ version_requirements: *70123671342960
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rdoc
27
- requirement: &70307756012980 !ruby/object:Gem::Requirement
27
+ requirement: &70123671342300 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: 2.4.0
32
+ version: 3.9.4
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70307756012980
36
- - !ruby/object:Gem::Dependency
37
- name: sdoc
38
- requirement: &70307756012480 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ~>
42
- - !ruby/object:Gem::Version
43
- version: 0.2.0
44
- type: :development
45
- prerelease: false
46
- version_requirements: *70307756012480
35
+ version_requirements: *70123671342300
47
36
  - !ruby/object:Gem::Dependency
48
37
  name: reek
49
- requirement: &70307756011920 !ruby/object:Gem::Requirement
38
+ requirement: &70123671341700 !ruby/object:Gem::Requirement
50
39
  none: false
51
40
  requirements:
52
41
  - - ~>
@@ -54,10 +43,10 @@ dependencies:
54
43
  version: 1.2.0
55
44
  type: :development
56
45
  prerelease: false
57
- version_requirements: *70307756011920
46
+ version_requirements: *70123671341700
58
47
  - !ruby/object:Gem::Dependency
59
48
  name: roodi
60
- requirement: &70307756011320 !ruby/object:Gem::Requirement
49
+ requirement: &70123671341120 !ruby/object:Gem::Requirement
61
50
  none: false
62
51
  requirements:
63
52
  - - ~>
@@ -65,10 +54,10 @@ dependencies:
65
54
  version: 2.1.0
66
55
  type: :development
67
56
  prerelease: false
68
- version_requirements: *70307756011320
57
+ version_requirements: *70123671341120
69
58
  - !ruby/object:Gem::Dependency
70
59
  name: grancher
71
- requirement: &70307756010740 !ruby/object:Gem::Requirement
60
+ requirement: &70123671340460 !ruby/object:Gem::Requirement
72
61
  none: false
73
62
  requirements:
74
63
  - - ~>
@@ -76,10 +65,10 @@ dependencies:
76
65
  version: 0.1.5
77
66
  type: :development
78
67
  prerelease: false
79
- version_requirements: *70307756010740
68
+ version_requirements: *70123671340460
80
69
  - !ruby/object:Gem::Dependency
81
70
  name: rainbow
82
- requirement: &70307756010060 !ruby/object:Gem::Requirement
71
+ requirement: &70123671339820 !ruby/object:Gem::Requirement
83
72
  none: false
84
73
  requirements:
85
74
  - - ~>
@@ -87,18 +76,18 @@ dependencies:
87
76
  version: 1.1.1
88
77
  type: :development
89
78
  prerelease: false
90
- version_requirements: *70307756010060
79
+ version_requirements: *70123671339820
91
80
  - !ruby/object:Gem::Dependency
92
81
  name: aruba
93
- requirement: &70307756009540 !ruby/object:Gem::Requirement
82
+ requirement: &70123671339140 !ruby/object:Gem::Requirement
94
83
  none: false
95
84
  requirements:
96
85
  - - ~>
97
86
  - !ruby/object:Gem::Version
98
- version: 0.3.6
87
+ version: 0.4.6
99
88
  type: :development
100
89
  prerelease: false
101
- version_requirements: *70307756009540
90
+ version_requirements: *70123671339140
102
91
  description: An application and API for describing command line interfaces that can
103
92
  be used to quickly create a shell for executing command-line tasks. The command
104
93
  line user interface is similar to Gits, in that it takes global options, a command,
@@ -154,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
143
  version: '0'
155
144
  requirements: []
156
145
  rubyforge_project: gli
157
- rubygems_version: 1.8.6
146
+ rubygems_version: 1.8.10
158
147
  signing_key:
159
148
  specification_version: 3
160
149
  summary: A Git Like Interface for building command line apps