refinerycms-core 0.9.9.1 → 0.9.9.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -36,7 +36,7 @@ class RefinerycmsGenerator < ::Refinery::Generators::EngineInstaller
|
|
36
36
|
Refinery.roots('core').join('public', 'stylesheets', ss)
|
37
37
|
}.reject{|ss| !ss.file?}.each do |stylesheet|
|
38
38
|
copy_file stylesheet,
|
39
|
-
Rails.root.join('public', 'stylesheets', stylesheet.
|
39
|
+
Rails.root.join('public', 'stylesheets', stylesheet.basename),
|
40
40
|
:verbose => true
|
41
41
|
end
|
42
42
|
copy_file Refinery.roots('core').join('public', 'javascripts', 'admin.js'),
|
@@ -91,7 +91,7 @@ class RefinerycmsGenerator < ::Refinery::Generators::EngineInstaller
|
|
91
91
|
self.options = force_options
|
92
92
|
# Seeds and migrations now need to be copied from their various engines.
|
93
93
|
existing_source_root = self.class.source_root
|
94
|
-
::Refinery::Plugins.registered.pathnames.reject{|p| !p.join('db').directory?}.
|
94
|
+
::Refinery::Plugins.registered.pathnames.reject{|p| !p.join('db').directory?}.each do |pathname|
|
95
95
|
self.class.source_root pathname
|
96
96
|
super
|
97
97
|
end
|
data/lib/refinery/plugins.rb
CHANGED
@@ -30,15 +30,15 @@ module Refinery
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def names
|
33
|
-
self.
|
33
|
+
self.map(&:name)
|
34
34
|
end
|
35
35
|
|
36
36
|
def pathnames
|
37
|
-
self.
|
37
|
+
self.map(&:pathname).compact.uniq
|
38
38
|
end
|
39
39
|
|
40
40
|
def titles
|
41
|
-
self.
|
41
|
+
self.map(&:title)
|
42
42
|
end
|
43
43
|
|
44
44
|
class << self
|
data/lib/tasks/refinery.rake
CHANGED
@@ -187,7 +187,7 @@ namespace :refinery do
|
|
187
187
|
Rails.root.join("db", "migrate").mkpath
|
188
188
|
migrations = Pathname.glob(Refinery.roots.map{|r| r.join("db", "migrate", "*.rb")}).reject{|m|
|
189
189
|
m.to_s =~ %r{\d+_create_refinerycms_.+?_schema\.rb} or
|
190
|
-
Dir[Rails.root.join('db', 'migrate', "*#{m.
|
190
|
+
Dir[Rails.root.join('db', 'migrate', "*#{m.basename.to_s.split(/\d+_/).last}")].any?
|
191
191
|
}
|
192
192
|
FileUtils::cp migrations,
|
193
193
|
Rails.root.join('db', 'migrate').cleanpath.to_s,
|
@@ -195,7 +195,7 @@ namespace :refinery do
|
|
195
195
|
|
196
196
|
Rails.root.join("db", "seeds").mkpath
|
197
197
|
Pathname.glob(Refinery.roots.map{|r| r.join('db', 'seeds', '*.rb')}).each do |seed|
|
198
|
-
unless (destination = Rails.root.join('db', 'seeds', seed.
|
198
|
+
unless (destination = Rails.root.join('db', 'seeds', seed.basename)).exist?
|
199
199
|
FileUtils::cp seed, destination.to_s, :verbose => verbose
|
200
200
|
end
|
201
201
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
$(document).ready(function(){
|
2
|
-
$('nav#actions.multilist > ul:not(.search_list) li a[href$=' + window.location.pathname + ']').not('.not_a_link a').parent().addClass('selected');
|
2
|
+
$('nav#actions.multilist > ul:not(.search_list) li a[href$="' + window.location.pathname + '"]').not('.not_a_link a').parent().addClass('selected');
|
3
3
|
if($('nav#actions.multilist > ul:not(.search_list) li.selected').length === 0) {
|
4
4
|
$('nav#actions.multilist > ul:not(.search_list) li a:nth(1)').parent().addClass('selected');
|
5
5
|
}
|
data/refinerycms-core.gemspec
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{refinerycms-core}
|
5
|
-
s.version = %q{0.9.9.
|
5
|
+
s.version = %q{0.9.9.2}
|
6
6
|
s.summary = %q{Core engine for Refinery CMS}
|
7
7
|
s.description = %q{The core of Refinery CMS. This handles the common functionality and is required by most engines}
|
8
|
-
s.date = %q{2011-02-
|
8
|
+
s.date = %q{2011-02-17}
|
9
9
|
s.email = %q{info@refinerycms.com}
|
10
10
|
s.homepage = %q{http://refinerycms.com}
|
11
11
|
s.rubyforge_project = %q{refinerycms}
|
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.require_paths = %w(lib)
|
15
15
|
s.executables = %w()
|
16
16
|
|
17
|
-
s.add_dependency 'refinerycms-base', '~> 0.9.9.
|
18
|
-
s.add_dependency 'refinerycms-settings', '~> 0.9.9.
|
17
|
+
s.add_dependency 'refinerycms-base', '~> 0.9.9.2'
|
18
|
+
s.add_dependency 'refinerycms-settings', '~> 0.9.9.2'
|
19
19
|
s.add_dependency 'refinerycms-generators', '~> 0.9.9.3'
|
20
20
|
s.add_dependency 'acts_as_indexed', '~> 0.7'
|
21
21
|
s.add_dependency 'friendly_id_globalize3', '~> 3.2.0'
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: refinerycms-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.9.9.
|
5
|
+
version: 0.9.9.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Resolve Digital
|
@@ -13,7 +13,7 @@ autorequire:
|
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
15
|
|
16
|
-
date: 2011-02-
|
16
|
+
date: 2011-02-17 00:00:00 +13:00
|
17
17
|
default_executable:
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
requirements:
|
25
25
|
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.9.9.
|
27
|
+
version: 0.9.9.2
|
28
28
|
type: :runtime
|
29
29
|
version_requirements: *id001
|
30
30
|
- !ruby/object:Gem::Dependency
|
@@ -35,7 +35,7 @@ dependencies:
|
|
35
35
|
requirements:
|
36
36
|
- - ~>
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version: 0.9.9.
|
38
|
+
version: 0.9.9.2
|
39
39
|
type: :runtime
|
40
40
|
version_requirements: *id002
|
41
41
|
- !ruby/object:Gem::Dependency
|