rails3_artifactor 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -10,9 +10,9 @@ begin
10
10
  gem.add_development_dependency "rspec", "~> 2.0.0.beta.22"
11
11
 
12
12
  gem.add_dependency "rspec", "~> 2.0.0.beta.22"
13
- gem.add_dependency "require_all", "~> 1.1.0"
13
+ gem.add_dependency "require_all", "~> 1.2.0"
14
14
  gem.add_dependency "sugar-high", "~> 0.2.10"
15
- gem.add_dependency 'rails3_assist', "~> 0.2.9"
15
+ gem.add_dependency 'rails3_assist', "~> 0.2.10"
16
16
  gem.add_dependency 'migration_assist', "~> 0.1.4"
17
17
 
18
18
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.5
1
+ 0.2.6
@@ -0,0 +1 @@
1
+ require_all File.dirname(__FILE__) + '/artifact'
@@ -0,0 +1 @@
1
+ require_all File.dirname(__FILE__) + '/base'
File without changes
@@ -1,5 +1,5 @@
1
1
  require 'rspec/core'
2
- require 'rails3_artifactor/rspec/macro'
2
+ require 'rails3_artifactor/macro'
3
3
 
4
4
  RSpec.configure do |config|
5
5
  config.extend Rails3::Assist::UseMacro
@@ -0,0 +1 @@
1
+ require_all File.dirname(__FILE__) + '/rspec'
@@ -6,4 +6,7 @@ require 'sugar-high/module'
6
6
 
7
7
  require 'rails3_artifactor/namespaces'
8
8
  require 'rails3_artifactor/artifact/base'
9
- require_all File.dirname(__FILE__) + '/rails3_artifactor'
9
+ require 'rails3_artifactor/artifact/markers'
10
+ require 'rails3_artifactor/base'
11
+ require 'rails3_artifactor/artifact'
12
+ require 'rails3_artifactor/macro'
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rails3_artifactor}
8
- s.version = "0.2.5"
8
+ s.version = "0.2.6"
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-09-20}
12
+ s.date = %q{2010-09-25}
13
13
  s.description = %q{Helpers for handling Rails 3 artifacts in general, such as CRUD operations etc.}
