refinerycms 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,14 @@
1
1
  require 'rbconfig'
2
+
3
+ # We want to ensure that you have an ExecJS runtime available!
4
+ begin
5
+ run 'bundle install'
6
+ require 'execjs'
7
+ ::ExecJS::Runtimes.autodetect
8
+ rescue
9
+ gsub_file 'Gemfile', "# gem 'therubyracer'", "gem 'therubyracer'"
10
+ end
11
+
2
12
  append_file 'Gemfile' do
3
13
  "
4
14
 
@@ -7,11 +17,11 @@ gem 'refinerycms', :git => 'git://github.com/resolve/refinerycms.git'
7
17
  # USER DEFINED
8
18
 
9
19
  # Specify additional Refinery CMS Engines here (all optional):
10
- gem 'refinerycms-i18n', '~> 2.0.0', :git => 'git://github.com/parndt/refinerycms-i18n.git'
11
- # gem 'refinerycms-blog', :git => 'git://github.com/resolve/refinerycms-blog.git', :branch => 'rails-3-1'
12
- # gem 'refinerycms-inquiries', :git => 'git://github.com/resolve/refinerycms-inquiries.git', :branch => 'rails-3-1'
13
- # gem 'refinerycms-search', :git => 'git://github.com/resolve/refinerycms-search.git', :branch => 'rails-3-1'
14
- # gem 'refinerycms-page-images', :git => 'git://github.com/resolve/refinerycms-page-images.git', :branch => 'rails-3-1'
20
+ gem 'refinerycms-i18n', :git => 'git://github.com/parndt/refinerycms-i18n.git'
21
+ # gem 'refinerycms-blog', :git => 'git://github.com/resolve/refinerycms-blog.git'
22
+ # gem 'refinerycms-inquiries', :git => 'git://github.com/resolve/refinerycms-inquiries.git'
23
+ # gem 'refinerycms-search', :git => 'git://github.com/resolve/refinerycms-search.git'
24
+ # gem 'refinerycms-page-images', :git => 'git://github.com/resolve/refinerycms-page-images.git'
15
25
 
16
26
  # END USER DEFINED
17
27
  "
@@ -1,26 +1,45 @@
1
1
  require 'rbconfig'
2
2
  VERSION_BAND = '2.0.0'
3
- append_file 'Gemfile' do
4
- "
3
+
4
+ # We want to ensure that you have an ExecJS runtime available!
5
+ begin
6
+ run 'bundle install'
7
+ require 'execjs'
8
+ ::ExecJS::Runtimes.autodetect
9
+ rescue
10
+ require 'pathname'
11
+ if Pathname.new(destination_root.to_s).join('Gemfile').read =~ /therubyracer/
12
+ gsub_file 'Gemfile', "# gem 'therubyracer'", "gem 'therubyracer'"
13
+ else
14
+ append_file 'Gemfile', <<-GEMFILE
15
+
16
+ group :assets do
17
+ # Added by Refinery. We want to ensure that you have an ExecJS runtime available!
18
+ gem 'therubyracer'
19
+ end
20
+ GEMFILE
21
+ end
22
+ end
23
+
24
+ append_file 'Gemfile', <<-GEMFILE
5
25
 
6
26
  # Refinery CMS
7
27
  gem 'refinerycms', '~> #{VERSION_BAND}'
8
28
 
9
29
  # Specify additional Refinery CMS Extensions here (all optional):
10
- gem 'refinerycms-i18n', '~> #{VERSION_BAND}'
30
+ gem 'refinerycms-i18n', '~> #{VERSION_BAND}'
11
31
  # gem 'refinerycms-blog', '~> #{VERSION_BAND}'
12
32
  # gem 'refinerycms-inquiries', '~> #{VERSION_BAND}'
13
33
  # gem 'refinerycms-search', '~> #{VERSION_BAND}'
14
34
  # gem 'refinerycms-page-images', '~> #{VERSION_BAND}'
15
- "
16
- end
35
+ GEMFILE
17
36
 
18
37
  run 'bundle install'
19
38
  rake 'db:create'
20
39
  generate "refinery:cms --fresh-installation #{ARGV.join(' ')}"
21
40
 
22
- say <<-eos
41
+ say <<-SAY
23
42
  ============================================================================
