simple-gem 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -30,9 +30,11 @@ Rake::TestTask.new do |t|
30
30
  t.verbose = true
31
31
  end
32
32
 
33
- desc 'Generate the gemspec to serve this Gem from Github'
34
- task :github do
33
+ desc 'Generate the gemspec for the Gem (useful when serving from Github)'
34
+ task :gemspec do
35
35
  file = File.dirname(__FILE__) + "/#{spec.name}.gemspec"
36
36
  File.open(file, 'w') {|f| f << spec.to_ruby }
37
37
  puts "Created gemspec: #{file}"
38
- end
38
+ end
39
+
40
+ task :github => :gemspec
@@ -3,7 +3,7 @@ module SimpleGem
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 4
6
- TINY = 1
6
+ TINY = 2
7
7
 
8
8
  def self.to_s
9
9
  [MAJOR, MINOR, TINY].join('.')
@@ -47,10 +47,11 @@ rescue LoadError
47
47
  task :default => :test
48
48
  end
49
49
 
50
-
51
- desc 'Generate the gemspec to serve this Gem from Github'
52
- task :github do
50
+ desc 'Generate the gemspec for the Gem (useful when serving from Github)'
51
+ task :gemspec do
53
52
  file = File.dirname(__FILE__) + "/#{spec.name}.gemspec"
54
53
  File.open(file, 'w') {|f| f << spec.to_ruby }
55
54
  puts "Created gemspec: #{file}"
56
- end
55
+ end
56
+
57
+ task :github => :gemspec
@@ -2,9 +2,9 @@ require File.dirname(__FILE__) + '/../test_helper'
2
2
 
3
3
  class <%= self.module_name %>Test < Test::Unit::TestCase
4
4
 
5
- describe "An instance of the <%= self.module_name %> class" do
5
+ context "An instance of the <%= self.module_name %> class" do
6
6
 
7
- it "should flunk" do
7
+ should "flunk" do
8
8
  flunk "Please provide some tests"
9
9
  end
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Reagan
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-20 00:00:00 -04:00
12
+ date: 2009-09-30 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15