14
14
  s.email = %q{kmandrup@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
26
26
  "Rakefile",
27
27
  "VERSION",
28
28
  "lib/rails3_artifactor.rb",
29
+ "lib/rails3_artifactor/artifact.rb",
29
30
  "lib/rails3_artifactor/artifact/base.rb",
30
31
  "lib/rails3_artifactor/artifact/crud.rb",
31
32
  "lib/rails3_artifactor/artifact/crud/view.rb",
@@ -40,15 +41,17 @@ Gem::Specification.new do |s|
40
41
  "lib/rails3_artifactor/artifact/orm/mongo_mapper.rb",
41
42
  "lib/rails3_artifactor/artifact/orm/mongoid.rb",
42
43
  "lib/rails3_artifactor/artifact/orm/none.rb",
44
+ "lib/rails3_artifactor/base.rb",
43
45
  "lib/rails3_artifactor/base/crud.rb",
44
46
  "lib/rails3_artifactor/base/crud/create.rb",
45
47
  "lib/rails3_artifactor/base/crud/delete.rb",
46
48
  "lib/rails3_artifactor/base/crud/read.rb",
47
49
  "lib/rails3_artifactor/base/crud/update.rb",
48
50
  "lib/rails3_artifactor/base/file_name.rb",
51
+ "lib/rails3_artifactor/macro.rb",
49
52
  "lib/rails3_artifactor/namespaces.rb",
53
+ "lib/rails3_artifactor/rspec.rb",
50
54
  "lib/rails3_artifactor/rspec/configure.rb",
51
- "lib/rails3_artifactor/rspec/macro.rb",
52
55
  "rails3_artifactor.gemspec",
53
56
  "spec/fixtures.rb",
54
57
  "spec/fixtures/app/views/account/edit.html.erb",
@@ -123,24 +126,24 @@ Gem::Specification.new do |s|
123
126
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
124
127
  s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
125
128
  s.add_runtime_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
126
- s.add_runtime_dependency(%q<require_all>, ["~> 1.1.0"])
129
+ s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
127
130
  s.add_runtime_dependency(%q<sugar-high>, ["~> 0.2.10"])
128
- s.add_runtime_dependency(%q<rails3_assist>, ["~> 0.2.9"])
131
+ s.add_runtime_dependency(%q<rails3_assist>, ["~> 0.2.10"])
129
132
  s.add_runtime_dependency(%q<migration_assist>, ["~> 0.1.4"])
130
133
  else
131
134
  s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
132
135
  s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
133
- s.add_dependency(%q<require_all>, ["~> 1.1.0"])
136
+ s.add_dependency(%q<require_all>, ["~> 1.2.0"])
134
137
  s.add_dependency(%q<sugar-high>, ["~> 0.2.10"])
135
- s.add_dependency(%q<rails3_assist>, ["~> 0.2.9"])
138
+ s.add_dependency(%q<rails3_assist>, ["~> 0.2.10"])
136
139
  s.add_dependency(%q<migration_assist>, ["~> 0.1.4"])
137
140
  end
138
141
  else
139
142
  s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
140
143
  s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
141
- s.add_dependency(%q<require_all>, ["~> 1.1.0"])
144
+ s.add_dependency(%q<require_all>, ["~> 1.2.0"])
142
145
  s.add_dependency(%q<sugar-high>, ["~> 0.2.10"])
143
- s.add_dependency(%q<rails3_assist>, ["~> 0.2.9"])
146
+ s.add_dependency(%q<rails3_assist>, ["~> 0.2.10"])
144
147
  s.add_dependency(%q<migration_assist>, ["~> 0.1.4"])
145
148
  end
146
149
  end
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require 'rspec/core'
2
2
  # require 'autotest/rspec2'
3
3
  require 'rails3_artifactor'
4
+ require 'rails3_artifactor/rspec'
4
5
  require 'code-spec'
5
6
  require 'fixtures'
6
7
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 5
9
- version: 0.2.5
8
+ - 6
9
+ version: 0.2.6
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-09-20 00:00:00 +02:00
17
+ date: 2010-09-25 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -61,9 +61,9 @@ dependencies:
61
61
  - !ruby/object:Gem::Version
62
62
  segments:
63
63
  - 1
64
- - 1
64
+ - 2
65
65
  - 0
66
- version: 1.1.0
66
+ version: 1.2.0
67
67
  type: :runtime
68
68
  version_requirements: *id003
69
69
  - !ruby/object:Gem::Dependency
@@ -92,8 +92,8 @@ dependencies:
92
92
  segments:
93
93
  - 0
94
94
  - 2
95
- - 9
96
- version: 0.2.9
95
+ - 10
96
+ version: 0.2.10
97
97
  type: :runtime
98
98
  version_requirements: *id005
99
99
  - !ruby/object:Gem::Dependency
@@ -130,6 +130,7 @@ files:
130
130
  - Rakefile
131
131
  - VERSION
132
132
  - lib/rails3_artifactor.rb
133
+ - lib/rails3_artifactor/artifact.rb
133
134
  - lib/rails3_artifactor/artifact/base.rb
134
135
  - lib/rails3_artifactor/artifact/crud.rb
135
136
  - lib/rails3_artifactor/artifact/crud/view.rb
@@ -144,15 +145,17 @@ files:
144
145
  - lib/rails3_artifactor/artifact/orm/mongo_mapper.rb
145
146
  - lib/rails3_artifactor/artifact/orm/mongoid.rb
146
147
  - lib/rails3_artifactor/artifact/orm/none.rb
148
+ - lib/rails3_artifactor/base.rb
147
149
  - lib/rails3_artifactor/base/crud.rb
148
150
  - lib/rails3_artifactor/base/crud/create.rb
149
151
  - lib/rails3_artifactor/base/crud/delete.rb
150
152
  - lib/rails3_artifactor/base/crud/read.rb
151
153
  - lib/rails3_artifactor/base/crud/update.rb
152
154
  - lib/rails3_artifactor/base/file_name.rb
155
+ - lib/rails3_artifactor/macro.rb
153
156
  - lib/rails3_artifactor/namespaces.rb
157
+ - lib/rails3_artifactor/rspec.rb
154
158
  - lib/rails3_artifactor/rspec/configure.rb
155
- - lib/rails3_artifactor/rspec/macro.rb
156
159
  - rails3_artifactor.gemspec
157
160
  - spec/fixtures.rb
158
161
  - spec/fixtures/app/views/account/edit.html.erb