refinerycms-generators 0.9.9.2 → 0.9.9.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,8 @@ require File.expand_path("../../../lib/generators/refinery_engine/refinery_engin
3
3
  Before do
4
4
  @engine_generator_root = File.expand_path('../../../', __FILE__)
5
5
  @tmp_refinery_app_name = "tmp_refinery_app"
6
- @tmp_refinery_app_root = File.join(@engine_generator_root, @tmp_refinery_app_name)
6
+ require 'tmpdir'
7
+ @tmp_refinery_app_root = File.join(Dir.tmpdir, @tmp_refinery_app_name)
7
8
  @app_root = @tmp_refinery_app_root
8
9
  end
9
10
 
@@ -11,7 +12,7 @@ After do
11
12
  FileUtils.rm_rf(@tmp_refinery_app_root)
12
13
  end
13
14
 
14
- When /^I generate an engine with the arguments of "([^"]*)"$/ do |arguments|
15
+ When /^I generate an engine with the arguments of "([^\"]*)"$/ do |arguments|
15
16
  generator = RefineryEngineGenerator.new(arguments.split(" "))
16
17
  generator.destination_root = @app_root
17
18
  generator.options = {:quiet => true}
@@ -2,6 +2,6 @@ Given /^I have a refinery application$/ do
2
2
  FileUtils.mkdir(File.join(@app_root))
3
3
  end
4
4
 
5
- Then /^I should have a (?:directory|file) "([^"]*)"$/ do |name|
5
+ Then /^I should have a (?:directory|file) "([^\"]*)"$/ do |name|
6
6
  File.exist?(File.join(@tmp_refinery_app_root, name)).should be_true
7
7
  end
data/lib/gemspec.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- version = '0.9.9.2'
2
+ version = '0.9.9.3'
3
3
  raise "Could not get version so gemspec can not be built" if version.nil?
4
4
  files = Dir.glob("**/*").flatten.reject do |file|
5
5
  file =~ /\.gem$/
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.authors = ["Resolve Digital"]
18
18
  s.require_paths = %w(lib)
19
19
 
20
- s.add_dependency 'refinerycms', '>= 0.9.9'
20
+ #s.add_dependency 'refinerycms', '>= 0.9.9'
21
21
 
22
22
  s.files = [
23
23
  '#{files.join("',\n '")}'
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{refinerycms-generators}
3
- s.version = %q{0.9.9.2}
4
- s.date = %q{2011-02-02}
3
+ s.version = %q{0.9.9.3}
4
+ s.date = %q{2011-02-07}
5
5
  s.summary = %q{Core generators for the Refinery CMS project.}
6
6
  s.description = %q{Core generators for Refinery CMS including refinery_engine.}
7
7
  s.homepage = %q{http://refinerycms.com}
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.authors = ["Resolve Digital"]
10
10
  s.require_paths = %w(lib)
11
11
 
12
- s.add_dependency 'refinerycms', '>= 0.9.9'
12
+ #s.add_dependency 'refinerycms', '>= 0.9.9'
13
13
 
14
14
  s.files = [
15
15
  'features',
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-generators
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 9
8
- - 9
9
- - 2
10
- version: 0.9.9.2
4
+ prerelease:
5
+ version: 0.9.9.3
11
6
  platform: ruby
12
7
  authors:
13
8
  - Resolve Digital
@@ -15,24 +10,10 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-02-02 00:00:00 +13:00
13
+ date: 2011-02-07 00:00:00 +13:00
19
14
  default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: refinerycms
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- segments:
30
- - 0
31
- - 9
32
- - 9
33
- version: 0.9.9
34
- type: :runtime
35
- version_requirements: *id001
15
+ dependencies: []
16
+
36
17
  description: Core generators for Refinery CMS including refinery_engine.
37
18
  email: info@refinerycms.com
38
19
  executables: []
@@ -95,21 +76,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
76
  requirements:
96
77
  - - ">="
97
78
  - !ruby/object:Gem::Version
98
- segments:
99
- - 0
100
79
  version: "0"
101
80
  required_rubygems_version: !ruby/object:Gem::Requirement
102
81
  none: false
103
82
  requirements:
104
83
  - - ">="
105
84
  - !ruby/object:Gem::Version
106
- segments:
107
- - 0
108
85
  version: "0"
109
86
  requirements: []
110
87
 
111
88
  rubyforge_project:
112
- rubygems_version: 1.3.7
89
+ rubygems_version: 1.5.0
113
90
  signing_key:
114
91
  specification_version: 3
115
92
  summary: Core generators for the Refinery CMS project.