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.
- data/History.txt +2 -0
- data/Rakefile +28 -22
- data/lib/ri_cal.rb +1 -1
- data/ri_cal.gemspec +7 -7
- metadata +3 -3
data/History.txt
CHANGED
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.
|
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
|
-
|
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
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
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
|
-
|
38
|
-
|
39
|
-
|
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.
|
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.
|
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.
|
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>, [">=
|
38
|
+
s.add_development_dependency(%q<hoe>, [">= 2.3.2"])
|
39
39
|
else
|
40
|
-
s.add_dependency(%q<newgem>, [">= 1.
|
40
|
+
s.add_dependency(%q<newgem>, [">= 1.5.1"])
|
41
41
|
s.add_dependency(%q<ruby-prof>, [">= 0"])
|
42
|
-
s.add_dependency(%q<hoe>, [">=
|
42
|
+
s.add_dependency(%q<hoe>, [">= 2.3.2"])
|
43
43
|
end
|
44
44
|
else
|
45
|
-
s.add_dependency(%q<newgem>, [">= 1.
|
45
|
+
s.add_dependency(%q<newgem>, [">= 1.5.1"])
|
46
46
|
s.add_dependency(%q<ruby-prof>, [">= 0"])
|
47
|
-
s.add_dependency(%q<hoe>, [">=
|
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.
|
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.
|
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:
|
43
|
+
version: 2.3.2
|
44
44
|
version:
|
45
45
|
description: |-
|
46
46
|
A new Ruby implementation of RFC2445 iCalendar.
|