rails-app-spec 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -7,16 +7,16 @@ begin
7
7
  gem.email = "kmandrup@gmail.com"
8
8
  gem.homepage = "http://github.com/kristianmandrup/rails-app-spec"
9
9
  gem.authors = ["Kristian Mandrup"]
10
- gem.add_development_dependency "rspec", ">= 2.0"
10
+ gem.add_development_dependency "rspec", ">= 2.0.0"
11
11
 
12
- gem.add_dependency "rspec", ">= 2.0"
13
- gem.add_dependency "code-spec", "~> 0.2.7"
14
- gem.add_dependency "file-spec", "~> 0.1.3"
12
+ gem.add_dependency "rspec", ">= 2.0.0"
13
+ gem.add_dependency "code-spec", "~> 0.2.9"
14
+ gem.add_dependency "file-spec", "~> 0.1.4"
15
15
 
16
- gem.add_dependency "activesupport", "~> 3.0"
16
+ gem.add_dependency "activesupport", ">= 3.0.0"
17
17
  gem.add_dependency "require_all", "~> 1.2.0"
18
- gem.add_dependency "rails3_artifactor", ">= 0.2.9"
19
- gem.add_dependency "rails3_assist", ">= 0.2.13"
18
+ gem.add_dependency "rails3_artifactor", "~> 0.3.1"
19
+ gem.add_dependency "rails3_assist", "~> 0.3.0"
20
20
  gem.add_dependency "sugar-high", "~> 0.3.0"
21
21
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
22
22
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rails-app-spec}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
12
- s.date = %q{2010-10-21}
12
+ s.date = %q{2010-11-26}
13
13
  s.description = %q{RSpec 2 matchers to help spec the structure and content of your Rails 3 app}
