refinerycms-settings 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile
CHANGED
@@ -2,14 +2,10 @@ source 'http://rubygems.org'
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
gem '
|
5
|
+
gem 'refinerycms', '~> 2.0.1'
|
6
6
|
|
7
|
-
|
8
|
-
gem 'refinerycms'
|
9
|
-
|
10
|
-
group :development, :test do
|
11
|
-
gem 'refinerycms-testing'
|
12
|
-
end
|
7
|
+
group :development, :test do
|
8
|
+
gem 'refinerycms-testing', '~> 2.0.0'
|
13
9
|
end
|
14
10
|
|
15
11
|
group :development, :test do
|
@@ -14,7 +14,7 @@ module Refinery
|
|
14
14
|
plugin.name = 'refinery_settings'
|
15
15
|
plugin.version = %q{2.0.0}
|
16
16
|
plugin.menu_match = %r{refinery/settings$}
|
17
|
-
plugin.url = {
|
17
|
+
plugin.url = proc { Refinery::Core::Engine.routes.url_helpers.admin_settings_path }
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
data/lib/refinery/settings.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.name = %q{refinerycms-settings}
|
6
|
-
s.version = %q{2.0.
|
6
|
+
s.version = %q{2.0.1}
|
7
7
|
s.summary = %q{Settings engine for Refinery CMS}
|
8
8
|
s.description = %q{Adds programmer creatable, user editable settings.}
|
9
9
|
s.email = %q{info@refinerycms.com}
|
@@ -16,5 +16,5 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.files = `git ls-files`.split("\n")
|
17
17
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
18
18
|
|
19
|
-
s.add_dependency 'refinerycms-core', '2.0.
|
19
|
+
s.add_dependency 'refinerycms-core', '~> 2.0.1'
|
20
20
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms-settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
9
|
+
- 1
|
10
|
+
version: 2.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Philip Arndt
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-03-
|
19
|
+
date: 2012-03-05 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: refinerycms-core
|
@@ -24,14 +24,14 @@ dependencies:
|
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 13
|
30
30
|
segments:
|
31
31
|
- 2
|
32
32
|
- 0
|
33
|
-
-
|
34
|
-
version: 2.0.
|
33
|
+
- 1
|
34
|
+
version: 2.0.1
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
description: Adds programmer creatable, user editable settings.
|
@@ -90,7 +90,7 @@ files:
|
|
90
90
|
- config/locales/zh-TW.yml
|
91
91
|
- config/routes.rb
|
92
92
|
- db/migrate/20100913234710_create_refinerycms_settings_schema.rb
|
93
|
-
- lib/
|
93
|
+
- lib/generators/refinery/settings_generator.rb
|
94
94
|
- lib/refinery/settings.rb
|
95
95
|
- lib/refinery/settings/engine.rb
|
96
96
|
- lib/refinerycms-settings.rb
|
@@ -1,20 +0,0 @@
|
|
1
|
-
module Refinery
|
2
|
-
class SettingsGenerator < Rails::Generators::Base
|
3
|
-
|
4
|
-
def rake_db
|
5
|
-
rake("refinery_settings:install:migrations")
|
6
|
-
end
|
7
|
-
|
8
|
-
def append_load_seed_data
|
9
|
-
create_file 'db/seeds.rb' unless File.exists?(File.join(destination_root, 'db', 'seeds.rb'))
|
10
|
-
append_file 'db/seeds.rb', :verbose => true do
|
11
|
-
<<-EOH
|
12
|
-
|
13
|
-
# Added by Refinery CMS Settings engine
|
14
|
-
Refinery::Settings::Engine.load_seed
|
15
|
-
EOH
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
end
|
20
|
-
end
|