rails3_artifactor 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/.rspec +1 -0
- data/LICENSE +20 -0
- data/README.markdown +67 -0
- data/Rakefile +18 -0
- data/VERSION +1 -0
- data/lib/rails3_artifactor/artifact/crud/view.rb +71 -0
- data/lib/rails3_artifactor/artifact/crud.rb +55 -0
- data/lib/rails3_artifactor/artifact/file_name/artifacts.rb +21 -0
- data/lib/rails3_artifactor/artifact/file_name/migration.rb +54 -0
- data/lib/rails3_artifactor/artifact/file_name/view.rb +36 -0
- data/lib/rails3_artifactor/artifact/markers.rb +76 -0
- data/lib/rails3_artifactor/artifact/migration.rb +11 -0
- data/lib/rails3_artifactor/artifact/orm/active_record.rb +14 -0
- data/lib/rails3_artifactor/artifact/orm/data_mapper.rb +22 -0
- data/lib/rails3_artifactor/artifact/orm/mongo_mapper.rb +18 -0
- data/lib/rails3_artifactor/artifact/orm/mongoid.rb +23 -0
- data/lib/rails3_artifactor/artifact/orm/none.rb +17 -0
- data/lib/rails3_artifactor/artifact/orm.rb +51 -0
- data/lib/rails3_artifactor/base/class_methods.rb +9 -0
- data/lib/rails3_artifactor/base/crud/create.rb +48 -0
- data/lib/rails3_artifactor/base/crud/delete.rb +14 -0
- data/lib/rails3_artifactor/base/crud/read.rb +20 -0
- data/lib/rails3_artifactor/base/crud/update.rb +44 -0
- data/lib/rails3_artifactor/base/crud.rb +6 -0
- data/lib/rails3_artifactor/base/file_name.rb +41 -0
- data/lib/rails3_artifactor/namespaces.rb +13 -0
- data/lib/rails3_artifactor/rspec/configure.rb +6 -0
- data/lib/rails3_artifactor/rspec/macro.rb +30 -0
- data/lib/rails3_artifactor.rb +6 -0
- data/spec/fixtures/app/controllers/account_controller.rb +4 -0
- data/spec/fixtures/app/helpers/account_helper.rb +4 -0
- data/spec/fixtures/app/models/account.rb +5 -0
- data/spec/fixtures/app/models/account_observer.rb +4 -0
- data/spec/fixtures/app/views/account/edit.html.erb +4 -0
- data/spec/fixtures/app/views/account/show.html.erb +3 -0
- data/spec/fixtures/db/migrations/20100904095012_create_account.rb +4 -0
- data/spec/fixtures.rb +3 -0
- data/spec/rails3_artifactor/artifact/crud/controller_spec.rb +35 -0
- data/spec/rails3_artifactor/artifact/crud/helper_spec.rb +35 -0
- data/spec/rails3_artifactor/artifact/crud/migration_spec.rb +51 -0
- data/spec/rails3_artifactor/artifact/crud/model_spec.rb +37 -0
- data/spec/rails3_artifactor/artifact/crud/observer_spec.rb +36 -0
- data/spec/rails3_artifactor/artifact/crud/view_controller_action_spec.rb +67 -0
- data/spec/rails3_artifactor/artifact/crud/view_controller_default_action_spec.rb +35 -0
- data/spec/rails3_artifactor/artifact/file_name/artifacts_spec.rb +29 -0
- data/spec/rails3_artifactor/artifact/file_name/migration_spec.rb +30 -0
- data/spec/rails3_artifactor/artifact/file_name/view_spec.rb +27 -0
- data/spec/rails3_artifactor/artifact/markers_spec.rb +97 -0
- data/spec/rails3_artifactor/artifact/migration_spec.rb +0 -0
- data/spec/rails3_artifactor/artifact/orm/active_record_spec.rb +33 -0
- data/spec/rails3_artifactor/artifact/orm/data_mapper_spec.rb +33 -0
- data/spec/rails3_artifactor/artifact/orm/mongo_mapper_spec.rb +63 -0
- data/spec/rails3_artifactor/artifact/orm/mongoid_spec.rb +63 -0
- data/spec/rails3_artifactor/artifact/orm/none_spec.rb +32 -0
- data/spec/rails3_artifactor/base/crud/create_spec.rb +13 -0
- data/spec/rails3_artifactor/base/crud/delete_spec.rb +14 -0
- data/spec/rails3_artifactor/base/crud/read_spec.rb +24 -0
- data/spec/rails3_artifactor/base/crud/update_spec.rb +24 -0
- data/spec/rails3_artifactor/base/file_name_spec.rb +23 -0
- data/spec/spec_helper.rb +9 -0
- metadata +183 -0
@@ -0,0 +1,97 @@
|
|
1
|
+
require 'require_all'
|
2
|
+
require 'sugar-high/regexp'
|
3
|
+
require 'rails3_artifactor/namespaces'
|
4
|
+
require 'rails3_artifactor/artifact/markers'
|
5
|
+
# require 'rails3_artifactor/rspec/configure'
|
6
|
+
|
7
|
+
describe Rails3::Assist::Artifact::Controller do
|
8
|
+
before do
|
9
|
+
Rails3::Assist::Directory.rails_root = File.dirname (__FILE__)
|
10
|
+
@clazz = Rails3::Assist::Artifact::Controller
|
11
|
+
end
|
12
|
+
|
13
|
+
describe '#controller_marker' do
|
14
|
+
it "should return the class marker for controller :person" do
|
15
|
+
@clazz.controller_marker(:person).should == 'PersonController < ActionController::Base'
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
describe Rails3::Assist::Artifact::Helper do
|
21
|
+
before do
|
22
|
+
Rails3::Assist::Directory.rails_root = File.dirname (__FILE__)
|
23
|
+
@clazz = Rails3::Assist::Artifact::Helper
|
24
|
+
end
|
25
|
+
|
26
|
+
describe '#helper_marker' do
|
27
|
+
it "should return the class marker for helper :person" do
|
28
|
+
@clazz.helper_marker(:person).should == 'PersonHelper'
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
describe Rails3::Assist::Artifact::Permit do
|
34
|
+
before do
|
35
|
+
Rails3::Assist::Directory.rails_root = File.dirname (__FILE__)
|
36
|
+
@clazz = Rails3::Assist::Artifact::Permit
|
37
|
+
end
|
38
|
+
|
39
|
+
describe '#permit_marker' do
|
40
|
+
it "should return the class marker for permit :person" do
|
41
|
+
@clazz.permit_marker(:person).should == 'Person'
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe Rails3::Assist::Artifact::Mailer do
|
47
|
+
before do
|
48
|
+
Rails3::Assist::Directory.rails_root = File.dirname (__FILE__)
|
49
|
+
@clazz = Rails3::Assist::Artifact::Mailer
|
50
|
+
end
|
51
|
+
|
52
|
+
describe '#mailer_marker' do
|
53
|
+
it "should return the class marker for mailer :person" do
|
54
|
+
@clazz.mailer_marker(:person).should == 'PersonMailer < ActionMailer::Base'
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe Rails3::Assist::Artifact::Observer do
|
60
|
+
before do
|
61
|
+
Rails3::Assist::Directory.rails_root = File.dirname (__FILE__)
|
62
|
+
@clazz = Rails3::Assist::Artifact::Observer
|
63
|
+
end
|
64
|
+
|
65
|
+
describe '#observer_marker' do
|
66
|
+
it "should return the class marker for observer :person" do
|
67
|
+
@clazz.observer_marker(:person).should == 'PersonObserver < ActiveRecord::Observer'
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe Rails3::Assist::Artifact::Migration do
|
73
|
+
before do
|
74
|
+
Rails3::Assist::Directory.rails_root = File.dirname (__FILE__)
|
75
|
+
@clazz = Rails3::Assist::Artifact::Migration
|
76
|
+
end
|
77
|
+
|
78
|
+
describe '#migration_marker' do
|
79
|
+
it "should return the class marker for migration :create_person" do
|
80
|
+
@clazz.migration_marker(:create_person).should == 'CreatePerson < ActiveRecord::Migration'
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
describe Rails3::Assist::Artifact::Model do
|
86
|
+
before do
|
87
|
+
Rails3::Assist::Directory.rails_root = File.dirname (__FILE__)
|
88
|
+
@clazz = Rails3::Assist::Artifact::Model
|
89
|
+
end
|
90
|
+
|
91
|
+
describe '#model_marker' do
|
92
|
+
it "should return the class marker for model :person" do
|
93
|
+
@clazz.model_marker(:person).should == 'Person'
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
File without changes
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'model with active_record' do
|
4
|
+
use_orm :active_record
|
5
|
+
|
6
|
+
before :each do
|
7
|
+
remove_model :account
|
8
|
+
create_model :account do
|
9
|
+
%q{def index
|
10
|
+
end}
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
after :each do
|
15
|
+
# remove_model :account
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should have an account_model file that contains an index method and two inserted comments" do
|
19
|
+
insert_into_model :account, :content => '# hello'
|
20
|
+
insert_into_model :account do
|
21
|
+
'# goodbye'
|
22
|
+
end
|
23
|
+
puts read_model(:account)
|
24
|
+
read_model(:account).should have_comment 'hello'
|
25
|
+
|
26
|
+
# root_dir.should have_model :account do |model_file|
|
27
|
+
# model_file.should have_method :index
|
28
|
+
# model_file.should have_comment 'hello'
|
29
|
+
# model_file.should have_comment 'goodbye'
|
30
|
+
# end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'model with DataMapper' do
|
4
|
+
use_orm :data_mapper
|
5
|
+
|
6
|
+
before :each do
|
7
|
+
remove_model :account
|
8
|
+
create_model :account do
|
9
|
+
%q{def index
|
10
|
+
end}
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
after :each do
|
15
|
+
# remove_model :account
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should have an account_model file that contains an index method and two inserted comments" do
|
19
|
+
insert_into_model :account, :content => '# hello'
|
20
|
+
insert_into_model :account do
|
21
|
+
'# goodbye'
|
22
|
+
end
|
23
|
+
puts read_model(:account)
|
24
|
+
read_model(:account).should have_comment 'hello'
|
25
|
+
|
26
|
+
# root_dir.should have_model :account do |model_file|
|
27
|
+
# model_file.should have_method :index
|
28
|
+
# model_file.should have_comment 'hello'
|
29
|
+
# model_file.should have_comment 'goodbye'
|
30
|
+
# end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'model with Mongo Mapper' do
|
4
|
+
use_orm :mongo_mapper
|
5
|
+
|
6
|
+
before :each do
|
7
|
+
remove_model :account
|
8
|
+
create_model :account do
|
9
|
+
%q{ def index
|
10
|
+
end}
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
after :each do
|
15
|
+
# remove_model :account
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should have an account_model file that contains an index method and two inserted comments" do
|
19
|
+
insert_into_model :account, :content => '# hello'
|
20
|
+
insert_into_model :account do
|
21
|
+
'# goodbye'
|
22
|
+
end
|
23
|
+
puts read_model(:account)
|
24
|
+
read_model(:account).should have_comment 'hello'
|
25
|
+
|
26
|
+
# root_dir.should have_model :account do |model_file|
|
27
|
+
# model_file.should have_method :index
|
28
|
+
# model_file.should have_comment 'hello'
|
29
|
+
# model_file.should have_comment 'goodbye'
|
30
|
+
# end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'model with Data Mapper' do
|
35
|
+
use_orm :data_mapper
|
36
|
+
|
37
|
+
before :each do
|
38
|
+
remove_model :account
|
39
|
+
create_model :account do
|
40
|
+
%q{ def index
|
41
|
+
end}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
after :each do
|
46
|
+
# remove_model :account
|
47
|
+
end
|
48
|
+
|
49
|
+
it "should have an account_model file that contains an index method and two inserted comments" do
|
50
|
+
insert_into_model :account, :content => '# hello'
|
51
|
+
insert_into_model :account do
|
52
|
+
'# goodbye'
|
53
|
+
end
|
54
|
+
puts read_model(:account)
|
55
|
+
read_model(:account).should have_comment 'hello'
|
56
|
+
|
57
|
+
# root_dir.should have_model :account do |model_file|
|
58
|
+
# model_file.should have_method :index
|
59
|
+
# model_file.should have_comment 'hello'
|
60
|
+
# model_file.should have_comment 'goodbye'
|
61
|
+
# end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'model with Mongoid' do
|
4
|
+
use_orm :mongoid
|
5
|
+
|
6
|
+
before :each do
|
7
|
+
remove_model :account
|
8
|
+
create_model :account do
|
9
|
+
%q{def index
|
10
|
+
end}
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
after :each do
|
15
|
+
# remove_model :account
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should have an account_model file that contains an index method and two inserted comments" do
|
19
|
+
insert_into_model :account, :content => '# hello'
|
20
|
+
insert_into_model :account do
|
21
|
+
'# goodbye'
|
22
|
+
end
|
23
|
+
puts read_model(:account)
|
24
|
+
read_model(:account).should have_comment 'hello'
|
25
|
+
|
26
|
+
# root_dir.should have_model :account do |model_file|
|
27
|
+
# model_file.should have_method :index
|
28
|
+
# model_file.should have_comment 'hello'
|
29
|
+
# model_file.should have_comment 'goodbye'
|
30
|
+
# end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'model with Mongoid - embedded document' do
|
35
|
+
use_orm :mongoid
|
36
|
+
|
37
|
+
before :each do
|
38
|
+
remove_model :account
|
39
|
+
create_model :account, :model_type => :embedded do
|
40
|
+
%q{def index
|
41
|
+
end}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
after :each do
|
46
|
+
# remove_model :account
|
47
|
+
end
|
48
|
+
|
49
|
+
it "should have an account_model file that contains an index method and two inserted comments" do
|
50
|
+
insert_into_model :account, :content => '# hello'
|
51
|
+
insert_into_model :account do
|
52
|
+
'# goodbye'
|
53
|
+
end
|
54
|
+
puts read_model(:account)
|
55
|
+
read_model(:account).should have_comment 'hello'
|
56
|
+
|
57
|
+
# root_dir.should have_model :account do |model_file|
|
58
|
+
# model_file.should have_method :index
|
59
|
+
# model_file.should have_comment 'hello'
|
60
|
+
# model_file.should have_comment 'goodbye'
|
61
|
+
# end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'model without any orm' do
|
4
|
+
use_orm :none
|
5
|
+
|
6
|
+
before :each do
|
7
|
+
remove_model :account
|
8
|
+
create_model :account do
|
9
|
+
%q{def index
|
10
|
+
end}
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
after :each do
|
15
|
+
# remove_model :account
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should have an account_model file that contains an index method and two inserted comments" do
|
19
|
+
insert_into_model :account, :content => '# hello'
|
20
|
+
insert_into_model :account do
|
21
|
+
'# goodbye'
|
22
|
+
end
|
23
|
+
puts read_model(:account)
|
24
|
+
read_model(:account).should have_comment 'hello'
|
25
|
+
|
26
|
+
# root_dir.should have_model :account do |model_file|
|
27
|
+
# model_file.should have_method :index
|
28
|
+
# model_file.should have_comment 'hello'
|
29
|
+
# model_file.should have_comment 'goodbye'
|
30
|
+
# end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
describe Rails3::Assist::Artifact::CRUD::Read do
|
2
|
+
describe '#read_artifact' do
|
3
|
+
it "should ..." do
|
4
|
+
pending "todo"
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
describe '#read_artifact :before' do
|
9
|
+
it "should ..." do
|
10
|
+
pending "todo"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
describe '#read_artifact :after' do
|
15
|
+
it "should ..." do
|
16
|
+
pending "todo"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
describe Rails3::Assist::Artifact::CRUD::Update do
|
2
|
+
describe '#insert_into_artifact' do
|
3
|
+
it "should ..." do
|
4
|
+
pending "todo"
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
describe '#remove_from_artifact' do
|
9
|
+
it "should ..." do
|
10
|
+
pending "todo"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
describe '#replace_in_artifact' do
|
15
|
+
it "should ..." do
|
16
|
+
pending "todo"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'require_all'
|
2
|
+
require 'rails3_artifactor/namespaces'
|
3
|
+
require 'rails3_artifactor/base/file_name'
|
4
|
+
|
5
|
+
describe Rails3::Assist::Artifact::FileName do
|
6
|
+
describe '#make_file_name' do
|
7
|
+
it "should ..." do
|
8
|
+
pending "todo"
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
describe '#existing_file_name' do
|
13
|
+
it "should ..." do
|
14
|
+
pending "todo"
|
15
|
+
end
|
16
|
+
|
17
|
+
Rails3::Assist.artifacts.each do |name|
|
18
|
+
it "should find existing file for #{name}" do
|
19
|
+
pending
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,183 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rails3_artifactor
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
version: 0.1.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Kristian Mandrup
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-09-04 00:00:00 +02:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rspec
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ~>
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 2
|
30
|
+
- 0
|
31
|
+
- 0
|
32
|
+
version: 2.0.0
|
33
|
+
type: :development
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: require_all
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 1
|
45
|
+
- 1
|
46
|
+
- 0
|
47
|
+
version: 1.1.0
|
48
|
+
type: :runtime
|
49
|
+
version_requirements: *id002
|
50
|
+
description: Helpers for handling Rails 3 artifacts in general, such as CRUD operations etc.
|
51
|
+
email: kmandrup@gmail.com
|
52
|
+
executables: []
|
53
|
+
|
54
|
+
extensions: []
|
55
|
+
|
56
|
+
extra_rdoc_files:
|
57
|
+
- LICENSE
|
58
|
+
- README.markdown
|
59
|
+
files:
|
60
|
+
- .document
|
61
|
+
- .gitignore
|
62
|
+
- .rspec
|
63
|
+
- LICENSE
|
64
|
+
- README.markdown
|
65
|
+
- Rakefile
|
66
|
+
- VERSION
|
67
|
+
- lib/rails3_artifactor.rb
|
68
|
+
- lib/rails3_artifactor/artifact/crud.rb
|
69
|
+
- lib/rails3_artifactor/artifact/crud/view.rb
|
70
|
+
- lib/rails3_artifactor/artifact/file_name/artifacts.rb
|
71
|
+
- lib/rails3_artifactor/artifact/file_name/migration.rb
|
72
|
+
- lib/rails3_artifactor/artifact/file_name/view.rb
|
73
|
+
- lib/rails3_artifactor/artifact/markers.rb
|
74
|
+
- lib/rails3_artifactor/artifact/migration.rb
|
75
|
+
- lib/rails3_artifactor/artifact/orm.rb
|
76
|
+
- lib/rails3_artifactor/artifact/orm/active_record.rb
|
77
|
+
- lib/rails3_artifactor/artifact/orm/data_mapper.rb
|
78
|
+
- lib/rails3_artifactor/artifact/orm/mongo_mapper.rb
|
79
|
+
- lib/rails3_artifactor/artifact/orm/mongoid.rb
|
80
|
+
- lib/rails3_artifactor/artifact/orm/none.rb
|
81
|
+
- lib/rails3_artifactor/base/class_methods.rb
|
82
|
+
- lib/rails3_artifactor/base/crud.rb
|
83
|
+
- lib/rails3_artifactor/base/crud/create.rb
|
84
|
+
- lib/rails3_artifactor/base/crud/delete.rb
|
85
|
+
- lib/rails3_artifactor/base/crud/read.rb
|
86
|
+
- lib/rails3_artifactor/base/crud/update.rb
|
87
|
+
- lib/rails3_artifactor/base/file_name.rb
|
88
|
+
- lib/rails3_artifactor/namespaces.rb
|
89
|
+
- lib/rails3_artifactor/rspec/configure.rb
|
90
|
+
- lib/rails3_artifactor/rspec/macro.rb
|
91
|
+
- spec/fixtures.rb
|
92
|
+
- spec/fixtures/app/controllers/account_controller.rb
|
93
|
+
- spec/fixtures/app/helpers/account_helper.rb
|
94
|
+
- spec/fixtures/app/models/account.rb
|
95
|
+
- spec/fixtures/app/models/account_observer.rb
|
96
|
+
- spec/fixtures/app/views/account/edit.html.erb
|
97
|
+
- spec/fixtures/app/views/account/show.html.erb
|
98
|
+
- spec/fixtures/db/migrations/20100904095012_create_account.rb
|
99
|
+
- spec/rails3_artifactor/artifact/crud/controller_spec.rb
|
100
|
+
- spec/rails3_artifactor/artifact/crud/helper_spec.rb
|
101
|
+
- spec/rails3_artifactor/artifact/crud/migration_spec.rb
|
102
|
+
- spec/rails3_artifactor/artifact/crud/model_spec.rb
|
103
|
+
- spec/rails3_artifactor/artifact/crud/observer_spec.rb
|
104
|
+
- spec/rails3_artifactor/artifact/crud/view_controller_action_spec.rb
|
105
|
+
- spec/rails3_artifactor/artifact/crud/view_controller_default_action_spec.rb
|
106
|
+
- spec/rails3_artifactor/artifact/file_name/artifacts_spec.rb
|
107
|
+
- spec/rails3_artifactor/artifact/file_name/migration_spec.rb
|
108
|
+
- spec/rails3_artifactor/artifact/file_name/view_spec.rb
|
109
|
+
- spec/rails3_artifactor/artifact/markers_spec.rb
|
110
|
+
- spec/rails3_artifactor/artifact/migration_spec.rb
|
111
|
+
- spec/rails3_artifactor/artifact/orm/active_record_spec.rb
|
112
|
+
- spec/rails3_artifactor/artifact/orm/data_mapper_spec.rb
|
113
|
+
- spec/rails3_artifactor/artifact/orm/mongo_mapper_spec.rb
|
114
|
+
- spec/rails3_artifactor/artifact/orm/mongoid_spec.rb
|
115
|
+
- spec/rails3_artifactor/artifact/orm/none_spec.rb
|
116
|
+
- spec/rails3_artifactor/base/crud/create_spec.rb
|
117
|
+
- spec/rails3_artifactor/base/crud/delete_spec.rb
|
118
|
+
- spec/rails3_artifactor/base/crud/read_spec.rb
|
119
|
+
- spec/rails3_artifactor/base/crud/update_spec.rb
|
120
|
+
- spec/rails3_artifactor/base/file_name_spec.rb
|
121
|
+
- spec/spec_helper.rb
|
122
|
+
has_rdoc: true
|
123
|
+
homepage: http://github.com/kristianmandrup/rails3_artifact_helper
|
124
|
+
licenses: []
|
125
|
+
|
126
|
+
post_install_message:
|
127
|
+
rdoc_options:
|
128
|
+
- --charset=UTF-8
|
129
|
+
require_paths:
|
130
|
+
- lib
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
segments:
|
137
|
+
- 0
|
138
|
+
version: "0"
|
139
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
segments:
|
145
|
+
- 0
|
146
|
+
version: "0"
|
147
|
+
requirements: []
|
148
|
+
|
149
|
+
rubyforge_project:
|
150
|
+
rubygems_version: 1.3.7
|
151
|
+
signing_key:
|
152
|
+
specification_version: 3
|
153
|
+
summary: Helpers for handling Rails 3 artifacts
|
154
|
+
test_files:
|
155
|
+
- spec/fixtures/app/controllers/account_controller.rb
|
156
|
+
- spec/fixtures/app/helpers/account_helper.rb
|
157
|
+
- spec/fixtures/app/models/account.rb
|
158
|
+
- spec/fixtures/app/models/account_observer.rb
|
159
|
+
- spec/fixtures/db/migrations/20100904095012_create_account.rb
|
160
|
+
- spec/fixtures.rb
|
161
|
+
- spec/rails3_artifactor/artifact/crud/controller_spec.rb
|
162
|
+
- spec/rails3_artifactor/artifact/crud/helper_spec.rb
|
163
|
+
- spec/rails3_artifactor/artifact/crud/migration_spec.rb
|
164
|
+
- spec/rails3_artifactor/artifact/crud/model_spec.rb
|
165
|
+
- spec/rails3_artifactor/artifact/crud/observer_spec.rb
|
166
|
+
- spec/rails3_artifactor/artifact/crud/view_controller_action_spec.rb
|
167
|
+
- spec/rails3_artifactor/artifact/crud/view_controller_default_action_spec.rb
|
168
|
+
- spec/rails3_artifactor/artifact/file_name/artifacts_spec.rb
|
169
|
+
- spec/rails3_artifactor/artifact/file_name/migration_spec.rb
|
170
|
+
- spec/rails3_artifactor/artifact/file_name/view_spec.rb
|
171
|
+
- spec/rails3_artifactor/artifact/markers_spec.rb
|
172
|
+
- spec/rails3_artifactor/artifact/migration_spec.rb
|
173
|
+
- spec/rails3_artifactor/artifact/orm/active_record_spec.rb
|
174
|
+
- spec/rails3_artifactor/artifact/orm/data_mapper_spec.rb
|
175
|
+
- spec/rails3_artifactor/artifact/orm/mongo_mapper_spec.rb
|
176
|
+
- spec/rails3_artifactor/artifact/orm/mongoid_spec.rb
|
177
|
+
- spec/rails3_artifactor/artifact/orm/none_spec.rb
|
178
|
+
- spec/rails3_artifactor/base/crud/create_spec.rb
|
179
|
+
- spec/rails3_artifactor/base/crud/delete_spec.rb
|
180
|
+
- spec/rails3_artifactor/base/crud/read_spec.rb
|
181
|
+
- spec/rails3_artifactor/base/crud/update_spec.rb
|
182
|
+
- spec/rails3_artifactor/base/file_name_spec.rb
|
183
|
+
- spec/spec_helper.rb
|