14
14
  s.email = %q{kmandrup@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -99,35 +99,35 @@ Gem::Specification.new do |s|
99
99
  s.specification_version = 3
100
100
 
101
101
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
102
- s.add_development_dependency(%q<rspec>, [">= 2.0"])
103
- s.add_runtime_dependency(%q<rspec>, [">= 2.0"])
104
- s.add_runtime_dependency(%q<code-spec>, ["~> 0.2.7"])
105
- s.add_runtime_dependency(%q<file-spec>, ["~> 0.1.3"])
106
- s.add_runtime_dependency(%q<activesupport>, ["~> 3.0"])
102
+ s.add_development_dependency(%q<rspec>, [">= 2.0.0"])
103
+ s.add_runtime_dependency(%q<rspec>, [">= 2.0.0"])
104
+ s.add_runtime_dependency(%q<code-spec>, ["~> 0.2.9"])
105
+ s.add_runtime_dependency(%q<file-spec>, ["~> 0.1.4"])
106
+ s.add_runtime_dependency(%q<activesupport>, [">= 3.0.0"])
107
107
  s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
108
- s.add_runtime_dependency(%q<rails3_artifactor>, [">= 0.2.9"])
109
- s.add_runtime_dependency(%q<rails3_assist>, [">= 0.2.13"])
108
+ s.add_runtime_dependency(%q<rails3_artifactor>, ["~> 0.3.1"])
109
+ s.add_runtime_dependency(%q<rails3_assist>, ["~> 0.3.0"])
110
110
  s.add_runtime_dependency(%q<sugar-high>, ["~> 0.3.0"])
111
111
  else
112
- s.add_dependency(%q<rspec>, [">= 2.0"])
113
- s.add_dependency(%q<rspec>, [">= 2.0"])
114
- s.add_dependency(%q<code-spec>, ["~> 0.2.7"])
115
- s.add_dependency(%q<file-spec>, ["~> 0.1.3"])
116
- s.add_dependency(%q<activesupport>, ["~> 3.0"])
112
+ s.add_dependency(%q<rspec>, [">= 2.0.0"])
113
+ s.add_dependency(%q<rspec>, [">= 2.0.0"])
114
+ s.add_dependency(%q<code-spec>, ["~> 0.2.9"])
115
+ s.add_dependency(%q<file-spec>, ["~> 0.1.4"])
116
+ s.add_dependency(%q<activesupport>, [">= 3.0.0"])
117
117
  s.add_dependency(%q<require_all>, ["~> 1.2.0"])
118
- s.add_dependency(%q<rails3_artifactor>, [">= 0.2.9"])
119
- s.add_dependency(%q<rails3_assist>, [">= 0.2.13"])
118
+ s.add_dependency(%q<rails3_artifactor>, ["~> 0.3.1"])
119
+ s.add_dependency(%q<rails3_assist>, ["~> 0.3.0"])
120
120
  s.add_dependency(%q<sugar-high>, ["~> 0.3.0"])
121
121
  end
122
122
  else
123
- s.add_dependency(%q<rspec>, [">= 2.0"])
124
- s.add_dependency(%q<rspec>, [">= 2.0"])
125
- s.add_dependency(%q<code-spec>, ["~> 0.2.7"])
126
- s.add_dependency(%q<file-spec>, ["~> 0.1.3"])
127
- s.add_dependency(%q<activesupport>, ["~> 3.0"])
123
+ s.add_dependency(%q<rspec>, [">= 2.0.0"])
124
+ s.add_dependency(%q<rspec>, [">= 2.0.0"])
125
+ s.add_dependency(%q<code-spec>, ["~> 0.2.9"])
126
+ s.add_dependency(%q<file-spec>, ["~> 0.1.4"])
127
+ s.add_dependency(%q<activesupport>, [">= 3.0.0"])
128
128
  s.add_dependency(%q<require_all>, ["~> 1.2.0"])
129
- s.add_dependency(%q<rails3_artifactor>, [">= 0.2.9"])
130
- s.add_dependency(%q<rails3_assist>, [">= 0.2.13"])
129
+ s.add_dependency(%q<rails3_artifactor>, ["~> 0.3.1"])
130
+ s.add_dependency(%q<rails3_assist>, ["~> 0.3.0"])
131
131
  s.add_dependency(%q<sugar-high>, ["~> 0.3.0"])
132
132
  end
133
133
  end
@@ -41,7 +41,9 @@ describe 'migration' do
41
41
 
42
42
  root_dir.should have_migration :create_account
43
43
 
44
- root_dir.should have_migration :create_account do |migration_file|
44
+ puts "ROOT DIR: '#{root_dir.inspect}'"
45
+
46
+ nil.should have_migration :create_account do |migration_file|
45
47
  migration_file.should have_class_method :up
46
48
  migration_file.should have_comment 'hello'
47
49
  migration_file.should have_comment 'goodbye'
@@ -1,4 +1,6 @@
1
1
  require 'rspec/core'
2
+ require 'rails3_artifactor'
3
+ require 'rails3_artifactor/rspec'
2
4
  require 'rails-app-spec'
3
5
 
4
6
  RSpec.configure do |config|
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
8
+ - 1
9
+ version: 0.3.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kristian Mandrup
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-21 00:00:00 +02:00
17
+ date: 2010-11-26 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -28,7 +28,8 @@ dependencies:
28
28
  segments:
29
29
  - 2
30
30
  - 0
31
- version: "2.0"
31
+ - 0
32
+ version: 2.0.0
32
33
  type: :development
33
34
  version_requirements: *id001
34
35
  - !ruby/object:Gem::Dependency
@@ -42,7 +43,8 @@ dependencies:
42
43
  segments:
43
44
  - 2
44
45
  - 0
45
- version: "2.0"
46
+ - 0
47
+ version: 2.0.0
46
48
  type: :runtime
47
49
  version_requirements: *id002
48
50
  - !ruby/object:Gem::Dependency
@@ -56,8 +58,8 @@ dependencies:
56
58
  segments:
57
59
  - 0
58
60
  - 2
59
- - 7
60
- version: 0.2.7
61
+ - 9
62
+ version: 0.2.9
61
63
  type: :runtime
62
64
  version_requirements: *id003
63
65
  - !ruby/object:Gem::Dependency
@@ -71,8 +73,8 @@ dependencies:
71
73
  segments:
72
74
  - 0
73
75
  - 1
74
- - 3
75
- version: 0.1.3
76
+ - 4
77
+ version: 0.1.4
76
78
  type: :runtime
77
79
  version_requirements: *id004
78
80
  - !ruby/object:Gem::Dependency
@@ -81,12 +83,13 @@ dependencies:
81
83
  requirement: &id005 !ruby/object:Gem::Requirement
82
84
  none: false
83
85
  requirements:
84
- - - ~>
86
+ - - ">="
85
87
  - !ruby/object:Gem::Version
86
88
  segments:
87
89
  - 3
88
90
  - 0
89
- version: "3.0"
91
+ - 0
92
+ version: 3.0.0
90
93
  type: :runtime
91
94
  version_requirements: *id005
92
95
  - !ruby/object:Gem::Dependency
@@ -110,13 +113,13 @@ dependencies:
110
113
  requirement: &id007 !ruby/object:Gem::Requirement
111
114
  none: false
112
115
  requirements:
113
- - - ">="
116
+ - - ~>
114
117
  - !ruby/object:Gem::Version
115
118
  segments:
116
119
  - 0
117
- - 2
118
- - 9
119
- version: 0.2.9
120
+ - 3
121
+ - 1
122
+ version: 0.3.1
120
123
  type: :runtime
121
124
  version_requirements: *id007
122
125
  - !ruby/object:Gem::Dependency
@@ -125,13 +128,13 @@ dependencies:
125
128
  requirement: &id008 !ruby/object:Gem::Requirement
126
129
  none: false
127
130
  requirements:
128
- - - ">="
131
+ - - ~>
129
132
  - !ruby/object:Gem::Version
130
133
  segments:
131
134
  - 0
132
- - 2
133
- - 13
134
- version: 0.2.13
135
+ - 3
136
+ - 0
137
+ version: 0.3.0
135
138
  type: :runtime
136
139
  version_requirements: *id008
137
140
  - !ruby/object:Gem::Dependency