rails3_artifactor 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/rails3_artifactor/artifact/base.rb +1 -1
- data/lib/rails3_artifactor/artifact/file_name/view.rb +1 -1
- data/rails3_artifactor.gemspec +102 -104
- data/spec/rails3_artifactor/artifact/crud/permit_spec.rb +1 -1
- data/spec/rails3_artifactor/artifact/crud/view_file_spec.rb +2 -2
- metadata +6 -7
- data/.gitignore +0 -21
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ begin
|
|
5
5
|
gem.summary = %Q{Helpers for handling Rails 3 artifacts}
|
6
6
|
gem.description = %Q{Helpers for handling Rails 3 artifacts in general, such as CRUD operations etc.}
|
7
7
|
gem.email = "kmandrup@gmail.com"
|
8
|
-
gem.homepage = "http://github.com/kristianmandrup/
|
8
|
+
gem.homepage = "http://github.com/kristianmandrup/rails3_artifactor"
|
9
9
|
gem.authors = ["Kristian Mandrup"]
|
10
10
|
gem.add_development_dependency "rspec", ">= 2.0.0"
|
11
11
|
gem.add_development_dependency "generator-spec", '>= 0.7.0'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
@@ -38,7 +38,7 @@ module Rails3::Assist::Artifact
|
|
38
38
|
root_path = options[:root_path]
|
39
39
|
views_path = options[:views_path]
|
40
40
|
views_path ||= File.join(root_path, 'app/views') if root_path
|
41
|
-
puts "views: #{views_path}"
|
41
|
+
# puts "views: #{views_path}"
|
42
42
|
File.expand_path File.join(views_path || DIR.view_dir, folder.to_s, "#{action}.#{type}")
|
43
43
|
end
|
44
44
|
|
data/rails3_artifactor.gemspec
CHANGED
@@ -1,129 +1,127 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rails3_artifactor}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.2"
|
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-
|
12
|
+
s.date = %q{2010-12-18}
|
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 = [
|
16
16
|
"LICENSE",
|
17
|
-
|
17
|
+
"README.markdown"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
"spec/spec_helper.rb"
|
21
|
+
".rspec",
|
22
|
+
"DESIGN_NOTES.markdown",
|
23
|
+
"LICENSE",
|
24
|
+
"README.markdown",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"lib/rails3_artifactor.rb",
|
28
|
+
"lib/rails3_artifactor/artifact.rb",
|
29
|
+
"lib/rails3_artifactor/artifact/base.rb",
|
30
|
+
"lib/rails3_artifactor/artifact/crud.rb",
|
31
|
+
"lib/rails3_artifactor/artifact/crud/create.rb",
|
32
|
+
"lib/rails3_artifactor/artifact/crud/delete.rb",
|
33
|
+
"lib/rails3_artifactor/artifact/crud/read.rb",
|
34
|
+
"lib/rails3_artifactor/artifact/crud/update.rb",
|
35
|
+
"lib/rails3_artifactor/artifact/file_name/artifacts.rb",
|
36
|
+
"lib/rails3_artifactor/artifact/file_name/migration.rb",
|
37
|
+
"lib/rails3_artifactor/artifact/file_name/view.rb",
|
38
|
+
"lib/rails3_artifactor/artifact/markers.rb",
|
39
|
+
"lib/rails3_artifactor/artifact/migration.rb",
|
40
|
+
"lib/rails3_artifactor/artifact/orm.rb",
|
41
|
+
"lib/rails3_artifactor/artifact/orm/active_record.rb",
|
42
|
+
"lib/rails3_artifactor/artifact/orm/data_mapper.rb",
|
43
|
+
"lib/rails3_artifactor/artifact/orm/mongo_mapper.rb",
|
44
|
+
"lib/rails3_artifactor/artifact/orm/mongoid.rb",
|
45
|
+
"lib/rails3_artifactor/artifact/orm/none.rb",
|
46
|
+
"lib/rails3_artifactor/artifact/view_artifact.rb",
|
47
|
+
"lib/rails3_artifactor/base.rb",
|
48
|
+
"lib/rails3_artifactor/base/crud.rb",
|
49
|
+
"lib/rails3_artifactor/base/crud/create.rb",
|
50
|
+
"lib/rails3_artifactor/base/crud/delete.rb",
|
51
|
+
"lib/rails3_artifactor/base/crud/read.rb",
|
52
|
+
"lib/rails3_artifactor/base/crud/update.rb",
|
53
|
+
"lib/rails3_artifactor/base/file_name.rb",
|
54
|
+
"lib/rails3_artifactor/macro.rb",
|
55
|
+
"lib/rails3_artifactor/namespaces.rb",
|
56
|
+
"lib/rails3_artifactor/rspec.rb",
|
57
|
+
"lib/rails3_artifactor/rspec/configure.rb",
|
58
|
+
"rails3_artifactor.gemspec",
|
59
|
+
"spec/fixtures.rb",
|
60
|
+
"spec/fixtures/app/views/account/edit.erb.html",
|
61
|
+
"spec/fixtures/app/views/account/edit.html.erb",
|
62
|
+
"spec/fixtures/app/views/layouts/application.erb.html",
|
63
|
+
"spec/fixtures/app/views/layouts/application.html.erb",
|
64
|
+
"spec/rails3_artifactor/artifact/base_spec.rb",
|
65
|
+
"spec/rails3_artifactor/artifact/crud/controller_spec.rb",
|
66
|
+
"spec/rails3_artifactor/artifact/crud/helper_spec.rb",
|
67
|
+
"spec/rails3_artifactor/artifact/crud/mailer_spec.rb",
|
68
|
+
"spec/rails3_artifactor/artifact/crud/migration_spec.rb",
|
69
|
+
"spec/rails3_artifactor/artifact/crud/model_active_record_spec.rb",
|
70
|
+
"spec/rails3_artifactor/artifact/crud/model_spec.rb",
|
71
|
+
"spec/rails3_artifactor/artifact/crud/observer_spec.rb",
|
72
|
+
"spec/rails3_artifactor/artifact/crud/permit_spec.rb",
|
73
|
+
"spec/rails3_artifactor/artifact/crud/view_controller_action_spec.rb",
|
74
|
+
"spec/rails3_artifactor/artifact/crud/view_file_spec.rb",
|
75
|
+
"spec/rails3_artifactor/artifact/file_name/artifacts_spec.rb",
|
76
|
+
"spec/rails3_artifactor/artifact/file_name/migration_spec.rb",
|
77
|
+
"spec/rails3_artifactor/artifact/file_name/view_spec.rb",
|
78
|
+
"spec/rails3_artifactor/artifact/markers_spec.rb",
|
79
|
+
"spec/rails3_artifactor/artifact/migration_spec.rb",
|
80
|
+
"spec/rails3_artifactor/artifact/orm/active_record_spec.rb",
|
81
|
+
"spec/rails3_artifactor/artifact/orm/data_mapper_spec.rb",
|
82
|
+
"spec/rails3_artifactor/artifact/orm/mongo_mapper_spec.rb",
|
83
|
+
"spec/rails3_artifactor/artifact/orm/mongoid_spec.rb",
|
84
|
+
"spec/rails3_artifactor/artifact/orm/none_spec.rb",
|
85
|
+
"spec/rails3_artifactor/base/crud/create_spec.rb",
|
86
|
+
"spec/rails3_artifactor/base/crud/delete_spec.rb",
|
87
|
+
"spec/rails3_artifactor/base/crud/read_spec.rb",
|
88
|
+
"spec/rails3_artifactor/base/crud/update_spec.rb",
|
89
|
+
"spec/rails3_artifactor/base/file_name_spec.rb",
|
90
|
+
"spec/spec_helper.rb"
|
92
91
|
]
|
93
|
-
s.homepage = %q{http://github.com/kristianmandrup/
|
94
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
92
|
+
s.homepage = %q{http://github.com/kristianmandrup/rails3_artifactor}
|
95
93
|
s.require_paths = ["lib"]
|
96
94
|
s.rubygems_version = %q{1.3.7}
|
97
95
|
s.summary = %q{Helpers for handling Rails 3 artifacts}
|
98
96
|
s.test_files = [
|
99
97
|
"spec/fixtures.rb",
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
98
|
+
"spec/rails3_artifactor/artifact/base_spec.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/mailer_spec.rb",
|
102
|
+
"spec/rails3_artifactor/artifact/crud/migration_spec.rb",
|
103
|
+
"spec/rails3_artifactor/artifact/crud/model_active_record_spec.rb",
|
104
|
+
"spec/rails3_artifactor/artifact/crud/model_spec.rb",
|
105
|
+
"spec/rails3_artifactor/artifact/crud/observer_spec.rb",
|
106
|
+
"spec/rails3_artifactor/artifact/crud/permit_spec.rb",
|
107
|
+
"spec/rails3_artifactor/artifact/crud/view_controller_action_spec.rb",
|
108
|
+
"spec/rails3_artifactor/artifact/crud/view_file_spec.rb",
|
109
|
+
"spec/rails3_artifactor/artifact/file_name/artifacts_spec.rb",
|
110
|
+
"spec/rails3_artifactor/artifact/file_name/migration_spec.rb",
|
111
|
+
"spec/rails3_artifactor/artifact/file_name/view_spec.rb",
|
112
|
+
"spec/rails3_artifactor/artifact/markers_spec.rb",
|
113
|
+
"spec/rails3_artifactor/artifact/migration_spec.rb",
|
114
|
+
"spec/rails3_artifactor/artifact/orm/active_record_spec.rb",
|
115
|
+
"spec/rails3_artifactor/artifact/orm/data_mapper_spec.rb",
|
116
|
+
"spec/rails3_artifactor/artifact/orm/mongo_mapper_spec.rb",
|
117
|
+
"spec/rails3_artifactor/artifact/orm/mongoid_spec.rb",
|
118
|
+
"spec/rails3_artifactor/artifact/orm/none_spec.rb",
|
119
|
+
"spec/rails3_artifactor/base/crud/create_spec.rb",
|
120
|
+
"spec/rails3_artifactor/base/crud/delete_spec.rb",
|
121
|
+
"spec/rails3_artifactor/base/crud/read_spec.rb",
|
122
|
+
"spec/rails3_artifactor/base/crud/update_spec.rb",
|
123
|
+
"spec/rails3_artifactor/base/file_name_spec.rb",
|
124
|
+
"spec/spec_helper.rb"
|
127
125
|
]
|
128
126
|
|
129
127
|
if s.respond_to? :specification_version then
|
@@ -12,8 +12,8 @@ describe 'view API - symbols' do
|
|
12
12
|
end
|
13
13
|
|
14
14
|
it "should find view file using args" do
|
15
|
-
simple_path = 'views/person/show.erb
|
16
|
-
admin_path = 'views/person/admin/show.erb
|
15
|
+
simple_path = 'views/person/show.html.erb'
|
16
|
+
admin_path = 'views/person/admin/show.html.erb'
|
17
17
|
|
18
18
|
person_show = simple_path_expr(simple_path)
|
19
19
|
person_admin_show = simple_path_expr(admin_path)
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 2
|
9
|
+
version: 0.3.2
|
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-
|
17
|
+
date: 2010-12-18 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -133,7 +133,6 @@ extra_rdoc_files:
|
|
133
133
|
- README.markdown
|
134
134
|
files:
|
135
135
|
- .document
|
136
|
-
- .gitignore
|
137
136
|
- .rspec
|
138
137
|
- DESIGN_NOTES.markdown
|
139
138
|
- LICENSE
|
@@ -205,12 +204,12 @@ files:
|
|
205
204
|
- spec/rails3_artifactor/base/file_name_spec.rb
|
206
205
|
- spec/spec_helper.rb
|
207
206
|
has_rdoc: true
|
208
|
-
homepage: http://github.com/kristianmandrup/
|
207
|
+
homepage: http://github.com/kristianmandrup/rails3_artifactor
|
209
208
|
licenses: []
|
210
209
|
|
211
210
|
post_install_message:
|
212
|
-
rdoc_options:
|
213
|
-
|
211
|
+
rdoc_options: []
|
212
|
+
|
214
213
|
require_paths:
|
215
214
|
- lib
|
216
215
|
required_ruby_version: !ruby/object:Gem::Requirement
|