timeframe 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,7 +11,8 @@ begin
11
11
  gem.homepage = "http://github.com/rossmeissl/timeframe"
12
12
  gem.authors = ["Andy Rossmeissl", "Seamus Abshere", "Derek Kastner"]
13
13
  gem.add_development_dependency "rspec", ">= 1.2.9"
14
- gem.add_dependency 'activesupport', '= 3.0.0.beta4'
14
+ gem.add_dependency 'activesupport', '>2.3.8'
15
+ gem.add_dependency 'to_json_fix', '>0.0.1'
15
16
  gem.add_dependency 'andand'
16
17
  end
17
18
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
data/lib/timeframe.rb CHANGED
@@ -11,8 +11,8 @@ require 'active_support/version'
11
11
  require active_support_3_requirement
12
12
  end if ActiveSupport::VERSION::MAJOR == 3
13
13
  require 'andand'
14
+ require 'to_json_fix'
14
15
  require 'timeframe/ykk'
15
- require 'timeframe/date_to_json'
16
16
 
17
17
  # Encapsulates a timeframe between two dates. The dates provided to the class are always until the last date. That means
18
18
  # that the last date is excluded.
data/timeframe.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{timeframe}
8
- s.version = "0.0.3"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andy Rossmeissl", "Seamus Abshere", "Derek Kastner"]
@@ -24,7 +24,6 @@ Gem::Specification.new do |s|
24
24
  "Rakefile",
25
25
  "VERSION",
26
26
  "lib/timeframe.rb",
27
- "lib/timeframe/date_to_json.rb",
28
27
  "lib/timeframe/ykk.rb",
29
28
  "spec/spec.opts",
30
29
  "spec/spec_helper.rb",
@@ -47,16 +46,19 @@ Gem::Specification.new do |s|
47
46
 
48
47
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
48
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
50
- s.add_runtime_dependency(%q<activesupport>, ["= 3.0.0.beta4"])
49
+ s.add_runtime_dependency(%q<activesupport>, ["> 2.3.8"])
50
+ s.add_runtime_dependency(%q<to_json_fix>, ["> 0.0.1"])
51
51
  s.add_runtime_dependency(%q<andand>, [">= 0"])
52
52
  else
53
53
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
54
- s.add_dependency(%q<activesupport>, ["= 3.0.0.beta4"])
54
+ s.add_dependency(%q<activesupport>, ["> 2.3.8"])
55
+ s.add_dependency(%q<to_json_fix>, ["> 0.0.1"])
55
56
  s.add_dependency(%q<andand>, [">= 0"])
56
57
  end
57
58
  else
58
59
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
59
- s.add_dependency(%q<activesupport>, ["= 3.0.0.beta4"])
60
+ s.add_dependency(%q<activesupport>, ["> 2.3.8"])
61
+ s.add_dependency(%q<to_json_fix>, ["> 0.0.1"])
60
62
  s.add_dependency(%q<andand>, [">= 0"])
61
63
  end
62
64
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timeframe
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andy Rossmeissl
@@ -42,21 +42,36 @@ dependencies:
42
42
  requirement: &id002 !ruby/object:Gem::Requirement
43
43
  none: false
44
44
  requirements:
45
- - - "="
45
+ - - ">"
46
46
  - !ruby/object:Gem::Version
47
- hash: 299253624
47
+ hash: 19
48
48
  segments:
49
+ - 2
49
50
  - 3
51
+ - 8
52
+ version: 2.3.8
53
+ type: :runtime
54
+ version_requirements: *id002
55
+ - !ruby/object:Gem::Dependency
56
+ name: to_json_fix
57
+ prerelease: false
58
+ requirement: &id003 !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ">"
62
+ - !ruby/object:Gem::Version
63
+ hash: 29
64
+ segments:
50
65
  - 0
51
66
  - 0
52
- - beta4
53
- version: 3.0.0.beta4
67
+ - 1
68
+ version: 0.0.1
54
69
  type: :runtime
55
- version_requirements: *id002
70
+ version_requirements: *id003
56
71
  - !ruby/object:Gem::Dependency
57
72
  name: andand
58
73
  prerelease: false
59
- requirement: &id003 !ruby/object:Gem::Requirement
74
+ requirement: &id004 !ruby/object:Gem::Requirement
60
75
  none: false
61
76
  requirements:
62
77
  - - ">="
@@ -66,7 +81,7 @@ dependencies:
66
81
  - 0
67
82
  version: "0"
68
83
  type: :runtime
69
- version_requirements: *id003
84
+ version_requirements: *id004
70
85
  description: A Ruby class for describing and interacting with timeframes.
71
86
  email: andy@rossmeissl.net
72
87
  executables: []
@@ -84,7 +99,6 @@ files:
84
99
  - Rakefile
85
100
  - VERSION
86
101
  - lib/timeframe.rb
87
- - lib/timeframe/date_to_json.rb
88
102
  - lib/timeframe/ykk.rb
89
103
  - spec/spec.opts
90
104
  - spec/spec_helper.rb
@@ -1,5 +0,0 @@
1
- class Date
2
- def to_json(*)
3
- super nil
4
- end
5
- end