ri_cal 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/History.txt +2 -0
  2. data/Rakefile +28 -22
  3. data/lib/ri_cal.rb +1 -1
  4. data/ri_cal.gemspec +7 -7
  5. metadata +3 -3
data/History.txt CHANGED
@@ -1,3 +1,5 @@
1
+ === 0.7.2 - 6 July 2007
2
+ updated to use newest versions of newgem and hoe, in order to make run-code-run work again
1
3
  === 0.7.1 - 6 July 2007
2
4
  * fixed http://rick_denatale.lighthouseapp.com/projects/30941/tickets/15
3
5
  duration validation issues
data/Rakefile CHANGED
@@ -1,19 +1,26 @@
1
1
  #- ©2009 Rick DeNatale
2
2
  #- All rights reserved. Refer to the file README.txt for the license
3
3
  #
4
- %w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
5
- require File.dirname(__FILE__) + '/lib/ri_cal'
4
+ # %w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
5
+ #require File.dirname(__FILE__) + '/lib/ri_cal'
6
+
7
+ require 'rubygems'
8
+ gem 'hoe', '>= 2.1.0'
9
+ require 'hoe'
10
+ require 'fileutils'
11
+ require './lib/ri_cal'
12
+
13
+ Hoe.plugin :newgem
14
+ Hoe.plugin :website
15
+ # Hoe.plugin :cucumberfeatures
6
16
 
7
17
  # Generate all the Rake tasks
8
18
  # Run 'rake -T' to see list of generated tasks (from gem root directory)
9
- $hoe = Hoe.new('ri_cal', RiCal::VERSION) do |p|
19
+ $hoe = Hoe.spec('ri_cal') do |p|
10
20
  p.developer('author=Rick DeNatale', 'rick.denatale@gmail.com')
11
21
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
12
- # p.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
13
22
  p.rubyforge_name = 'ri-cal'
14
- # p.extra_deps = [
15
- # ['tzinfo','>= 2.0.2'],
16
- # ]
23
+ p.readme_file = "README.txt"
17
24
  p.extra_dev_deps = [
18
25
  ['newgem', ">= #{::Newgem::VERSION}"],
19
26
  'ruby-prof'
@@ -26,22 +33,21 @@ $hoe = Hoe.new('ri_cal', RiCal::VERSION) do |p|
26
33
  end
27
34
 
28
35
  require 'newgem/tasks' # load /tasks/*.rake
29
- Dir['tasks/**/*.rake'].each { |t| load t }
30
36
 
31
- Rake::TaskManager.class_eval do
32
- def remove_task(task_name)
33
- @tasks.delete(task_name.to_s)
34
- end
35
- end
37
+ # It looks like newgem is already defining these
38
+ # Rake::TaskManager.class_eval do
39
+ # def remove_task(task_name)
40
+ # @tasks.delete(task_name.to_s)
41
+ # end
42
+ # end
43
+ #
44
+ # def remove_task(task_name)
45
+ # Rake.application.remove_task(task_name)
46
+ # end
36
47
 
37
- def remove_task(task_name)
38
- Rake.application.remove_task(task_name)
39
- end
40
-
41
- # Override existing test task to prevent integrations
42
- # from being run unless specifically asked for
43
- remove_task :test
44
- task :test do
45
- end
48
+ # Override hoe's standard spec task
49
+ remove_task :spec
50
+
51
+ Dir['tasks/**/*.rake'].each { |t| load t }
46
52
 
47
53
  task :default => [:"spec:with_tzinfo_gem", :"spec:with_active_support"]
data/lib/ri_cal.rb CHANGED
@@ -14,7 +14,7 @@ module RiCal
14
14
  autoload :OccurrenceEnumerator, "#{my_dir}/ri_cal/occurrence_enumerator.rb"
15
15
 
16
16
  # :stopdoc:
17
- VERSION = '0.7.1'
17
+ VERSION = '0.7.2'
18
18
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
19
19
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
20
20
 
data/ri_cal.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ri_cal}
5
- s.version = "0.7.1"
5
+ s.version = "0.7.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["author=Rick DeNatale"]
@@ -33,17 +33,17 @@ A Google group for discussion of this library has been set up http://groups.goog
33
33
  s.specification_version = 3
34
34
 
35
35
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
36
- s.add_development_dependency(%q<newgem>, [">= 1.3.0"])
36
+ s.add_development_dependency(%q<newgem>, [">= 1.5.1"])
37
37
  s.add_development_dependency(%q<ruby-prof>, [">= 0"])
38
- s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
38
+ s.add_development_dependency(%q<hoe>, [">= 2.3.2"])
39
39
  else
40
- s.add_dependency(%q<newgem>, [">= 1.3.0"])
40
+ s.add_dependency(%q<newgem>, [">= 1.5.1"])
41
41
  s.add_dependency(%q<ruby-prof>, [">= 0"])
42
- s.add_dependency(%q<hoe>, [">= 1.8.0"])
42
+ s.add_dependency(%q<hoe>, [">= 2.3.2"])
43
43
  end
44
44
  else
45
- s.add_dependency(%q<newgem>, [">= 1.3.0"])
45
+ s.add_dependency(%q<newgem>, [">= 1.5.1"])
46
46
  s.add_dependency(%q<ruby-prof>, [">= 0"])
47
- s.add_dependency(%q<hoe>, [">= 1.8.0"])
47
+ s.add_dependency(%q<hoe>, [">= 2.3.2"])
48
48
  end
49
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ri_cal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - author=Rick DeNatale
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 1.3.0
23
+ version: 1.5.1
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: ruby-prof
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: 1.8.0
43
+ version: 2.3.2
44
44
  version:
45
45
  description: |-
46
46
  A new Ruby implementation of RFC2445 iCalendar.