trusty-snippets-extension 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec7b674028c03a3d5eea2a8ec1fda07000f72c91
|
4
|
+
data.tar.gz: c205eac78ebc1216eaa5d8bc7f7c2978cab70653
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b24a3d8ccd209388401d613129457e37fbc4a239a2a2a2646e33c01493634727f2f4db07c71ca99fba504ef6104caad3c68eb307ed36ff0755f9b113ebebdd08
|
7
|
+
data.tar.gz: c7cb845b80ef00fa254e5b4db6ded377990aa9769d99ca51fe662f337ce82c82548df83cca7fd113a7978a1f95ae8a649d8eac6bb28b44a60ecacdcb10dfee15
|
data/Gemfile.lock
CHANGED
@@ -8,7 +8,7 @@ GIT
|
|
8
8
|
PATH
|
9
9
|
remote: .
|
10
10
|
specs:
|
11
|
-
trusty-snippets-extension (3.0.
|
11
|
+
trusty-snippets-extension (3.0.1)
|
12
12
|
rake (< 11.0)
|
13
13
|
trusty-cms (~> 3.0.0)
|
14
14
|
|
@@ -68,10 +68,10 @@ GEM
|
|
68
68
|
rack-test (>= 0.5.4)
|
69
69
|
xpath (~> 2.0)
|
70
70
|
chunky_png (1.3.8)
|
71
|
-
ckeditor (4.2.
|
71
|
+
ckeditor (4.2.4)
|
72
72
|
cocaine
|
73
73
|
orm_adapter (~> 0.5.0)
|
74
|
-
climate_control (0.
|
74
|
+
climate_control (0.2.0)
|
75
75
|
cliver (0.3.2)
|
76
76
|
cocaine (0.5.8)
|
77
77
|
climate_control (>= 0.0.3, < 1.0)
|
@@ -93,6 +93,8 @@ GEM
|
|
93
93
|
sass-rails (< 5.1)
|
94
94
|
sprockets (< 4.0)
|
95
95
|
concurrent-ruby (1.0.5)
|
96
|
+
css_parser (1.6.0)
|
97
|
+
addressable
|
96
98
|
daemons (1.2.4)
|
97
99
|
database_cleaner (1.3.0)
|
98
100
|
delocalize (0.4.0)
|
@@ -109,7 +111,7 @@ GEM
|
|
109
111
|
ffi (1.9.18)
|
110
112
|
globalid (0.4.0)
|
111
113
|
activesupport (>= 4.2.0)
|
112
|
-
haml (5.0.
|
114
|
+
haml (5.0.3)
|
113
115
|
temple (>= 0.8.0)
|
114
116
|
tilt
|
115
117
|
haml-rails (1.0.0)
|
@@ -134,7 +136,7 @@ GEM
|
|
134
136
|
libv8 (3.16.14.19)
|
135
137
|
loofah (2.0.3)
|
136
138
|
nokogiri (>= 1.5.9)
|
137
|
-
mail (2.6.
|
139
|
+
mail (2.6.6)
|
138
140
|
mime-types (>= 1.16, < 4)
|
139
141
|
method_source (0.8.2)
|
140
142
|
mime-types (3.1)
|
@@ -143,8 +145,8 @@ GEM
|
|
143
145
|
mini_portile2 (2.1.0)
|
144
146
|
minitest (5.10.1)
|
145
147
|
multi_json (1.12.1)
|
146
|
-
mysql2 (0.4.
|
147
|
-
nio4r (2.
|
148
|
+
mysql2 (0.4.9)
|
149
|
+
nio4r (2.1.0)
|
148
150
|
nokogiri (1.7.1)
|
149
151
|
mini_portile2 (~> 2.1.0)
|
150
152
|
orm_adapter (0.5.0)
|
@@ -164,7 +166,7 @@ GEM
|
|
164
166
|
pry (~> 0.10)
|
165
167
|
public_suffix (2.0.5)
|
166
168
|
rack (2.0.1)
|
167
|
-
rack-cache (1.7.
|
169
|
+
rack-cache (1.7.1)
|
168
170
|
rack (>= 0.4)
|
169
171
|
rack-test (0.6.3)
|
170
172
|
rack (>= 1.0)
|
@@ -193,11 +195,17 @@ GEM
|
|
193
195
|
rake (>= 0.8.7)
|
194
196
|
thor (>= 0.18.1, < 2.0)
|
195
197
|
rake (10.5.0)
|
196
|
-
rb-fsevent (0.
|
197
|
-
rb-inotify (0.9.
|
198
|
-
ffi (>= 0.5.0)
|
198
|
+
rb-fsevent (0.10.2)
|
199
|
+
rb-inotify (0.9.10)
|
200
|
+
ffi (>= 0.5.0, < 2)
|
199
201
|
rdoc (5.1.0)
|
200
202
|
ref (2.0.0)
|
203
|
+
roadie (3.2.2)
|
204
|
+
css_parser (~> 1.4)
|
205
|
+
nokogiri (~> 1.5)
|
206
|
+
roadie-rails (1.2.1)
|
207
|
+
railties (>= 3.0, < 5.2)
|
208
|
+
roadie (~> 3.1)
|
201
209
|
rspec-core (3.6.0)
|
202
210
|
rspec-support (~> 3.6.0)
|
203
211
|
rspec-expectations (3.6.0)
|
@@ -215,21 +223,21 @@ GEM
|
|
215
223
|
rspec-mocks (~> 3.6.0)
|
216
224
|
rspec-support (~> 3.6.0)
|
217
225
|
rspec-support (3.6.0)
|
218
|
-
ruby_parser (3.
|
219
|
-
sexp_processor (~> 4.
|
220
|
-
sass (3.4.
|
226
|
+
ruby_parser (3.10.1)
|
227
|
+
sexp_processor (~> 4.9)
|
228
|
+
sass (3.4.25)
|
221
229
|
sass-rails (5.0.6)
|
222
230
|
railties (>= 4.0.0, < 6)
|
223
231
|
sass (~> 3.1)
|
224
232
|
sprockets (>= 2.8, < 4.0)
|
225
233
|
sprockets-rails (>= 2.0, < 4.0)
|
226
234
|
tilt (>= 1.1, < 3)
|
227
|
-
sexp_processor (4.
|
235
|
+
sexp_processor (4.10.0)
|
228
236
|
slop (3.6.0)
|
229
237
|
sprockets (3.7.1)
|
230
238
|
concurrent-ruby (~> 1.0)
|
231
239
|
rack (> 1, < 3)
|
232
|
-
sprockets-rails (3.2.
|
240
|
+
sprockets-rails (3.2.1)
|
233
241
|
actionpack (>= 4.0)
|
234
242
|
activesupport (>= 4.0)
|
235
243
|
sprockets (>= 3.0.0)
|
@@ -244,8 +252,8 @@ GEM
|
|
244
252
|
rack (>= 1.0.0)
|
245
253
|
thor (0.19.4)
|
246
254
|
thread_safe (0.3.6)
|
247
|
-
tilt (2.0.
|
248
|
-
trusty-cms (3.0.
|
255
|
+
tilt (2.0.8)
|
256
|
+
trusty-cms (3.0.10)
|
249
257
|
RedCloth (~> 4.3.2)
|
250
258
|
acts_as_tree (~> 2.6.1)
|
251
259
|
bundler (~> 1.7)
|
@@ -261,9 +269,10 @@ GEM
|
|
261
269
|
rack (~> 2.0.1)
|
262
270
|
rack-cache (~> 1.7)
|
263
271
|
radius (~> 0.7)
|
264
|
-
rails (~> 5.0.
|
272
|
+
rails (~> 5.0.1)
|
265
273
|
rake (< 11.0)
|
266
274
|
rdoc (~> 5.1)
|
275
|
+
roadie-rails (~> 1.2.1)
|
267
276
|
sass-rails (~> 5.0.6)
|
268
277
|
stringex (~> 2.7.1)
|
269
278
|
therubyracer (~> 0.12.3)
|
@@ -279,7 +288,7 @@ GEM
|
|
279
288
|
websocket-driver (0.6.5)
|
280
289
|
websocket-extensions (>= 0.1.0)
|
281
290
|
websocket-extensions (0.1.2)
|
282
|
-
will_paginate (3.1.
|
291
|
+
will_paginate (3.1.6)
|
283
292
|
xpath (2.0.0)
|
284
293
|
nokogiri (~> 1.3)
|
285
294
|
|
@@ -302,4 +311,4 @@ DEPENDENCIES
|
|
302
311
|
trustygems (~> 0.2.0)
|
303
312
|
|
304
313
|
BUNDLED WITH
|
305
|
-
1.
|
314
|
+
1.16.0.pre.2
|
data/app/models/snippet.rb
CHANGED
@@ -1,11 +1,8 @@
|
|
1
1
|
class Snippet < ActiveRecord::Base
|
2
|
-
|
2
|
+
|
3
3
|
# Default Order
|
4
4
|
default_scope {order('name')}
|
5
5
|
|
6
|
-
# Accessible
|
7
|
-
attr_accessible :lock_version, :name, :content, :site_id
|
8
|
-
|
9
6
|
# Associations
|
10
7
|
belongs_to :created_by, :class_name => 'User'
|
11
8
|
belongs_to :updated_by, :class_name => 'User'
|
@@ -16,7 +13,7 @@ class Snippet < ActiveRecord::Base
|
|
16
13
|
validates_length_of :filter_id, :maximum => 25, :allow_nil => true
|
17
14
|
validates_format_of :name, :with => %r{\A\S*\z}
|
18
15
|
validates_uniqueness_of :name
|
19
|
-
|
16
|
+
|
20
17
|
object_id_attr :filter, TextFilter
|
21
18
|
|
22
19
|
def after_initialize
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-snippets-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Gay
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-
|
13
|
+
date: 2017-09-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: trusty-cms
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.
|
145
|
+
rubygems_version: 2.6.13
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: Snippets for Trusty CMS
|