matthewtodd-shoe 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/lib/shoe.rb +15 -2
  3. data/shoe.gemspec +3 -3
  4. metadata +5 -4
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
2
2
  require 'shoe'
3
3
 
4
- Shoe.tie('shoe', '0.1.6', "You probably don't want to use Shoe.") do |spec|
4
+ Shoe.tie('shoe', '0.1.7', "You probably don't want to use Shoe.") do |spec|
5
5
  spec.remove_development_dependency_on_shoe
6
6
  spec.requirements = ['git']
7
7
  spec.add_runtime_dependency 'cucumber'
@@ -28,7 +28,7 @@ class Shoe
28
28
  spec.name = name
29
29
  spec.version = version
30
30
  spec.summary = summary
31
- spec.files = FileList['Rakefile', '*.gemspec', '*.rdoc', 'bin/**/*', 'features/**/*', 'lib/**/*', 'resources/**/*', 'test/**/*'].to_a
31
+ spec.files = FileList['Rakefile', '*.gemspec', '**/*.rdoc', 'bin/**/*', 'examples/**/*', 'features/**/*', 'lib/**/*', 'resources/**/*', 'test/**/*'].to_a
32
32
  spec.executables = everything_in_the_bin_directory
33
33
  spec.rdoc_options = %W(--main README.rdoc --title #{name}-#{version} --inline-source) # MAYBE include --all, so that we document private methods?
34
34
  spec.extra_rdoc_files = FileList['*.rdoc'].to_a
@@ -56,7 +56,15 @@ class Shoe
56
56
  desc 'Generate documentation'
57
57
  task :rdoc do
58
58
  LocalDocManager.new(spec).generate_rdoc
59
- sh 'open rdoc/index.html' if RUBY_PLATFORM =~ /darwin/
59
+
60
+ case RUBY_PLATFORM
61
+ when /darwin/
62
+ sh 'open rdoc/index.html'
63
+ when /mswin|mingw/
64
+ sh 'start rdoc\index.html'
65
+ else
66
+ sh 'firefox rdoc/index.html'
67
+ end
60
68
  end
61
69
  end
62
70
 
@@ -81,6 +89,11 @@ class Shoe
81
89
  default_depends_on(:features)
82
90
  end
83
91
 
92
+ desc 'Show latest gemspec contents'
93
+ task :gemspec do
94
+ puts spec.to_ruby
95
+ end
96
+
84
97
  if there_is_no_tag_for_the_current_version && we_are_on_the_master_branch && we_have_already_pushed_the_master_branch_to_a_remote_called_origin
85
98
  desc "Release #{spec.name}-#{spec.version}"
86
99
  task :release do
@@ -2,17 +2,17 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{shoe}
5
- s.version = "0.1.6"
5
+ s.version = "0.1.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Matthew Todd"]
9
- s.date = %q{2009-07-24}
9
+ s.date = %q{2009-07-30}
10
10
  s.default_executable = %q{shoe}
11
11
  s.email = %q{matthew.todd@gmail.com}
12
12
  s.executables = ["shoe"]
13
13
  s.extra_rdoc_files = ["README.rdoc"]
14
14
  s.files = ["Rakefile", "shoe.gemspec", "README.rdoc", "bin/shoe", "lib/shoe.rb"]
15
- s.rdoc_options = ["--main", "README.rdoc", "--title", "shoe-0.1.6", "--inline-source"]
15
+ s.rdoc_options = ["--main", "README.rdoc", "--title", "shoe-0.1.7", "--inline-source"]
16
16
  s.require_paths = ["lib"]
17
17
  s.requirements = ["git"]
18
18
  s.rubygems_version = %q{1.3.5}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matthewtodd-shoe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Todd
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-24 00:00:00 -07:00
12
+ date: 2009-07-30 00:00:00 -07:00
13
13
  default_executable: shoe
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -48,12 +48,13 @@ files:
48
48
  - lib/shoe.rb
49
49
  has_rdoc: false
50
50
  homepage:
51
+ licenses:
51
52
  post_install_message:
52
53
  rdoc_options:
53
54
  - --main
54
55
  - README.rdoc
55
56
  - --title
56
- - shoe-0.1.6
57
+ - shoe-0.1.7
57
58
  - --inline-source
58
59
  require_paths:
59
60
  - lib
@@ -72,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
73
  requirements:
73
74
  - git
74
75
  rubyforge_project:
75
- rubygems_version: 1.2.0
76
+ rubygems_version: 1.3.5
76
77
  signing_key:
77
78
  specification_version: 3
78
79
  summary: You probably don't want to use Shoe.