gli 2.0.0.rc8 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -2,13 +2,11 @@ notifications:
2
2
  email:
3
3
  on_success: always
4
4
  script: 'bundle exec rake test features'
5
- rvm:
5
+ rvm:
6
6
  - 1.9.2
7
7
  - 1.9.3
8
8
  - 1.8.7
9
9
  - ree
10
- - ruby-head
11
- - rbx
12
10
  branches:
13
11
  only:
14
12
  - 'master'
data/Gemfile CHANGED
@@ -3,6 +3,6 @@ source :rubygems
3
3
  gemspec
4
4
 
5
5
  gem "rcov", ">= 0.9.8", :platforms => :mri_18
6
- gem "simplecov", "~> 0.5.3", :platforms => :mri_19
6
+ gem "simplecov", "~> 0.6.4", :platforms => :mri_19
7
7
  gem "psych", :platforms => :mri_19
8
8
 
@@ -83,3 +83,10 @@ Feature: The GLI executable works as intended
83
83
  When I run `gli init -q`
84
84
  Then the exit status should not be 0
85
85
  And the stderr should contain "error: Unknown option -q"
86
+
87
+ Scenario: The _doc command doesn't blow up
88
+ Given the file "gli.rdoc" doesn't exist
89
+ When I run `gli _doc`
90
+ Then a file named "gli.rdoc" should exist
91
+
92
+
@@ -10,3 +10,9 @@ Given /^my terminal size is "([^"]*)"$/ do |terminal_size|
10
10
  raise "Terminal size should be COLxLines, e.g. 80x24"
11
11
  end
12
12
  end
13
+
14
+
15
+ Given /^the file "(.*?)" doesn't exist$/ do |filename|
16
+ FileUtils.rm filename if File.exists?(filename)
17
+ end
18
+
data/gli.gemspec CHANGED
@@ -25,10 +25,9 @@ spec = Gem::Specification.new do |s|
25
25
  s.add_development_dependency('rdoc', '~> 3.11')
26
26
  s.add_development_dependency('roodi', '~> 2.1.0')
27
27
  s.add_development_dependency('reek')
28
- s.add_development_dependency('grancher', '~> 0.1.5')
29
28
  s.add_development_dependency('rainbow', '~> 1.1.1')
30
29
  s.add_development_dependency('clean_test')
31
- s.add_development_dependency('aruba', '~> 0.4.7')
30
+ s.add_development_dependency('aruba')
32
31
  s.add_development_dependency('sdoc')
33
32
  end
34
33
 
data/gli.rdoc CHANGED
@@ -1,6 +1,6 @@
1
- == gli - gli allows you to create the scaffolding for a GLI-powered application
1
+ == gli - create scaffolding for a GLI-powered application
2
2
 
3
- v2.0.0.rc5
3
+ v2.0.0.rc8
4
4
 
5
5
  === Global Options
6
6
  === -r arg
@@ -9,7 +9,9 @@ Root dir of project
9
9
 
10
10
  [Aliases] --root
11
11
  [Default Value] .
12
- This is the directory where the projects directory will be made, so if you specify a project name foo and the root dir of ., the directory ./foo will be created
12
+ This is the directory where the project''s directory will be made, so if you
13
+ specify a project name ''foo'' and the root dir of ''.'', the directory
14
+ ''./foo'' will be created'
13
15
 
14
16
  === --help
15
17
  Show this message
data/lib/gli/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module GLI
2
2
  unless const_defined? :VERSION
3
- VERSION = '2.0.0.rc8' #:nodoc:
3
+ VERSION = '2.0.0' #:nodoc:
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc8
5
- prerelease: 6
4
+ version: 2.0.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - David Copeland
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-12 00:00:00.000000000 Z
12
+ date: 2012-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -75,22 +75,6 @@ dependencies:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
- - !ruby/object:Gem::Dependency
79
- name: grancher
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ~>
84
- - !ruby/object:Gem::Version
85
- version: 0.1.5
86
- type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: 0.1.5
94
78
  - !ruby/object:Gem::Dependency
95
79
  name: rainbow
96
80
  requirement: !ruby/object:Gem::Requirement
@@ -128,17 +112,17 @@ dependencies:
128
112
  requirement: !ruby/object:Gem::Requirement
129
113
  none: false
130
114
  requirements:
131
- - - ~>
115
+ - - ! '>='
132
116
  - !ruby/object:Gem::Version
133
- version: 0.4.7
117
+ version: '0'
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
121
  none: false
138
122
  requirements:
139
- - - ~>
123
+ - - ! '>='
140
124
  - !ruby/object:Gem::Version
141
- version: 0.4.7
125
+ version: '0'
142
126
  - !ruby/object:Gem::Dependency
143
127
  name: sdoc
144
128
  requirement: !ruby/object:Gem::Requirement
@@ -343,12 +327,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
343
327
  - - ! '>='
344
328
  - !ruby/object:Gem::Version
345
329
  version: '0'
330
+ segments:
331
+ - 0
332
+ hash: -1554108449042083355
346
333
  required_rubygems_version: !ruby/object:Gem::Requirement
347
334
  none: false
348
335
  requirements:
349
- - - ! '>'
336
+ - - ! '>='
350
337
  - !ruby/object:Gem::Version
351
- version: 1.3.1
338
+ version: '0'
339
+ segments:
340
+ - 0
341
+ hash: -1554108449042083355
352
342
  requirements: []
353
343
  rubyforge_project: gli
354
344
  rubygems_version: 1.8.24