desert 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +4 -0
- data/README.rdoc +4 -4
- data/VERSION.yml +2 -2
- data/generators/desert_plugin/templates/{routes.rb → desert_routes.rb} +0 -0
- data/lib/desert/rails/route_set.rb +1 -1
- data/lib/desert/supported_rails_versions.rb +1 -0
- metadata +31 -35
data/CHANGES
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
0.5.0
|
2
|
+
- Rails 2.2.3 support
|
3
|
+
- routes.rb becomes desert_routes.rb
|
1
4
|
- Added Desert::Manager.require_all_files and Desert::Manager.all_files
|
2
5
|
|
3
6
|
0.3.4
|
@@ -40,3 +43,4 @@
|
|
40
43
|
0.1.0
|
41
44
|
- Fixed [#13346] ActionController::Base.helper raises error when helper is only in plugin
|
42
45
|
- Desert does not require files that have been required before Desert was loaded
|
46
|
+
|
data/README.rdoc
CHANGED
@@ -63,7 +63,7 @@ Pivotal Tracker: http://www.pivotaltracker.com/projects/358
|
|
63
63
|
| |-- new.html.erb
|
64
64
|
| `-- show.html.erb
|
65
65
|
|-- config
|
66
|
-
| `--
|
66
|
+
| `-- desert_routes.rb
|
67
67
|
|-- db
|
68
68
|
| `-- migrate
|
69
69
|
| `-- 001_create_users.rb
|
@@ -126,19 +126,19 @@ If you look in your RAILS_ROOT/config/routes.rb file you will notice that the ge
|
|
126
126
|
|
127
127
|
In the <tt>user</tt> plugin:
|
128
128
|
|
129
|
-
# File: vendor/plugins/user/config/
|
129
|
+
# File: vendor/plugins/user/config/desert_routes.rb
|
130
130
|
|
131
131
|
resource :users
|
132
132
|
|
133
133
|
In the <tt>blogs</tt> plugin:
|
134
134
|
|
135
|
-
# File: vendor/plugins/blogs/config/
|
135
|
+
# File: vendor/plugins/blogs/config/desert_routes.rb
|
136
136
|
|
137
137
|
resource :blogs
|
138
138
|
|
139
139
|
In the application:
|
140
140
|
|
141
|
-
# File: config/
|
141
|
+
# File: config/desert_routes.rb
|
142
142
|
|
143
143
|
ActionController::Routing::Routes.draw do |map|
|
144
144
|
map.routes_from_plugin :blogs
|
data/VERSION.yml
CHANGED
File without changes
|
@@ -9,7 +9,7 @@ module Desert
|
|
9
9
|
name = name.to_s
|
10
10
|
routes_path = File.join(
|
11
11
|
Desert::Manager.plugin_path(name),
|
12
|
-
"config/
|
12
|
+
"config/desert_routes.rb"
|
13
13
|
)
|
14
14
|
RAILS_DEFAULT_LOGGER.debug "Loading routes from #{routes_path}."
|
15
15
|
eval(IO.read(routes_path), binding, routes_path) if File.file?(routes_path)
|
@@ -6,6 +6,7 @@ module Desert
|
|
6
6
|
"2.1.0" => {'version' => '2.1.0', 'git_tag' => 'v2.1.0'},
|
7
7
|
"2.2.0" => {'version' => '2.2.0', 'git_tag' => 'v2.2.0'},
|
8
8
|
"2.2.2" => {'version' => '2.2.2', 'git_tag' => 'v2.2.2'},
|
9
|
+
"2.3.2" => {'version' => '2.3.2', 'git_tag' => 'v2.3.2'},
|
9
10
|
# "edge" => {'version' => 'edge', 'git_tag' => 'master'},
|
10
11
|
}
|
11
12
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: desert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal Labs
|
@@ -12,7 +12,7 @@ autorequire:
|
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
14
|
|
15
|
-
date: 2009-
|
15
|
+
date: 2009-04-08 00:00:00 -07:00
|
16
16
|
default_executable:
|
17
17
|
dependencies: []
|
18
18
|
|
@@ -23,54 +23,52 @@ executables: []
|
|
23
23
|
extensions: []
|
24
24
|
|
25
25
|
extra_rdoc_files:
|
26
|
-
- README.rdoc
|
27
26
|
- CHANGES
|
27
|
+
- README.rdoc
|
28
28
|
files:
|
29
|
+
- CHANGES
|
29
30
|
- MIT-LICENSE
|
30
|
-
- VERSION.yml
|
31
31
|
- README.rdoc
|
32
32
|
- Rakefile
|
33
|
-
-
|
33
|
+
- VERSION.yml
|
34
|
+
- generators/desert_plugin/USAGE
|
35
|
+
- generators/desert_plugin/desert_plugin_generator.rb
|
36
|
+
- generators/desert_plugin/templates/desert_routes.rb
|
37
|
+
- generators/desert_plugin/templates/empty_file
|
38
|
+
- generators/desert_plugin/templates/plugin_migration.rb
|
39
|
+
- generators/desert_plugin/templates/spec_helper.rb
|
34
40
|
- init.rb
|
35
41
|
- lib/desert.rb
|
36
|
-
- lib/desert/plugin_templates.rb
|
37
|
-
- lib/desert/rails/dependencies.rb
|
38
|
-
- lib/desert/rails/2.0.0/plugin.rb
|
39
|
-
- lib/desert/rails/1.2.0/initializer.rb
|
40
|
-
- lib/desert/rails/migration.rb
|
41
|
-
- lib/desert/rails/route_set.rb
|
42
|
-
- lib/desert/rails.rb
|
43
42
|
- lib/desert/manager.rb
|
43
|
+
- lib/desert/plugin.rb
|
44
44
|
- lib/desert/plugin_migrations.rb
|
45
|
-
- lib/desert/ruby/object.rb
|
46
|
-
- lib/desert/supported_rails_versions.rb
|
47
|
-
- lib/desert/ruby.rb
|
48
|
-
- lib/desert/version_checker.rb
|
49
|
-
- lib/desert/tasks.rb
|
50
|
-
- lib/desert/plugin_migrations/2.1/extensions/schema_statements.rb
|
51
|
-
- lib/desert/plugin_migrations/2.1/migrator.rb
|
52
45
|
- lib/desert/plugin_migrations/1.2/extensions/schema_statements.rb
|
53
46
|
- lib/desert/plugin_migrations/1.2/migrator.rb
|
47
|
+
- lib/desert/plugin_migrations/2.1/extensions/schema_statements.rb
|
48
|
+
- lib/desert/plugin_migrations/2.1/migrator.rb
|
54
49
|
- lib/desert/plugin_migrations/migrator.rb
|
55
|
-
- lib/desert/
|
56
|
-
- lib/desert/plugin_templates/
|
57
|
-
- lib/desert/plugin_templates/
|
50
|
+
- lib/desert/plugin_templates.rb
|
51
|
+
- lib/desert/plugin_templates/1.2.0/action_mailer.rb
|
52
|
+
- lib/desert/plugin_templates/1.2.0/action_view.rb
|
58
53
|
- lib/desert/plugin_templates/1.99.0/action_mailer.rb
|
59
54
|
- lib/desert/plugin_templates/1.99.0/action_view.rb
|
60
55
|
- lib/desert/plugin_templates/2.0.0/action_mailer.rb
|
61
|
-
- lib/desert/plugin_templates/2.1.0/action_view.rb
|
62
56
|
- lib/desert/plugin_templates/2.0.2/action_view.rb
|
57
|
+
- lib/desert/plugin_templates/2.1.0/action_view.rb
|
58
|
+
- lib/desert/plugin_templates/action_controller.rb
|
63
59
|
- lib/desert/plugin_templates/action_view.rb
|
64
|
-
- lib/desert/plugin_templates/
|
65
|
-
- lib/desert/
|
66
|
-
-
|
67
|
-
-
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
60
|
+
- lib/desert/plugin_templates/edge/action_view.rb
|
61
|
+
- lib/desert/rails.rb
|
62
|
+
- lib/desert/rails/1.2.0/initializer.rb
|
63
|
+
- lib/desert/rails/2.0.0/plugin.rb
|
64
|
+
- lib/desert/rails/dependencies.rb
|
65
|
+
- lib/desert/rails/migration.rb
|
66
|
+
- lib/desert/rails/route_set.rb
|
67
|
+
- lib/desert/ruby.rb
|
68
|
+
- lib/desert/ruby/object.rb
|
69
|
+
- lib/desert/supported_rails_versions.rb
|
70
|
+
- lib/desert/tasks.rb
|
71
|
+
- lib/desert/version_checker.rb
|
74
72
|
has_rdoc: true
|
75
73
|
homepage: http://pivotallabs.com
|
76
74
|
post_install_message:
|
@@ -79,8 +77,6 @@ rdoc_options:
|
|
79
77
|
- README.rdoc
|
80
78
|
- --inline-source
|
81
79
|
- --line-numbers
|
82
|
-
- --inline-source
|
83
|
-
- --charset=UTF-8
|
84
80
|
require_paths:
|
85
81
|
- lib
|
86
82
|
required_ruby_version: !ruby/object:Gem::Requirement
|