kronic 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +4 -4
  2. data/HISTORY +4 -1
  3. data/Rakefile +5 -9
  4. data/kronic.gemspec +4 -2
  5. metadata +59 -11
  6. data/Gemfile.lock +0 -35
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source :rubygems
2
2
 
3
- gemspec
4
-
5
- platforms(:ruby) do
6
- gem 'therubyracer', '>= 0.8.0.pre2'
3
+ platforms(:mri) do # This should exclude rbx, but doesn't in my testing
4
+ gem 'therubyracer', '>= 0.8.0.pre2' unless RUBY_ENGINE == 'rbx'
7
5
  end
6
+
7
+ gemspec
data/HISTORY CHANGED
@@ -1,4 +1,7 @@
1
- 1.1.1 - 4 February 2011
1
+ 1.1.3 - 4 February 2011
2
+ * rubygems-test compat
3
+
4
+ 1.1.2 - 4 February 2011
2
5
  * rubygems-test compat
3
6
 
4
7
  1.1.1 - 30 October 2010
data/Rakefile CHANGED
@@ -1,13 +1,9 @@
1
+ require 'rspec/core/rake_task'
2
+ RSpec::Core::RakeTask.new(:spec)
3
+
1
4
  desc 'Default: run specs.'
2
5
  task :default => :spec
3
6
 
4
- # RSpec provided helper doesn't like me, for now just run it myself
5
- desc "Run specs"
6
- task :spec do
7
- commands = []
8
- commands << "bundle exec rspec spec/*_spec.rb"
9
- commands << "jsl -nologo -process lib/js/kronic.js" if `which jsl`.length > 0
10
- exec commands.join(" && ")
7
+ task :test => :spec do
8
+ `jsl -nologo -process lib/js/kronic.js"` if `which jsl`.length > 0
11
9
  end
12
-
13
- task :test => :spec
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'kronic'
3
- s.version = '1.1.2'
3
+ s.version = '1.1.3'
4
4
  s.summary = 'A dirt simple library for parsing and formatting human readable dates'
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = ["Xavier Shay"]
@@ -13,7 +13,6 @@ Gem::Specification.new do |s|
13
13
  Dir.glob("{spec,lib}/**/*.js") +
14
14
  %w(
15
15
  Gemfile
16
- Gemfile.lock
17
16
  README.rdoc
18
17
  HISTORY
19
18
  Rakefile
@@ -21,9 +20,12 @@ Gem::Specification.new do |s|
21
20
  kronic.gemspec
22
21
  )
23
22
 
23
+ s.add_development_dependency 'rake'
24
24
  s.add_development_dependency 'rspec', '~> 2.0.1'
25
25
  s.add_development_dependency 'timecop'
26
26
  s.add_development_dependency 'activesupport'
27
+ s.add_development_dependency 'i18n'
27
28
  s.add_development_dependency 'tzinfo'
29
+ s.add_development_dependency 'bundler'
28
30
  end
29
31
 
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kronic
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 21
4
5
  prerelease: false
5
6
  segments:
6
7
  - 1
7
8
  - 1
8
- - 2
9
- version: 1.1.2
9
+ - 3
10
+ version: 1.1.3
10
11
  platform: ruby
11
12
  authors:
12
13
  - Xavier Shay
@@ -18,59 +19,105 @@ date: 2011-02-04 00:00:00 +11:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
- name: rspec
22
+ name: rake
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :development
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: rspec
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
24
39
  none: false
25
40
  requirements:
26
41
  - - ~>
27
42
  - !ruby/object:Gem::Version
43
+ hash: 13
28
44
  segments:
29
45
  - 2
30
46
  - 0
31
47
  - 1
32
48
  version: 2.0.1
33
49
  type: :development
34
- version_requirements: *id001
50
+ version_requirements: *id002
35
51
  - !ruby/object:Gem::Dependency
36
52
  name: timecop
37
53
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
54
+ requirement: &id003 !ruby/object:Gem::Requirement
39
55
  none: false
