refinerycms-core 2.0.9 → 2.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/config/locales/sv.yml +2 -2
- data/lib/generators/refinery/cms/cms_generator.rb +1 -0
- data/lib/generators/refinery/core/core_generator.rb +2 -1
- data/lib/generators/refinery/engine/templates/lib/generators/refinery/extension_plural_name_generator.rb.erb +1 -1
- data/lib/generators/refinery/form/templates/lib/generators/refinery/plural_name_generator.rb.erb +2 -2
- data/lib/refinery/version.rb +1 -1
- data/license.md +1 -1
- data/refinerycms-core.gemspec +4 -4
- metadata +91 -49
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: bd37a1ff4da0edba4be374e2f7a6335cedac5b7c
|
4
|
+
data.tar.gz: 1e4385da5be0262833618ef3afe30d7c162e6e1d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 60551883a9eb104fd685f613c910a0c06b55ce409114ed925b407ccaadfe379e3e26107d0345119e9cf6df742178fb4ec75278cc5eb3d7cca49f688167074032
|
7
|
+
data.tar.gz: f67a2c714f8b58a46bd473eb079289814cc7a8aa99840cadf3677f95d69693baf3dd11515bc5ad1f08c773944679641f0c3de38b455084558a768781fd15e1e3
|
data/config/locales/sv.yml
CHANGED
@@ -3,7 +3,7 @@ sv:
|
|
3
3
|
plugins:
|
4
4
|
refinery_core:
|
5
5
|
title: Refinery
|
6
|
-
description:
|
6
|
+
description: Kärnprogrammet för Refinery
|
7
7
|
refinery_dialogs:
|
8
8
|
title: Dialoger
|
9
9
|
description: Refinery dialoger tillägsprogram
|
@@ -50,7 +50,7 @@ sv:
|
|
50
50
|
results_for: Sökresultat för '%{query}'
|
51
51
|
no_results: Tyvärr, sökningen gav inga träffar.
|
52
52
|
delete:
|
53
|
-
message: Är du säker på att du vill ta bort
|
53
|
+
message: 'Är du säker på att du vill ta bort %{title}?'
|
54
54
|
error_messages:
|
55
55
|
problems_in_following_fields: Det uppstod problem med följande fält
|
56
56
|
help: hjälp
|
@@ -202,6 +202,7 @@ gem 'pg'
|
|
202
202
|
def run_additional_generators!
|
203
203
|
generator_args = []
|
204
204
|
generator_args << '--quiet' if self.options[:quiet]
|
205
|
+
generator_args << '--skip-migrations' if self.options[:skip_migrations]
|
205
206
|
Refinery::CoreGenerator.start generator_args
|
206
207
|
Refinery::AuthenticationGenerator.start generator_args if defined?(Refinery::AuthenticationGenerator)
|
207
208
|
Refinery::ResourcesGenerator.start generator_args if defined?(Refinery::ResourcesGenerator)
|
@@ -3,7 +3,8 @@ module Refinery
|
|
3
3
|
source_root File.expand_path('../templates', __FILE__)
|
4
4
|
|
5
5
|
def generate_refinery_initializer
|
6
|
-
template "config/initializers/refinery/core.rb.erb",
|
6
|
+
template "config/initializers/refinery/core.rb.erb",
|
7
|
+
File.join(destination_root, "config", "initializers", "refinery", "core.rb")
|
7
8
|
end
|
8
9
|
end
|
9
10
|
end
|
@@ -2,7 +2,7 @@ module Refinery
|
|
2
2
|
class <%= extension_plural_class_name %>Generator < Rails::Generators::Base
|
3
3
|
|
4
4
|
def rake_db
|
5
|
-
rake
|
5
|
+
rake "refinery_<%= extension_plural_name %>:install:migrations"
|
6
6
|
end
|
7
7
|
|
8
8
|
def append_load_seed_data
|
data/lib/generators/refinery/form/templates/lib/generators/refinery/plural_name_generator.rb.erb
CHANGED
@@ -2,8 +2,8 @@ module Refinery
|
|
2
2
|
class <%= extension_plural_class_name %>Generator < Rails::Generators::Base
|
3
3
|
|
4
4
|
def rake_db
|
5
|
-
rake
|
6
|
-
rake
|
5
|
+
rake "refinery_<%= extension_plural_name %>:install:migrations"
|
6
|
+
rake "refinery_settings:install:migrations"
|
7
7
|
end
|
8
8
|
|
9
9
|
def append_load_seed_data
|
data/lib/refinery/version.rb
CHANGED
data/license.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# MIT License
|
2
2
|
|
3
|
-
Copyright (c) 2005-
|
3
|
+
Copyright (c) 2005-2013 [Resolve Digital](http://www.resolvedigital.com)
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/refinerycms-core.gemspec
CHANGED
@@ -21,11 +21,11 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
22
22
|
|
23
23
|
s.add_dependency 'acts_as_indexed', '~> 0.7.7'
|
24
|
-
s.add_dependency 'friendly_id', '~> 4.0.
|
25
|
-
s.add_dependency 'globalize3', '~> 0.
|
24
|
+
s.add_dependency 'friendly_id', '~> 4.0.9'
|
25
|
+
s.add_dependency 'globalize3', '~> 0.3.0'
|
26
26
|
s.add_dependency 'awesome_nested_set', '~> 2.1.3'
|
27
|
-
s.add_dependency 'rails', ['>= 3.1.
|
28
|
-
s.add_dependency 'truncate_html', '~> 0.5'
|
27
|
+
s.add_dependency 'rails', ['>= 3.1.11', '< 3.3'] | 0.upto(11).map{|i| "!= 3.2.#{i}"}
|
28
|
+
s.add_dependency 'truncate_html', '~> 0.5.5'
|
29
29
|
s.add_dependency 'will_paginate', '~> 3.0.2'
|
30
30
|
s.add_dependency 'sass-rails', '~> 3.2.3'
|
31
31
|
s.add_dependency 'coffee-rails', '~> 3.2.1'
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
5
|
-
prerelease:
|
4
|
+
version: 2.0.10
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Philip Arndt
|
@@ -11,12 +10,11 @@ authors:
|
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date:
|
13
|
+
date: 2013-03-14 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: acts_as_indexed
|
18
17
|
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
18
|
requirements:
|
21
19
|
- - ~>
|
22
20
|
- !ruby/object:Gem::Version
|
@@ -24,7 +22,6 @@ dependencies:
|
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
24
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
25
|
requirements:
|
29
26
|
- - ~>
|
30
27
|
- !ruby/object:Gem::Version
|
@@ -32,39 +29,34 @@ dependencies:
|
|
32
29
|
- !ruby/object:Gem::Dependency
|
33
30
|
name: friendly_id
|
34
31
|
requirement: !ruby/object:Gem::Requirement
|
35
|
-
none: false
|
36
32
|
requirements:
|
37
33
|
- - ~>
|
38
34
|
- !ruby/object:Gem::Version
|
39
|
-
version: 4.0.
|
35
|
+
version: 4.0.9
|
40
36
|
type: :runtime
|
41
37
|
prerelease: false
|
42
38
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
39
|
requirements:
|
45
40
|
- - ~>
|
46
41
|
- !ruby/object:Gem::Version
|
47
|
-
version: 4.0.
|
42
|
+
version: 4.0.9
|
48
43
|
- !ruby/object:Gem::Dependency
|
49
44
|
name: globalize3
|
50
45
|
requirement: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
46
|
requirements:
|
53
47
|
- - ~>
|
54
48
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
49
|
+
version: 0.3.0
|
56
50
|
type: :runtime
|
57
51
|
prerelease: false
|
58
52
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
53
|
requirements:
|
61
54
|
- - ~>
|
62
55
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.
|
56
|
+
version: 0.3.0
|
64
57
|
- !ruby/object:Gem::Dependency
|
65
58
|
name: awesome_nested_set
|
66
59
|
requirement: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
60
|
requirements:
|
69
61
|
- - ~>
|
70
62
|
- !ruby/object:Gem::Version
|
@@ -72,7 +64,6 @@ dependencies:
|
|
72
64
|
type: :runtime
|
73
65
|
prerelease: false
|
74
66
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
67
|
requirements:
|
77
68
|
- - ~>
|
78
69
|
- !ruby/object:Gem::Version
|
@@ -80,45 +71,112 @@ dependencies:
|
|
80
71
|
- !ruby/object:Gem::Dependency
|
81
72
|
name: rails
|
82
73
|
requirement: !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
74
|
requirements:
|
85
|
-
- -
|
75
|
+
- - '>='
|
86
76
|
- !ruby/object:Gem::Version
|
87
|
-
version: 3.1.
|
77
|
+
version: 3.1.11
|
88
78
|
- - <
|
89
79
|
- !ruby/object:Gem::Version
|
90
80
|
version: '3.3'
|
81
|
+
- - '!='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 3.2.0
|
84
|
+
- - '!='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 3.2.1
|
87
|
+
- - '!='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 3.2.2
|
90
|
+
- - '!='
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 3.2.3
|
93
|
+
- - '!='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: 3.2.4
|
96
|
+
- - '!='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 3.2.5
|
99
|
+
- - '!='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 3.2.6
|
102
|
+
- - '!='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 3.2.7
|
105
|
+
- - '!='
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: 3.2.8
|
108
|
+
- - '!='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.2.9
|
111
|
+
- - '!='
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: 3.2.10
|
114
|
+
- - '!='
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 3.2.11
|
91
117
|
type: :runtime
|
92
118
|
prerelease: false
|
93
119
|
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
none: false
|
95
120
|
requirements:
|
96
|
-
- -
|
121
|
+
- - '>='
|
97
122
|
- !ruby/object:Gem::Version
|
98
|
-
version: 3.1.
|
123
|
+
version: 3.1.11
|
99
124
|
- - <
|
100
125
|
- !ruby/object:Gem::Version
|
101
126
|
version: '3.3'
|
127
|
+
- - '!='
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: 3.2.0
|
130
|
+
- - '!='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 3.2.1
|
133
|
+
- - '!='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: 3.2.2
|
136
|
+
- - '!='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 3.2.3
|
139
|
+
- - '!='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 3.2.4
|
142
|
+
- - '!='
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 3.2.5
|
145
|
+
- - '!='
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: 3.2.6
|
148
|
+
- - '!='
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: 3.2.7
|
151
|
+
- - '!='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: 3.2.8
|
154
|
+
- - '!='
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: 3.2.9
|
157
|
+
- - '!='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 3.2.10
|
160
|
+
- - '!='
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 3.2.11
|
102
163
|
- !ruby/object:Gem::Dependency
|
103
164
|
name: truncate_html
|
104
165
|
requirement: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
166
|
requirements:
|
107
167
|
- - ~>
|
108
168
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
169
|
+
version: 0.5.5
|
110
170
|
type: :runtime
|
111
171
|
prerelease: false
|
112
172
|
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
173
|
requirements:
|
115
174
|
- - ~>
|
116
175
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
176
|
+
version: 0.5.5
|
118
177
|
- !ruby/object:Gem::Dependency
|
119
178
|
name: will_paginate
|
120
179
|
requirement: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
180
|
requirements:
|
123
181
|
- - ~>
|
124
182
|
- !ruby/object:Gem::Version
|
@@ -126,7 +184,6 @@ dependencies:
|
|
126
184
|
type: :runtime
|
127
185
|
prerelease: false
|
128
186
|
version_requirements: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
187
|
requirements:
|
131
188
|
- - ~>
|
132
189
|
- !ruby/object:Gem::Version
|
@@ -134,7 +191,6 @@ dependencies:
|
|
134
191
|
- !ruby/object:Gem::Dependency
|
135
192
|
name: sass-rails
|
136
193
|
requirement: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
194
|
requirements:
|
139
195
|
- - ~>
|
140
196
|
- !ruby/object:Gem::Version
|
@@ -142,7 +198,6 @@ dependencies:
|
|
142
198
|
type: :runtime
|
143
199
|
prerelease: false
|
144
200
|
version_requirements: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
201
|
requirements:
|
147
202
|
- - ~>
|
148
203
|
- !ruby/object:Gem::Version
|
@@ -150,7 +205,6 @@ dependencies:
|
|
150
205
|
- !ruby/object:Gem::Dependency
|
151
206
|
name: coffee-rails
|
152
207
|
requirement: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
208
|
requirements:
|
155
209
|
- - ~>
|
156
210
|
- !ruby/object:Gem::Version
|
@@ -158,7 +212,6 @@ dependencies:
|
|
158
212
|
type: :runtime
|
159
213
|
prerelease: false
|
160
214
|
version_requirements: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
215
|
requirements:
|
163
216
|
- - ~>
|
164
217
|
- !ruby/object:Gem::Version
|
@@ -166,23 +219,20 @@ dependencies:
|
|
166
219
|
- !ruby/object:Gem::Dependency
|
167
220
|
name: uglifier
|
168
221
|
requirement: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
222
|
requirements:
|
171
|
-
- -
|
223
|
+
- - '>='
|
172
224
|
- !ruby/object:Gem::Version
|
173
225
|
version: 1.0.3
|
174
226
|
type: :runtime
|
175
227
|
prerelease: false
|
176
228
|
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
229
|
requirements:
|
179
|
-
- -
|
230
|
+
- - '>='
|
180
231
|
- !ruby/object:Gem::Version
|
181
232
|
version: 1.0.3
|
182
233
|
- !ruby/object:Gem::Dependency
|
183
234
|
name: jquery-rails
|
184
235
|
requirement: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
236
|
requirements:
|
187
237
|
- - ~>
|
188
238
|
- !ruby/object:Gem::Version
|
@@ -190,7 +240,6 @@ dependencies:
|
|
190
240
|
type: :runtime
|
191
241
|
prerelease: false
|
192
242
|
version_requirements: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
243
|
requirements:
|
195
244
|
- - ~>
|
196
245
|
- !ruby/object:Gem::Version
|
@@ -691,33 +740,26 @@ files:
|
|
691
740
|
homepage: http://refinerycms.com
|
692
741
|
licenses:
|
693
742
|
- MIT
|
743
|
+
metadata: {}
|
694
744
|
post_install_message:
|
695
745
|
rdoc_options: []
|
696
746
|
require_paths:
|
697
747
|
- lib
|
698
748
|
required_ruby_version: !ruby/object:Gem::Requirement
|
699
|
-
none: false
|
700
749
|
requirements:
|
701
|
-
- -
|
750
|
+
- - '>='
|
702
751
|
- !ruby/object:Gem::Version
|
703
752
|
version: '0'
|
704
|
-
segments:
|
705
|
-
- 0
|
706
|
-
hash: 4391565474515124907
|
707
753
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
708
|
-
none: false
|
709
754
|
requirements:
|
710
|
-
- -
|
755
|
+
- - '>='
|
711
756
|
- !ruby/object:Gem::Version
|
712
757
|
version: '0'
|
713
|
-
segments:
|
714
|
-
- 0
|
715
|
-
hash: 4391565474515124907
|
716
758
|
requirements: []
|
717
759
|
rubyforge_project: refinerycms
|
718
|
-
rubygems_version:
|
760
|
+
rubygems_version: 2.0.3
|
719
761
|
signing_key:
|
720
|
-
specification_version:
|
762
|
+
specification_version: 4
|
721
763
|
summary: Core extension for Refinery CMS
|
722
764
|
test_files:
|
723
765
|
- spec/controllers/refinery/admin/refinery_core_controller_spec.rb
|