genspec 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,3 +10,7 @@ rvm:
10
10
  - rbx-18mode
11
11
  - rbx-19mode
12
12
 
13
+ env:
14
+ - RAILS_VERSION="~> 3.1"
15
+ - RAILS_VERSION="~> 3.2"
16
+ - RAILS_VERSIOn="4.0.0.beta1"
data/Gemfile CHANGED
@@ -1,5 +1,5 @@
1
- source :gemcutter
1
+ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rails'
5
+ gem 'rails', ENV['RAILS_VERSION'] || '>= 3'
@@ -2,7 +2,7 @@ require 'thor'
2
2
  if defined?(Rails)
3
3
  if Rails::VERSION::MAJOR == 2
4
4
  raise "Use genspec 0.1.x for Rails 2; this version is for Rails 3."
5
- elsif Rails::VERSION::MAJOR == 3
5
+ elsif [3, 4].include? Rails::VERSION::MAJOR
6
6
  require 'rails/generators'
7
7
  else
8
8
  raise "Unsupported Rails version: #{Rails::VERSION::STRING}"
@@ -2,7 +2,7 @@ module GenSpec
2
2
  class Version
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- PATCH = 7
5
+ PATCH = 8
6
6
  RELEASE = nil
7
7
 
8
8
  STRING = (RELEASE ? [MAJOR, MINOR, PATCH, RELEASE] : [MAJOR, MINOR, PATCH]).join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -73,7 +73,6 @@ files:
73
73
  - .rspec
74
74
  - .travis.yml
75
75
  - Gemfile
76
- - Gemfile.lock
77
76
  - LICENSE
78
77
  - README.rdoc
79
78
  - Rakefile
@@ -115,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
114
  version: '0'
116
115
  segments:
117
116
  - 0
118
- hash: 3141678678399995463
117
+ hash: -4044716062259480151
119
118
  required_rubygems_version: !ruby/object:Gem::Requirement
120
119
  none: false
121
120
  requirements:
@@ -124,10 +123,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
123
  version: '0'
125
124
  segments:
126
125
  - 0
127
- hash: 3141678678399995463
126
+ hash: -4044716062259480151
128
127
  requirements: []
129
128
  rubyforge_project:
130
- rubygems_version: 1.8.24
129
+ rubygems_version: 1.8.25
131
130
  signing_key:
132
131
  specification_version: 3
133
132
  summary: Simple, expressive Thor and/or Rails 3 generator testing for RSpec. For the
@@ -1,105 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- genspec (0.2.7)
5
- rspec (~> 2)
6
- sc-core-ext (~> 1.2.1)
7
- thor
8
-
9
- GEM
10
- remote: http://rubygems.org/
11
- specs:
12
- actionmailer (3.2.6)
13
- actionpack (= 3.2.6)
14
- mail (~> 2.4.4)
15
- actionpack (3.2.6)
16
- activemodel (= 3.2.6)
17
- activesupport (= 3.2.6)
18
- builder (~> 3.0.0)
19
- erubis (~> 2.7.0)
20
- journey (~> 1.0.1)
21
- rack (~> 1.4.0)
22
- rack-cache (~> 1.2)
23
- rack-test (~> 0.6.1)
24
- sprockets (~> 2.1.3)
25
- activemodel (3.2.6)
26
- activesupport (= 3.2.6)
27
- builder (~> 3.0.0)
28
- activerecord (3.2.6)
29
- activemodel (= 3.2.6)
30
- activesupport (= 3.2.6)
31
- arel (~> 3.0.2)
32
- tzinfo (~> 0.3.29)
33
- activeresource (3.2.6)
34
- activemodel (= 3.2.6)
35
- activesupport (= 3.2.6)
36
- activesupport (3.2.6)
37
- i18n (~> 0.6)
38
- multi_json (~> 1.0)
39
- arel (3.0.2)
40
- builder (3.0.0)
41
- diff-lcs (1.1.3)
42
- erubis (2.7.0)
43
- hike (1.2.1)
44
- i18n (0.6.0)
45
- journey (1.0.4)
46
- json (1.7.3)
47
- mail (2.4.4)
48
- i18n (>= 0.4.0)
49
- mime-types (~> 1.16)
50
- treetop (~> 1.4.8)
51
- mime-types (1.19)
52
- multi_json (1.3.6)
53
- polyglot (0.3.3)
54
- rack (1.4.1)
55
- rack-cache (1.2)
56
- rack (>= 0.4)
57
- rack-ssl (1.3.2)
58
- rack
59
- rack-test (0.6.1)
60
- rack (>= 1.0)
61
- rails (3.2.6)
62
- actionmailer (= 3.2.6)
63
- actionpack (= 3.2.6)
64
- activerecord (= 3.2.6)
65
- activeresource (= 3.2.6)
66
- activesupport (= 3.2.6)
67
- bundler (~> 1.0)
68
- railties (= 3.2.6)
69
- railties (3.2.6)
70
- actionpack (= 3.2.6)
71
- activesupport (= 3.2.6)
72
- rack-ssl (~> 1.3.2)
73
- rake (>= 0.8.7)
74
- rdoc (~> 3.4)
75
- thor (>= 0.14.6, < 2.0)
76
- rake (0.9.2.2)
77
- rdoc (3.12)
78
- json (~> 1.4)
79
- rspec (2.10.0)
80
- rspec-core (~> 2.10.0)
81
- rspec-expectations (~> 2.10.0)
82
- rspec-mocks (~> 2.10.0)
83
- rspec-core (2.10.1)
84
- rspec-expectations (2.10.0)
85
- diff-lcs (~> 1.1.3)
86
- rspec-mocks (2.10.1)
87
- sc-core-ext (1.2.1)
88
- activesupport (>= 2.3.5)
89
- sprockets (2.1.3)
90
- hike (~> 1.2)
91
- rack (~> 1.0)
92
- tilt (~> 1.1, != 1.3.0)
93
- thor (0.15.4)
94
- tilt (1.3.3)
95
- treetop (1.4.10)
96
- polyglot
97
- polyglot (>= 0.3.1)
98
- tzinfo (0.3.33)
99
-
100
- PLATFORMS
101
- ruby
102
-
103
- DEPENDENCIES
104
- genspec!
105
- rails