24
43
  Your new Refinery CMS application is now installed and mounts at '/'
25
44
  ============================================================================
26
- eos
45
+ SAY
metadata CHANGED
@@ -1,182 +1,174 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: refinerycms
3
- version: !ruby/object:Gem::Version
4
- hash: 11
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.3
5
5
  prerelease:
6
- segments:
7
- - 2
8
- - 0
9
- - 2
10
- version: 2.0.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Philip Arndt
14
- - "U\xC4\xA3is Ozols"
9
+ - Uģis Ozols
15
10
  - David Jones
16
11
  - Steven Heidel
17
12
  autorequire:
18
13
  bindir: bin
19
14
  cert_chain: []
20
-
21
- date: 2012-03-15 00:00:00 Z
22
- dependencies:
23
- - !ruby/object:Gem::Dependency
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
15
+ date: 2012-04-02 00:00:00.000000000 Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
18
+ name: bundler
19
+ requirement: !ruby/object:Gem::Requirement
26
20
  none: false
27
- requirements:
21
+ requirements:
28
22
  - - ~>
29
- - !ruby/object:Gem::Version
30
- hash: 15
31
- segments:
32
- - 1
33
- - 0
34
- version: "1.0"
35
- version_requirements: *id001
36
- name: bundler
23
+ - !ruby/object:Gem::Version
24
+ version: '1.0'
37
25
  type: :runtime
38
- - !ruby/object:Gem::Dependency
39
26
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
27
+ version_requirements: !ruby/object:Gem::Requirement
41
28
  none: false
42
- requirements:
43
- - - "="
44
- - !ruby/object:Gem::Version
45
- hash: 11
46
- segments:
47
- - 2
48
- - 0
49
- - 2
50
- version: 2.0.2
51
- version_requirements: *id002
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: '1.0'
33
+ - !ruby/object:Gem::Dependency
52
34
  name: refinerycms-authentication
35
+ requirement: !ruby/object:Gem::Requirement
36
+ none: false
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 2.0.3
53
41
  type: :runtime
54
- - !ruby/object:Gem::Dependency
55
42
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
43
+ version_requirements: !ruby/object:Gem::Requirement
57
44
  none: false
58
- requirements:
59
- - - "="
60
- - !ruby/object:Gem::Version
61
- hash: 11
62
- segments:
63
- - 2
64
- - 0
65
- - 2
66
- version: 2.0.2
67
- version_requirements: *id003
45
+ requirements:
46
+ - - '='
47
+ - !ruby/object:Gem::Version
48
+ version: 2.0.3
49
+ - !ruby/object:Gem::Dependency
68
50
  name: refinerycms-core
51
+ requirement: !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - '='
55
+ - !ruby/object:Gem::Version
56
+ version: 2.0.3
69
57
  type: :runtime
70
- - !ruby/object:Gem::Dependency
71
58
  prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
59
+ version_requirements: !ruby/object:Gem::Requirement
73
60
  none: false
74
- requirements:
75
- - - "="
76
- - !ruby/object:Gem::Version
77
- hash: 11
78
- segments:
79
- - 2
80
- - 0
81
- - 2
82
- version: 2.0.2
83
- version_requirements: *id004
61
+ requirements:
62
+ - - '='
63
+ - !ruby/object:Gem::Version
64
+ version: 2.0.3
65
+ - !ruby/object:Gem::Dependency
84
66
  name: refinerycms-dashboard
67
+ requirement: !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - '='
71
+ - !ruby/object:Gem::Version
72
+ version: 2.0.3
85
73
  type: :runtime
86
- - !ruby/object:Gem::Dependency
87
74
  prerelease: false
88
- requirement: &id005 !ruby/object:Gem::Requirement
75
+ version_requirements: !ruby/object:Gem::Requirement
89
76
  none: false
90
- requirements:
91
- - - "="
92
- - !ruby/object:Gem::Version
93
- hash: 11
94
- segments:
95
- - 2
96
- - 0
97
- - 2
98
- version: 2.0.2
99
- version_requirements: *id005
77
+ requirements:
78
+ - - '='
79
+ - !ruby/object:Gem::Version
80
+ version: 2.0.3
81
+ - !ruby/object:Gem::Dependency
100
82
  name: refinerycms-images
