refinerycms-testing 0.9.9.9 → 0.9.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/features/support/paths.rb
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
::Refinery::Plugins.registered.
|
|
1
|
+
::Refinery::Plugins.registered.map{|p|
|
|
2
2
|
p.pathname.join('features', 'support', 'paths.rb')
|
|
3
3
|
}.reject{|p| !p.exist?}.each do |paths|
|
|
4
4
|
require paths
|
|
@@ -82,7 +82,7 @@ module NavigationHelpers
|
|
|
82
82
|
self.send(path_components.push('path').join('_').to_sym)
|
|
83
83
|
rescue Object => e
|
|
84
84
|
raise "Can't find mapping from \"#{page_name}\" to a path.\n" +
|
|
85
|
-
"Now, go and add a mapping in #{
|
|
85
|
+
"Now, go and add a mapping in #{Rails.root.join('features', 'support', 'paths.rb')}"
|
|
86
86
|
end
|
|
87
87
|
end
|
|
88
88
|
end
|
|
@@ -10,6 +10,8 @@ class RefinerycmsTesting < ::Refinery::Generators::EngineInstaller
|
|
|
10
10
|
copy_file 'spec/spec_helper.rb', Rails.root.join('spec', 'spec_helper.rb')
|
|
11
11
|
copy_file 'spec/rcov.opts', Rails.root.join('spec', 'rcov.opts')
|
|
12
12
|
copy_file '.rspec', Rails.root.join('.rspec')
|
|
13
|
+
copy_file 'lib/generators/templates/features/support/paths.rb',
|
|
14
|
+
Rails.root.join('features', 'support', 'paths.rb')
|
|
13
15
|
end
|
|
14
16
|
|
|
15
17
|
end
|
data/refinerycms-testing.gemspec
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{refinerycms-testing}
|
|
5
|
-
s.version = %q{0.9.9.
|
|
5
|
+
s.version = %q{0.9.9.10}
|
|
6
6
|
s.summary = %q{Testing plugin for Refinery CMS}
|
|
7
7
|
s.description = %q{This plugin adds the ability to run cucumber and rspec against the RefineryCMS gem while inside a RefineryCMS project}
|
|
8
|
-
s.date = %q{2011-03-
|
|
8
|
+
s.date = %q{2011-03-17}
|
|
9
9
|
s.email = %q{info@refinerycms.com}
|
|
10
10
|
s.homepage = %q{http://refinerycms.com}
|
|
11
11
|
s.rubyforge_project = %q{refinerycms}
|
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
|
14
14
|
s.require_paths = %w(lib)
|
|
15
15
|
s.executables = %w()
|
|
16
16
|
|
|
17
|
-
s.add_dependency 'refinerycms-core', '~> 0.9.9.
|
|
17
|
+
s.add_dependency 'refinerycms-core', '~> 0.9.9.10'
|
|
18
18
|
# RSpec
|
|
19
19
|
s.add_dependency 'rspec-rails', '~> 2.5'
|
|
20
20
|
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: refinerycms-testing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.9.9.
|
|
5
|
+
version: 0.9.9.10
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Philip Arndt
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-03-
|
|
13
|
+
date: 2011-03-17 00:00:00 +13:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
requirements:
|
|
22
22
|
- - ~>
|
|
23
23
|
- !ruby/object:Gem::Version
|
|
24
|
-
version: 0.9.9.
|
|
24
|
+
version: 0.9.9.10
|
|
25
25
|
type: :runtime
|
|
26
26
|
version_requirements: *id001
|
|
27
27
|
- !ruby/object:Gem::Dependency
|