40
56
  requirements:
41
57
  - - ">="
42
58
  - !ruby/object:Gem::Version
59
+ hash: 3
43
60
  segments:
44
61
  - 0
45
62
  version: "0"
46
63
  type: :development
47
- version_requirements: *id002
64
+ version_requirements: *id003
48
65
  - !ruby/object:Gem::Dependency
49
66
  name: activesupport
50
67
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
68
+ requirement: &id004 !ruby/object:Gem::Requirement
52
69
  none: false
53
70
  requirements:
54
71
  - - ">="
55
72
  - !ruby/object:Gem::Version
73
+ hash: 3
56
74
  segments:
57
75
  - 0
58
76
  version: "0"
59
77
  type: :development
60
- version_requirements: *id003
78
+ version_requirements: *id004
79
+ - !ruby/object:Gem::Dependency
80
+ name: i18n
81
+ prerelease: false
82
+ requirement: &id005 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ hash: 3
88
+ segments:
89
+ - 0
90
+ version: "0"
91
+ type: :development
92
+ version_requirements: *id005
61
93
  - !ruby/object:Gem::Dependency
62
94
  name: tzinfo
63
95
  prerelease: false
64
- requirement: &id004 !ruby/object:Gem::Requirement
96
+ requirement: &id006 !ruby/object:Gem::Requirement
65
97
  none: false
66
98
  requirements:
67
99
  - - ">="
68
100
  - !ruby/object:Gem::Version
101
+ hash: 3
69
102
  segments:
70
103
  - 0
71
104
  version: "0"
72
105
  type: :development
73
- version_requirements: *id004
106
+ version_requirements: *id006
107
+ - !ruby/object:Gem::Dependency
108
+ name: bundler
109
+ prerelease: false
110
+ requirement: &id007 !ruby/object:Gem::Requirement
111
+ none: false
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ hash: 3
116
+ segments:
117
+ - 0
118
+ version: "0"
119
+ type: :development
120
+ version_requirements: *id007
74
121
  description:
75
122
  email:
76
123
  - hello@xaviershay.com
@@ -86,7 +133,6 @@ files:
86
133
  - lib/kronic.rb
87
134
  - lib/js/kronic.js
88
135
  - Gemfile
89
- - Gemfile.lock
90
136
  - README.rdoc
91
137
  - HISTORY
92
138
  - Rakefile
@@ -106,6 +152,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
152
  requirements:
107
153
  - - ">="
108
154
  - !ruby/object:Gem::Version
155
+ hash: 3
109
156
  segments:
110
157
  - 0
111
158
  version: "0"
@@ -114,6 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
161
  requirements:
115
162
  - - ">="
116
163
  - !ruby/object:Gem::Version
164
+ hash: 3
117
165
  segments:
118
166
  - 0
119
167
  version: "0"
@@ -1,35 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- kronic (1.1.1)
5
-
6
- GEM
7
- remote: http://rubygems.org/
8
- specs:
9
- activesupport (3.0.0)
10
- diff-lcs (1.1.2)
11
- rspec (2.0.1)
12
- rspec-core (~> 2.0.1)
13
- rspec-expectations (~> 2.0.1)
14
- rspec-mocks (~> 2.0.1)
15
- rspec-core (2.0.1)
16
- rspec-expectations (2.0.1)
17
- diff-lcs (>= 1.1.2)
18
- rspec-mocks (2.0.1)
19
- rspec-core (~> 2.0.1)
20
- rspec-expectations (~> 2.0.1)
21
- therubyracer (0.8.0.pre2)
22
- timecop (0.3.5)
23
- tzinfo (0.3.23)
24
-
25
- PLATFORMS
26
- java
27
- ruby
28
-
29
- DEPENDENCIES
30
- activesupport
31
- kronic!
32
- rspec (~> 2.0.1)
33
- therubyracer (>= 0.8.0.pre2)
34
- timecop
35
- tzinfo