83
+ requirement: !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - '='
87
+ - !ruby/object:Gem::Version
88
+ version: 2.0.3
101
89
  type: :runtime
102
- - !ruby/object:Gem::Dependency
103
90
  prerelease: false
104
- requirement: &id006 !ruby/object:Gem::Requirement
91
+ version_requirements: !ruby/object:Gem::Requirement
105
92
  none: false
106
- requirements:
107
- - - "="
108
- - !ruby/object:Gem::Version
109
- hash: 11
110
- segments:
111
- - 2
112
- - 0
113
- - 2
114
- version: 2.0.2
115
- version_requirements: *id006
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 2.0.3
97
+ - !ruby/object:Gem::Dependency
116
98
  name: refinerycms-pages
99
+ requirement: !ruby/object:Gem::Requirement
100
+ none: false
101
+ requirements:
102
+ - - '='
103
+ - !ruby/object:Gem::Version
104
+ version: 2.0.3
117
105
  type: :runtime
118
- - !ruby/object:Gem::Dependency
119
106
  prerelease: false
120
- requirement: &id007 !ruby/object:Gem::Requirement
107
+ version_requirements: !ruby/object:Gem::Requirement
121
108
  none: false
122
- requirements:
123
- - - "="
124
- - !ruby/object:Gem::Version
125
- hash: 11
126
- segments:
127
- - 2
128
- - 0
129
- - 2
130
- version: 2.0.2
131
- version_requirements: *id007
109
+ requirements:
110
+ - - '='
111
+ - !ruby/object:Gem::Version
112
+ version: 2.0.3
113
+ - !ruby/object:Gem::Dependency
132
114
  name: refinerycms-resources
115
+ requirement: !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - '='
119
+ - !ruby/object:Gem::Version
120
+ version: 2.0.3
133
121
  type: :runtime
134
- description: A Ruby on Rails CMS that supports Rails 3.2. It's easy to extend and sticks to 'the Rails way' where possible.
122
+ prerelease: false
123
+ version_requirements: !ruby/object:Gem::Requirement
124
+ none: false
125
+ requirements:
126
+ - - '='
127
+ - !ruby/object:Gem::Version
128
+ version: 2.0.3
129
+ description: A Ruby on Rails CMS that supports Rails 3.2. It's easy to extend and
130
+ sticks to 'the Rails way' where possible.
135
131
  email: info@refinerycms.com
136
- executables:
132
+ executables:
137
133
  - refinerycms
138
134
  extensions: []
139
-
140
135
  extra_rdoc_files: []
141
-
142
- files:
136
+ files:
143
137
  - lib/refinery/all.rb
144
138
  - lib/refinerycms.rb
145
139
  - templates/refinery/edge.rb
146
140
  - templates/refinery/installer.rb
147
- - bin/refinerycms
141
+ - !binary |-
142
+ YmluL3JlZmluZXJ5Y21z
148
143
  homepage: http://refinerycms.com
149
- licenses:
144
+ licenses:
150
145
  - MIT
151
146
  post_install_message:
152
147
  rdoc_options: []
153
-
154
- require_paths:
148
+ require_paths:
155
149
  - lib
156
- required_ruby_version: !ruby/object:Gem::Requirement
150
+ required_ruby_version: !ruby/object:Gem::Requirement
157
151
  none: false
158
- requirements:
159
- - - ">="
160
- - !ruby/object:Gem::Version
161
- hash: 3
162
- segments:
152
+ requirements:
153
+ - - ! '>='
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ segments:
163
157
  - 0
164
- version: "0"
165
- required_rubygems_version: !ruby/object:Gem::Requirement
158
+ hash: 738386883560258069
159
+ required_rubygems_version: !ruby/object:Gem::Requirement
166
160
  none: false
167
- requirements:
168
- - - ">="
169
- - !ruby/object:Gem::Version
170
- hash: 3
171
- segments:
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ segments:
172
166
  - 0
173
- version: "0"
167
+ hash: 738386883560258069
174
168
  requirements: []
175
-
176
169
  rubyforge_project: refinerycms
177
- rubygems_version: 1.8.17
170
+ rubygems_version: 1.8.19
178
171
  signing_key:
179
172
  specification_version: 3
180
173
  summary: A Ruby on Rails CMS that supports Rails 3.2
181
174
  test_files: []
182
-