plugin_test_helper 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,5 +1,13 @@
1
1
  *SVN*
2
2
 
3
+ *0.1.2* (October 15th, 2007)
4
+
5
+ * Don't create vendor/plugins in the plugin_test_structure generator
6
+
7
+ * Don't load actionwebservice by default
8
+
9
+ * Remove unnecessary configuration options from environment
10
+
3
11
  *0.1.1* (September 18th, 2007)
4
12
 
5
13
  * Allow RAILS_FRAMEWORK_ROOT to be specified
data/README CHANGED
@@ -5,27 +5,27 @@ environment that simulates its usage in a real application.
5
5
 
6
6
  == Resources
7
7
 
8
- API
8
+ Announcement
9
9
 
10
- * http://api.pluginaweek.org/plugin_test_helper
10
+ * http://www.pluginaweek.org
11
11
 
12
12
  Wiki
13
13
 
14
14
  * http://wiki.pluginaweek.org/Plugin_test_helper
15
15
 
16
- Announcement
17
-
18
- * http://www.pluginaweek.org
19
-
20
- Source
16
+ API
21
17
 
22
- * http://svn.pluginaweek.org/trunk/plugins/test/plugin_test_helper
18
+ * http://api.pluginaweek.org/plugin_test_helper
23
19
 
24
20
  Development
25
21
 
26
22
  * http://dev.pluginaweek.org/browser/trunk/plugins/test/plugin_test_helper
27
23
 
28
- == Descriptiona
24
+ Source
25
+
26
+ * http://svn.pluginaweek.org/trunk/plugins/test/plugin_test_helper
27
+
28
+ == Description
29
29
 
30
30
  Plugins often need to initialize a full Rails environment, whether it be for
31
31
  accessing a database or simulating controller access. Traditionally, this has
@@ -94,13 +94,9 @@ Example:
94
94
 
95
95
  $ ruby script/generate plugin_test_structure acts_as_most_popular
96
96
  create vendor/plugins/acts_as_most_popular/test/app_root
97
- create vendor/plugins/acts_as_most_popular/test/app_root/vendor
98
97
  create vendor/plugins/acts_as_most_popular/test/app_root/config
99
98
  create vendor/plugins/acts_as_most_popular/test/app_root/app
100
99
  create vendor/plugins/acts_as_most_popular/test/app_root/lib
101
- create vendor/plugins/acts_as_most_popular/test/app_root/vendor/plugins
102
- create vendor/plugins/acts_as_most_popular/test/app_root/vendor/plugins/plugin_proxy
103
- create vendor/plugins/acts_as_most_popular/test/app_root/vendor/plugins/plugin_proxy/init.rb
104
100
  create vendor/plugins/acts_as_most_popular/test/app_root/config/environments
105
101
  create vendor/plugins/acts_as_most_popular/test/app_root/config/routes.rb
106
102
  create vendor/plugins/acts_as_most_popular/test/app_root/config/boot.rb
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require 'rake/gempackagetask'
4
4
  require 'rake/contrib/sshpublisher'
5
5
 
6
6
  PKG_NAME = 'plugin_test_helper'
7
- PKG_VERSION = '0.1.1'
7
+ PKG_VERSION = '0.1.2'
8
8
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
9
9
  RUBY_FORGE_PROJECT = 'pluginaweek'
10
10
 
@@ -1,13 +1,9 @@
1
1
  require 'config/boot'
2
2
 
3
3
  Rails::Initializer.run do |config|
4
- config.log_level = :debug
5
- config.cache_classes = false
6
- config.whiny_nils = true
7
- config.breakpoint_server = true
8
- config.load_paths << "#{RAILS_ROOT}/../../lib"
9
4
  config.plugin_paths << '..'
10
5
  config.plugins = [File.basename(File.expand_path('.'))]
6
+ config.cache_classes = false
7
+ config.frameworks -= [:action_web_service]
8
+ config.whiny_nils = true
11
9
  end
12
-
13
- Dependencies.log_activity = true
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
2
+ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: plugin_test_helper
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.1
7
- date: 2007-09-18 00:00:00 -04:00
6
+ version: 0.1.2
7
+ date: 2007-10-15 00:00:00 -04:00
8
8
  summary: Simplifies plugin testing by creating an isolated Rails environment that simulates its usage in a real application.
9
9
  require_paths:
10
10
  - lib
@@ -57,10 +57,8 @@ files:
57
57
  - generators/plugin_test_structure/plugin_test_structure_generator.rb
58
58
  - generators/plugin_test_structure/templates/app_root
59
59
  - generators/plugin_test_structure/templates/app_root/lib
60
- - generators/plugin_test_structure/templates/app_root/vendor
61
60
  - generators/plugin_test_structure/templates/app_root/config
62
61
  - generators/plugin_test_structure/templates/app_root/app
63
- - generators/plugin_test_structure/templates/app_root/vendor/plugins
64
62
  - generators/plugin_test_structure/templates/app_root/config/routes.rb
65
63
  - generators/plugin_test_structure/templates/app_root/config/environments
66
64
  - generators/plugin_test_structure/templates/app_root/config/boot.rb