refinerycms 1.0.11 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/refinerycms +24 -469
- data/lib/refinery/all.rb +3 -0
- data/lib/refinerycms.rb +1 -9
- data/templates/refinery/edge.rb +28 -0
- data/templates/refinery/installer.rb +26 -0
- metadata +135 -181
- data/.gitignore +0 -95
- data/.rspec +0 -3
- data/Gemfile +0 -60
- data/Guardfile +0 -36
- data/Rakefile +0 -13
- data/app/views/sitemap/index.xml.builder +0 -25
- data/autotest/autotest.rb +0 -17
- data/autotest/discover.rb +0 -2
- data/changelog.md +0 -882
- data/config.ru +0 -4
- data/config/cucumber.yml +0 -11
- data/config/database.yml.mysql +0 -20
- data/config/database.yml.postgresql +0 -57
- data/config/database.yml.sqlite3 +0 -26
- data/config/environments/development.rb +0 -31
- data/config/environments/production.rb +0 -55
- data/config/environments/test.rb +0 -41
- data/features/support/paths.rb +0 -19
- data/lib/load_path_analyzer.rb +0 -26
- data/lib/refinery.rb +0 -1
- data/lib/refinerycms/all.rb +0 -3
- data/license.md +0 -21
- data/public/javascripts/translations.js +0 -2
- data/readme.md +0 -116
- data/refinerycms.gemspec +0 -85
- data/spec/rcov.opts +0 -2
- data/spec/spec_helper.rb +0 -96
- data/spec/support/refinery/controller_macros.rb +0 -27
data/lib/refinery/all.rb
ADDED
data/lib/refinerycms.rb
CHANGED
@@ -1,9 +1 @@
|
|
1
|
-
|
2
|
-
require File.expand_path('../refinerycms/all', __FILE__)
|
3
|
-
else
|
4
|
-
require 'refinerycms-base'
|
5
|
-
end
|
6
|
-
|
7
|
-
# Override Refinery.root
|
8
|
-
# Must come after requiring 'refinerycms-base'
|
9
|
-
Refinery.root = Pathname.new(File.expand_path('../../', __FILE__))
|
1
|
+
require 'refinery/all'
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'rbconfig'
|
2
|
+
append_file 'Gemfile' do
|
3
|
+
"
|
4
|
+
|
5
|
+
gem 'refinerycms', :git => 'git://github.com/resolve/refinerycms.git'
|
6
|
+
|
7
|
+
# USER DEFINED
|
8
|
+
|
9
|
+
# 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'
|
15
|
+
|
16
|
+
# END USER DEFINED
|
17
|
+
"
|
18
|
+
end
|
19
|
+
|
20
|
+
run 'bundle install'
|
21
|
+
rake 'db:create'
|
22
|
+
generate 'refinery:cms --fresh-installation #{ARGV.join(' ')}'
|
23
|
+
|
24
|
+
say <<-eos
|
25
|
+
============================================================================
|
26
|
+
Your new Refinery CMS application is now running on edge and mounted to /.
|
27
|
+
============================================================================
|
28
|
+
eos
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'rbconfig'
|
2
|
+
VERSION_BAND = '2.0.0'
|
3
|
+
append_file 'Gemfile' do
|
4
|
+
"
|
5
|
+
|
6
|
+
# Refinery CMS
|
7
|
+
gem 'refinerycms', '~> #{VERSION_BAND}'
|
8
|
+
|
9
|
+
# Specify additional Refinery CMS Extensions here (all optional):
|
10
|
+
gem 'refinerycms-i18n', '~> #{VERSION_BAND}'
|
11
|
+
# gem 'refinerycms-blog', '~> #{VERSION_BAND}'
|
12
|
+
# gem 'refinerycms-inquiries', '~> #{VERSION_BAND}'
|
13
|
+
# gem 'refinerycms-search', '~> #{VERSION_BAND}'
|
14
|
+
# gem 'refinerycms-page-images', '~> #{VERSION_BAND}'
|
15
|
+
"
|
16
|
+
end
|
17
|
+
|
18
|
+
run 'bundle install'
|
19
|
+
rake 'db:create'
|
20
|
+
generate "refinery:cms --fresh-installation #{ARGV.join(' ')}"
|
21
|
+
|
22
|
+
say <<-eos
|
23
|
+
============================================================================
|
24
|
+
Your new Refinery CMS application is now installed and mounts at '/'
|
25
|
+
============================================================================
|
26
|
+
eos
|
metadata
CHANGED
@@ -1,228 +1,182 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 2
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 2.0.0
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
- Resolve Digital
|
12
|
+
authors:
|
9
13
|
- Philip Arndt
|
14
|
+
- "U\xC4\xA3is Ozols"
|
10
15
|
- David Jones
|
11
16
|
- Steven Heidel
|
12
|
-
- Uģis Ozols
|
13
17
|
autorequire:
|
14
18
|
bindir: bin
|
15
19
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
requirement: !ruby/object:Gem::Requirement
|
21
|
-
none: false
|
22
|
-
requirements:
|
23
|
-
- - ~>
|
24
|
-
- !ruby/object:Gem::Version
|
25
|
-
version: '1.0'
|
26
|
-
type: :runtime
|
20
|
+
|
21
|
+
date: 2012-03-01 00:00:00 Z
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
27
24
|
prerelease: false
|
28
|
-
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
29
26
|
none: false
|
30
|
-
requirements:
|
27
|
+
requirements:
|
31
28
|
- - ~>
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: 1.0.11
|
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
|
42
37
|
type: :runtime
|
38
|
+
- !ruby/object:Gem::Dependency
|
43
39
|
prerelease: false
|
44
|
-
|
45
|
-
none: false
|
46
|
-
requirements:
|
47
|
-
- -
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
version: 1.0.11
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - "="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 15
|
46
|
+
segments:
|
47
|
+
- 2
|
48
|
+
- 0
|
49
|
+
- 0
|
50
|
+
version: 2.0.0
|
51
|
+
version_requirements: *id002
|
52
|
+
name: refinerycms-authentication
|
58
53
|
type: :runtime
|
54
|
+
- !ruby/object:Gem::Dependency
|
59
55
|
prerelease: false
|
60
|
-
|
61
|
-
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
66
|
-
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - "="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 15
|
62
|
+
segments:
|
63
|
+
- 2
|
64
|
+
- 0
|
65
|
+
- 0
|
66
|
+
version: 2.0.0
|
67
|
+
version_requirements: *id003
|
67
68
|
name: refinerycms-core
|
68
|
-
requirement: !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
|
-
requirements:
|
71
|
-
- - '='
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: 1.0.11
|
74
69
|
type: :runtime
|
70
|
+
- !ruby/object:Gem::Dependency
|
75
71
|
prerelease: false
|
76
|
-
|
77
|
-
none: false
|
78
|
-
requirements:
|
79
|
-
- -
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
|
82
|
-
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - "="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 15
|
78
|
+
segments:
|
79
|
+
- 2
|
80
|
+
- 0
|
81
|
+
- 0
|
82
|
+
version: 2.0.0
|
83
|
+
version_requirements: *id004
|
83
84
|
name: refinerycms-dashboard
|
84
|
-
requirement: !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
|
-
requirements:
|
87
|
-
- - '='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 1.0.11
|
90
85
|
type: :runtime
|
86
|
+
- !ruby/object:Gem::Dependency
|
91
87
|
prerelease: false
|
92
|
-
|
93
|
-
none: false
|
94
|
-
requirements:
|
95
|
-
- -
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
|
98
|
-
|
88
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - "="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
hash: 15
|
94
|
+
segments:
|
95
|
+
- 2
|
96
|
+
- 0
|
97
|
+
- 0
|
98
|
+
version: 2.0.0
|
99
|
+
version_requirements: *id005
|
99
100
|
name: refinerycms-images
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
none: false
|
102
|
-
requirements:
|
103
|
-
- - '='
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
version: 1.0.11
|
106
101
|
type: :runtime
|
102
|
+
- !ruby/object:Gem::Dependency
|
107
103
|
prerelease: false
|
108
|
-
|
109
|
-
none: false
|
110
|
-
requirements:
|
111
|
-
- -
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
|
114
|
-
|
104
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - "="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
hash: 15
|
110
|
+
segments:
|
111
|
+
- 2
|
112
|
+
- 0
|
113
|
+
- 0
|
114
|
+
version: 2.0.0
|
115
|
+
version_requirements: *id006
|
115
116
|
name: refinerycms-pages
|
116
|
-
requirement: !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
|
-
requirements:
|
119
|
-
- - '='
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version: 1.0.11
|
122
117
|
type: :runtime
|
118
|
+
- !ruby/object:Gem::Dependency
|
123
119
|
prerelease: false
|
124
|
-
|
125
|
-
none: false
|
126
|
-
requirements:
|
127
|
-
- -
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
|
130
|
-
|
120
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - "="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
hash: 15
|
126
|
+
segments:
|
127
|
+
- 2
|
128
|
+
- 0
|
129
|
+
- 0
|
130
|
+
version: 2.0.0
|
131
|
+
version_requirements: *id007
|
131
132
|
name: refinerycms-resources
|
132
|
-
requirement: !ruby/object:Gem::Requirement
|
133
|
-
none: false
|
134
|
-
requirements:
|
135
|
-
- - '='
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: 1.0.11
|
138
|
-
type: :runtime
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
none: false
|
142
|
-
requirements:
|
143
|
-
- - '='
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: 1.0.11
|
146
|
-
- !ruby/object:Gem::Dependency
|
147
|
-
name: refinerycms-settings
|
148
|
-
requirement: !ruby/object:Gem::Requirement
|
149
|
-
none: false
|
150
|
-
requirements:
|
151
|
-
- - '='
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: 1.0.11
|
154
133
|
type: :runtime
|
155
|
-
|
156
|
-
version_requirements: !ruby/object:Gem::Requirement
|
157
|
-
none: false
|
158
|
-
requirements:
|
159
|
-
- - '='
|
160
|
-
- !ruby/object:Gem::Version
|
161
|
-
version: 1.0.11
|
162
|
-
description: A Ruby on Rails CMS that supports Rails 3. It's easy to extend and sticks
|
163
|
-
to 'the Rails way' where possible.
|
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.
|
164
135
|
email: info@refinerycms.com
|
165
|
-
executables:
|
136
|
+
executables:
|
166
137
|
- refinerycms
|
167
138
|
extensions: []
|
139
|
+
|
168
140
|
extra_rdoc_files: []
|
169
|
-
|
170
|
-
|
171
|
-
- .
|
172
|
-
- .yardopts
|
173
|
-
- Gemfile
|
174
|
-
- Gemfile.lock
|
175
|
-
- Guardfile
|
176
|
-
- Rakefile
|
177
|
-
- app/views/sitemap/index.xml.builder
|
178
|
-
- autotest/autotest.rb
|
179
|
-
- autotest/discover.rb
|
180
|
-
- bin/refinerycms
|
181
|
-
- changelog.md
|
182
|
-
- config/cucumber.yml
|
183
|
-
- config/database.yml.mysql
|
184
|
-
- config/database.yml.postgresql
|
185
|
-
- config/database.yml.sqlite3
|
186
|
-
- config/environments/development.rb
|
187
|
-
- config/environments/production.rb
|
188
|
-
- config/environments/test.rb
|
189
|
-
- config.ru
|
190
|
-
- features/support/paths.rb
|
191
|
-
- lib/load_path_analyzer.rb
|
192
|
-
- lib/refinery.rb
|
193
|
-
- lib/refinerycms/all.rb
|
141
|
+
|
142
|
+
files:
|
143
|
+
- lib/refinery/all.rb
|
194
144
|
- lib/refinerycms.rb
|
195
|
-
-
|
196
|
-
-
|
197
|
-
-
|
198
|
-
- refinerycms.gemspec
|
199
|
-
- spec/rcov.opts
|
200
|
-
- spec/spec_helper.rb
|
201
|
-
- spec/support/refinery/controller_macros.rb
|
145
|
+
- templates/refinery/edge.rb
|
146
|
+
- templates/refinery/installer.rb
|
147
|
+
- bin/refinerycms
|
202
148
|
homepage: http://refinerycms.com
|
203
|
-
licenses:
|
149
|
+
licenses:
|
204
150
|
- MIT
|
205
151
|
post_install_message:
|
206
152
|
rdoc_options: []
|
207
|
-
|
153
|
+
|
154
|
+
require_paths:
|
208
155
|
- lib
|
209
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
156
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
210
157
|
none: false
|
211
|
-
requirements:
|
212
|
-
- -
|
213
|
-
- !ruby/object:Gem::Version
|
214
|
-
|
215
|
-
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
hash: 3
|
162
|
+
segments:
|
163
|
+
- 0
|
164
|
+
version: "0"
|
165
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
216
166
|
none: false
|
217
|
-
requirements:
|
218
|
-
- -
|
219
|
-
- !ruby/object:Gem::Version
|
220
|
-
|
167
|
+
requirements:
|
168
|
+
- - ">="
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
hash: 3
|
171
|
+
segments:
|
172
|
+
- 0
|
173
|
+
version: "0"
|
221
174
|
requirements: []
|
175
|
+
|
222
176
|
rubyforge_project: refinerycms
|
223
|
-
rubygems_version: 1.8.
|
177
|
+
rubygems_version: 1.8.17
|
224
178
|
signing_key:
|
225
179
|
specification_version: 3
|
226
|
-
summary: A Ruby on Rails CMS that supports Rails 3
|
180
|
+
summary: A Ruby on Rails CMS that supports Rails 3.2
|
227
181
|
test_files: []
|
228
|
-
|
182
|
+
|
data/.gitignore
DELETED
@@ -1,95 +0,0 @@
|
|
1
|
-
# Rails
|
2
|
-
.bundle
|
3
|
-
db/*.sqlite3
|
4
|
-
db/*.sqlite3-journal
|
5
|
-
*.log
|
6
|
-
tmp
|
7
|
-
tmp/**/*
|
8
|
-
|
9
|
-
# Documentation
|
10
|
-
doc/api
|
11
|
-
doc/app
|
12
|
-
.yardoc
|
13
|
-
.yardopts
|
14
|
-
coverage
|
15
|
-
|
16
|
-
# Public Uploads
|
17
|
-
public/system/*
|
18
|
-
public/themes/*
|
19
|
-
|
20
|
-
# Public Cache
|
21
|
-
public/javascripts/cache
|
22
|
-
public/stylesheets/cache
|
23
|
-
|
24
|
-
# Vendor Cache
|
25
|
-
vendor/cache
|
26
|
-
|
27
|
-
# Acts as Indexed
|
28
|
-
index/**/*
|
29
|
-
|
30
|
-
# Refinery Specific
|
31
|
-
*.tmproj
|
32
|
-
*.autobackupbyrefinery.*
|
33
|
-
refinerycms-*.gem
|
34
|
-
.autotest
|
35
|
-
|
36
|
-
# Mac
|
37
|
-
.DS_Store
|
38
|
-
|
39
|
-
# Windows
|
40
|
-
Thumbs.db
|
41
|
-
|
42
|
-
# NetBeans
|
43
|
-
nbproject
|
44
|
-
|
45
|
-
# Eclipse
|
46
|
-
.project
|
47
|
-
|
48
|
-
# Redcar
|
49
|
-
.redcar
|
50
|
-
|
51
|
-
# Rubinius
|
52
|
-
*.rbc
|
53
|
-
*.rbx
|
54
|
-
|
55
|
-
# Vim
|
56
|
-
*.swp
|
57
|
-
*.swo
|
58
|
-
|
59
|
-
# RubyMine
|
60
|
-
.idea
|
61
|
-
|
62
|
-
# E-texteditor
|
63
|
-
.eprj
|
64
|
-
|
65
|
-
# Backup
|
66
|
-
*~
|
67
|
-
|
68
|
-
# Capybara Bug
|
69
|
-
capybara-*html
|
70
|
-
|
71
|
-
# sass
|
72
|
-
.sass-cache
|
73
|
-
.sass-cache/*
|
74
|
-
|
75
|
-
#rvm
|
76
|
-
.rvmrc
|
77
|
-
.rvmrc.*
|
78
|
-
|
79
|
-
#Gemfile's lock file
|
80
|
-
Gemfile.lock
|
81
|
-
|
82
|
-
# Future Refinery
|
83
|
-
spec/dummy
|
84
|
-
|
85
|
-
# REFINERY CMS DEVELOPMENT ====================================================
|
86
|
-
# Always keep this section at the bottom.
|
87
|
-
|
88
|
-
config/database.yml
|
89
|
-
config/rackspace_cloudfiles.yml
|
90
|
-
your_*.*
|
91
|
-
db/schema.rb
|
92
|
-
public/refinery
|
93
|
-
config/ideal_load_path
|
94
|
-
|
95
|
-
# END REFINERY CMS DEVELOPMENT =================================================
|