refinerycms 2.1.5 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{bin → exe}/refinerycms +6 -6
- data/lib/refinery/all.rb +1 -1
- data/templates/refinery/edge.rb +28 -16
- data/templates/refinery/installer.rb +9 -6
- metadata +18 -66
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5151657c56028edb4defcc05d3152aa79690213e
|
4
|
+
data.tar.gz: 79b5396761ff769f0d57769e3c66f022ef9d9a30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14d3c67ba2f9c2e8c3037a88edae113fac4c8f4d51c918bf0986f9a4442c79391cc1c7c5fd8ea3d414ee6cff410572001585a53a4698474b4d87aa789a8027ac
|
7
|
+
data.tar.gz: 2e4afb38a6d059433c8daa254d0fdde767dd7b45c8ff67a7afcca3677de545dbfc8a7d78af6680298666baa5980ba4fc8f118c703a75026711dfbffece7ee7aa
|
data/{bin → exe}/refinerycms
RENAMED
@@ -30,12 +30,12 @@ if ARGV.empty?
|
|
30
30
|
end
|
31
31
|
|
32
32
|
case ARGV.first
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
33
|
+
when "-h", "--help"
|
34
|
+
show_help_message
|
35
|
+
exit 0
|
36
|
+
when "-v", "--version"
|
37
|
+
puts "Refinery CMS #{Gem.loaded_specs['refinerycms'].version}"
|
38
|
+
exit 0
|
39
39
|
end
|
40
40
|
|
41
41
|
application_name = ARGV.shift
|
data/lib/refinery/all.rb
CHANGED
data/templates/refinery/edge.rb
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
require 'rbconfig'
|
2
|
-
|
3
1
|
# We want to ensure that you have an ExecJS runtime available!
|
4
2
|
begin
|
5
3
|
require 'execjs'
|
4
|
+
begin
|
5
|
+
::ExecJS::Runtimes.autodetect
|
6
|
+
rescue
|
7
|
+
gsub_file 'Gemfile', "# gem 'therubyracer'", "gem 'therubyracer'"
|
8
|
+
end
|
6
9
|
rescue LoadError
|
7
10
|
abort "ExecJS is not installed. Please re-start the installer after running:\ngem install execjs"
|
8
11
|
end
|
@@ -11,24 +14,33 @@ if File.read("#{destination_root}/Gemfile") !~ /assets.+coffee-rails/m
|
|
11
14
|
gem "coffee-rails", :group => :assets
|
12
15
|
end
|
13
16
|
|
14
|
-
|
17
|
+
if ENV['REFINERY_PATH']
|
18
|
+
append_file 'Gemfile' do
|
19
|
+
"
|
20
|
+
gem 'refinerycms', path: '#{ENV['REFINERY_PATH']}'
|
15
21
|
"
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
gem 'refinerycms-acts-as-indexed', '~> 1.0.0'
|
20
|
-
# gem 'refinerycms-blog', github: 'refinery/refinerycms-blog', branch: 'master'
|
21
|
-
# gem 'refinerycms-inquiries', github: 'refinery/refinerycms-inquiries', branch: 'master'
|
22
|
-
# gem 'refinerycms-search', github: 'refinery/refinerycms-search', branch: 'master'
|
23
|
-
# gem 'refinerycms-page-images', github: 'refinery/refinerycms-page-images', branch: 'master'
|
22
|
+
end
|
23
|
+
else
|
24
|
+
append_file 'Gemfile' do
|
24
25
|
"
|
26
|
+
gem 'refinerycms', git: 'https://github.com/refinery/refinerycms', branch: 'master'
|
27
|
+
"
|
28
|
+
end
|
25
29
|
end
|
26
30
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
31
|
+
append_file 'Gemfile' do
|
32
|
+
"
|
33
|
+
gem 'quiet_assets', group: :development
|
34
|
+
|
35
|
+
# Add support for searching inside Refinery's admin interface.
|
36
|
+
gem 'refinerycms-acts-as-indexed', ['~> 2.0', '>= 2.0.0']
|
37
|
+
|
38
|
+
# Add support for Refinery's custom fork of the visual editor WYMeditor.
|
39
|
+
gem 'refinerycms-wymeditor', ['~> 1.0', '>= 1.0.6']
|
40
|
+
|
41
|
+
# The default authentication adapter
|
42
|
+
gem 'refinerycms-authentication-devise', '~> 1.0'
|
43
|
+
"
|
32
44
|
end
|
33
45
|
|
34
46
|
run 'bundle install'
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'rbconfig'
|
2
|
-
VERSION_BAND = '
|
2
|
+
VERSION_BAND = '3.0'
|
3
|
+
MINOR_VERSION_BAND = '3.0.0'
|
3
4
|
|
4
5
|
# We want to ensure that you have an ExecJS runtime available!
|
5
6
|
begin
|
@@ -18,11 +19,13 @@ append_file 'Gemfile', <<-GEMFILE
|
|
18
19
|
gem 'refinerycms', '~> #{VERSION_BAND}'
|
19
20
|
|
20
21
|
# Optionally, specify additional Refinery CMS Extensions here:
|
21
|
-
gem 'refinerycms-acts-as-indexed', '~> 1.0.0'
|
22
|
-
|
23
|
-
|
24
|
-
# gem 'refinerycms-
|
25
|
-
# gem 'refinerycms-
|
22
|
+
gem 'refinerycms-acts-as-indexed', ['~> 1.0', '>= 1.0.0']
|
23
|
+
gem 'refinerycms-wymeditor', ['~> 1.0', '>= 1.0.6']
|
24
|
+
gem 'refinerycms-authentication-devise', '~> 1.0'
|
25
|
+
# gem 'refinerycms-blog', ['~> #{VERSION_BAND}', '>= #{MINOR_VERSION_BAND}']
|
26
|
+
# gem 'refinerycms-inquiries', ['~> #{VERSION_BAND}', '>= #{MINOR_VERSION_BAND}']
|
27
|
+
# gem 'refinerycms-search', ['~> #{VERSION_BAND}', '>= #{MINOR_VERSION_BAND}']
|
28
|
+
# gem 'refinerycms-page-images', ['~> #{VERSION_BAND}', '>= #{MINOR_VERSION_BAND}']
|
26
29
|
GEMFILE
|
27
30
|
|
28
31
|
begin
|
metadata
CHANGED
@@ -1,130 +1,82 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philip Arndt
|
8
8
|
- Uģis Ozols
|
9
9
|
- Rob Yurkowski
|
10
10
|
autorequire:
|
11
|
-
bindir:
|
11
|
+
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2015-09-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
16
|
-
name: bundler
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
18
|
-
requirements:
|
19
|
-
- - ">="
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 1.2.2
|
22
|
-
- - "<"
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: '2.0'
|
25
|
-
type: :runtime
|
26
|
-
prerelease: false
|
27
|
-
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
requirements:
|
29
|
-
- - ">="
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version: 1.2.2
|
32
|
-
- - "<"
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '2.0'
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: refinerycms-authentication
|
37
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - '='
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: 2.1.5
|
42
|
-
type: :runtime
|
43
|
-
prerelease: false
|
44
|
-
version_requirements: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - '='
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: 2.1.5
|
49
15
|
- !ruby/object:Gem::Dependency
|
50
16
|
name: refinerycms-core
|
51
17
|
requirement: !ruby/object:Gem::Requirement
|
52
18
|
requirements:
|
53
19
|
- - '='
|
54
20
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
21
|
+
version: 3.0.0
|
56
22
|
type: :runtime
|
57
23
|
prerelease: false
|
58
24
|
version_requirements: !ruby/object:Gem::Requirement
|
59
25
|
requirements:
|
60
26
|
- - '='
|
61
27
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: refinerycms-dashboard
|
65
|
-
requirement: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - '='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 2.1.5
|
70
|
-
type: :runtime
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - '='
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 2.1.5
|
28
|
+
version: 3.0.0
|
77
29
|
- !ruby/object:Gem::Dependency
|
78
30
|
name: refinerycms-images
|
79
31
|
requirement: !ruby/object:Gem::Requirement
|
80
32
|
requirements:
|
81
33
|
- - '='
|
82
34
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
35
|
+
version: 3.0.0
|
84
36
|
type: :runtime
|
85
37
|
prerelease: false
|
86
38
|
version_requirements: !ruby/object:Gem::Requirement
|
87
39
|
requirements:
|
88
40
|
- - '='
|
89
41
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
42
|
+
version: 3.0.0
|
91
43
|
- !ruby/object:Gem::Dependency
|
92
44
|
name: refinerycms-pages
|
93
45
|
requirement: !ruby/object:Gem::Requirement
|
94
46
|
requirements:
|
95
47
|
- - '='
|
96
48
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
49
|
+
version: 3.0.0
|
98
50
|
type: :runtime
|
99
51
|
prerelease: false
|
100
52
|
version_requirements: !ruby/object:Gem::Requirement
|
101
53
|
requirements:
|
102
54
|
- - '='
|
103
55
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
56
|
+
version: 3.0.0
|
105
57
|
- !ruby/object:Gem::Dependency
|
106
58
|
name: refinerycms-resources
|
107
59
|
requirement: !ruby/object:Gem::Requirement
|
108
60
|
requirements:
|
109
61
|
- - '='
|
110
62
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
63
|
+
version: 3.0.0
|
112
64
|
type: :runtime
|
113
65
|
prerelease: false
|
114
66
|
version_requirements: !ruby/object:Gem::Requirement
|
115
67
|
requirements:
|
116
68
|
- - '='
|
117
69
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
119
|
-
description: A Ruby on Rails CMS that supports Rails
|
120
|
-
|
121
|
-
email:
|
70
|
+
version: 3.0.0
|
71
|
+
description: A Ruby on Rails CMS that supports Rails 4.2. It's developer friendly
|
72
|
+
and easy to extend.
|
73
|
+
email: refinerycms@p.arndt.io
|
122
74
|
executables:
|
123
75
|
- refinerycms
|
124
76
|
extensions: []
|
125
77
|
extra_rdoc_files: []
|
126
78
|
files:
|
127
|
-
-
|
79
|
+
- exe/refinerycms
|
128
80
|
- lib/refinery/all.rb
|
129
81
|
- lib/refinerycms.rb
|
130
82
|
- templates/refinery/edge.rb
|
@@ -141,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
93
|
requirements:
|
142
94
|
- - ">="
|
143
95
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
96
|
+
version: 2.0.0
|
145
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
98
|
requirements:
|
147
99
|
- - ">="
|
@@ -149,8 +101,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
101
|
version: '0'
|
150
102
|
requirements: []
|
151
103
|
rubyforge_project: refinerycms
|
152
|
-
rubygems_version: 2.
|
104
|
+
rubygems_version: 2.4.5.1
|
153
105
|
signing_key:
|
154
106
|
specification_version: 4
|
155
|
-
summary: A Ruby on Rails CMS that supports Rails
|
107
|
+
summary: A Ruby on Rails CMS that supports Rails 4.2
|
156
108
|
test_files: []
|