trusty-multi-site-extension 3.0.2 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -4
- data/Gemfile.lock +60 -77
- data/db/migrate/001_create_sites.rb +1 -1
- data/db/migrate/002_add_order_to_sites.rb +1 -1
- data/db/migrate/003_add_base_domain_to_sites.rb +1 -1
- data/db/migrate/004_add_admin_fields_to_sites.rb +1 -1
- data/db/migrate/005_add_sites.rb +1 -1
- data/db/migrate/006_remove_user_login_index.rb +1 -1
- data/db/migrate/20090810145840_site_abbreviation.rb +1 -1
- data/db/migrate/201411031415046078_recreate_non_unique_index_on_snippets_name.rb +1 -1
- data/db/migrate/2015032011031415046078_add_site_id_to_pages.rb +1 -1
- data/trusty-multi-site-extension.gemspec +3 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46a5a17c76089b31f9d1ad5446ba5da154a3a22e
|
4
|
+
data.tar.gz: 71d96399fde64f163cf874750c8e095ddf6ef8ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62b9ecff2f7ffc97c43abdeaf6bf35e76db5ac3b56bcdb236f11d803170b3e1d14c4b274ca7a046dfd25965eedea8ee9a38e8ac9569e3397f2ed83dc74e684ea
|
7
|
+
data.tar.gz: f1447146de857ec3a44c4fe91ef3d6ad68d1fa9357ce5513a650544ceac7c6576b17785e21f282b6613d3dfa25b981fc612ac1274e01cb1f9432ab89dac72688
|
data/Gemfile
CHANGED
@@ -12,15 +12,12 @@ gem 'trustygems', '~> 0.2.0'
|
|
12
12
|
gemspec
|
13
13
|
|
14
14
|
group :development, :test do
|
15
|
-
gem 'thin', '~> 1.6.2'
|
16
15
|
gem 'pry', '~> 0.10.0'
|
17
16
|
gem 'capybara', '~> 2.14.0'
|
18
17
|
gem 'rspec-rails'
|
19
18
|
gem 'launchy', '~> 2.4.2'
|
20
19
|
gem 'database_cleaner', '~> 1.3.0'
|
21
20
|
gem 'poltergeist', '~> 1.5.1'
|
22
|
-
gem 'factory_girl_rails'
|
23
|
-
gem 'rails-observers', :git => 'https://github.com/rails/rails-observers'
|
24
|
-
gem 'protected_attributes_continued'
|
21
|
+
gem 'factory_girl_rails'
|
25
22
|
gem "pry-byebug"
|
26
23
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,56 +1,49 @@
|
|
1
|
-
GIT
|
2
|
-
remote: https://github.com/rails/rails-observers
|
3
|
-
revision: 7d3c9c331242d58ed8ebdbd2eff1f7d6f68a1b2c
|
4
|
-
specs:
|
5
|
-
rails-observers (0.1.3.alpha)
|
6
|
-
activemodel (>= 4.0, < 5.1)
|
7
|
-
|
8
1
|
PATH
|
9
2
|
remote: .
|
10
3
|
specs:
|
11
|
-
trusty-multi-site-extension (3.0
|
4
|
+
trusty-multi-site-extension (3.1.0)
|
12
5
|
acts_as_list (= 0.9.5)
|
13
6
|
rake (< 11.0)
|
14
|
-
trusty-cms (~> 3.
|
15
|
-
trusty-snippets-extension (~> 3.
|
7
|
+
trusty-cms (~> 3.1.0)
|
8
|
+
trusty-snippets-extension (~> 3.1.0)
|
16
9
|
|
17
10
|
GEM
|
18
11
|
remote: https://rubygems.org/
|
19
12
|
specs:
|
20
13
|
RedCloth (4.3.2)
|
21
|
-
actioncable (5.
|
22
|
-
actionpack (= 5.
|
23
|
-
nio4r (
|
14
|
+
actioncable (5.1.3)
|
15
|
+
actionpack (= 5.1.3)
|
16
|
+
nio4r (~> 2.0)
|
24
17
|
websocket-driver (~> 0.6.1)
|
25
|
-
actionmailer (5.
|
26
|
-
actionpack (= 5.
|
27
|
-
actionview (= 5.
|
28
|
-
activejob (= 5.
|
18
|
+
actionmailer (5.1.3)
|
19
|
+
actionpack (= 5.1.3)
|
20
|
+
actionview (= 5.1.3)
|
21
|
+
activejob (= 5.1.3)
|
29
22
|
mail (~> 2.5, >= 2.5.4)
|
30
23
|
rails-dom-testing (~> 2.0)
|
31
|
-
actionpack (5.
|
32
|
-
actionview (= 5.
|
33
|
-
activesupport (= 5.
|
24
|
+
actionpack (5.1.3)
|
25
|
+
actionview (= 5.1.3)
|
26
|
+
activesupport (= 5.1.3)
|
34
27
|
rack (~> 2.0)
|
35
28
|
rack-test (~> 0.6.3)
|
36
29
|
rails-dom-testing (~> 2.0)
|
37
30
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
38
|
-
actionview (5.
|
39
|
-
activesupport (= 5.
|
31
|
+
actionview (5.1.3)
|
32
|
+
activesupport (= 5.1.3)
|
40
33
|
builder (~> 3.1)
|
41
|
-
|
34
|
+
erubi (~> 1.4)
|
42
35
|
rails-dom-testing (~> 2.0)
|
43
36
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
44
|
-
activejob (5.
|
45
|
-
activesupport (= 5.
|
37
|
+
activejob (5.1.3)
|
38
|
+
activesupport (= 5.1.3)
|
46
39
|
globalid (>= 0.3.6)
|
47
|
-
activemodel (5.
|
48
|
-
activesupport (= 5.
|
49
|
-
activerecord (5.
|
50
|
-
activemodel (= 5.
|
51
|
-
activesupport (= 5.
|
52
|
-
arel (~>
|
53
|
-
activesupport (5.
|
40
|
+
activemodel (5.1.3)
|
41
|
+
activesupport (= 5.1.3)
|
42
|
+
activerecord (5.1.3)
|
43
|
+
activemodel (= 5.1.3)
|
44
|
+
activesupport (= 5.1.3)
|
45
|
+
arel (~> 8.0)
|
46
|
+
activesupport (5.1.3)
|
54
47
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
55
48
|
i18n (~> 0.7)
|
56
49
|
minitest (~> 5.1)
|
@@ -61,10 +54,10 @@ GEM
|
|
61
54
|
activerecord (>= 3.0.0)
|
62
55
|
addressable (2.5.1)
|
63
56
|
public_suffix (~> 2.0, >= 2.0.2)
|
64
|
-
arel (
|
57
|
+
arel (8.0.0)
|
65
58
|
builder (3.2.3)
|
66
59
|
byebug (9.0.6)
|
67
|
-
capybara (2.14.
|
60
|
+
capybara (2.14.4)
|
68
61
|
addressable
|
69
62
|
mime-types (>= 1.16)
|
70
63
|
nokogiri (>= 1.3.3)
|
@@ -99,18 +92,17 @@ GEM
|
|
99
92
|
concurrent-ruby (1.0.5)
|
100
93
|
css_parser (1.5.0)
|
101
94
|
addressable
|
102
|
-
daemons (1.2.4)
|
103
95
|
database_cleaner (1.3.0)
|
104
96
|
delocalize (0.4.0)
|
105
97
|
rails (>= 3.0)
|
106
98
|
diff-lcs (1.3)
|
99
|
+
erubi (1.6.1)
|
107
100
|
erubis (2.7.0)
|
108
|
-
eventmachine (1.2.3)
|
109
101
|
execjs (2.7.0)
|
110
|
-
factory_girl (4.
|
102
|
+
factory_girl (4.8.0)
|
111
103
|
activesupport (>= 3.0.0)
|
112
|
-
factory_girl_rails (4.
|
113
|
-
factory_girl (~> 4.
|
104
|
+
factory_girl_rails (4.8.0)
|
105
|
+
factory_girl (~> 4.8.0)
|
114
106
|
railties (>= 3.0.0)
|
115
107
|
ffi (1.9.18)
|
116
108
|
globalid (0.4.0)
|
@@ -130,7 +122,7 @@ GEM
|
|
130
122
|
haml (>= 4.0, < 6)
|
131
123
|
nokogiri (>= 1.6.0)
|
132
124
|
ruby_parser (~> 3.5)
|
133
|
-
i18n (0.8.
|
125
|
+
i18n (0.8.6)
|
134
126
|
jquery-rails (4.3.1)
|
135
127
|
rails-dom-testing (>= 1, < 3)
|
136
128
|
railties (>= 4.2.0)
|
@@ -146,21 +138,19 @@ GEM
|
|
146
138
|
mime-types (3.1)
|
147
139
|
mime-types-data (~> 3.2015)
|
148
140
|
mime-types-data (3.2016.0521)
|
149
|
-
mini_portile2 (2.
|
150
|
-
minitest (5.10.
|
141
|
+
mini_portile2 (2.2.0)
|
142
|
+
minitest (5.10.3)
|
151
143
|
multi_json (1.12.1)
|
152
144
|
mysql2 (0.4.8)
|
153
145
|
nio4r (2.1.0)
|
154
|
-
nokogiri (1.
|
155
|
-
mini_portile2 (~> 2.
|
146
|
+
nokogiri (1.8.0)
|
147
|
+
mini_portile2 (~> 2.2.0)
|
156
148
|
orm_adapter (0.5.0)
|
157
149
|
poltergeist (1.5.1)
|
158
150
|
capybara (~> 2.1)
|
159
151
|
cliver (~> 0.3.1)
|
160
152
|
multi_json (~> 1.0)
|
161
153
|
websocket-driver (>= 0.2.0)
|
162
|
-
protected_attributes_continued (1.3.0)
|
163
|
-
activemodel (~> 5.0)
|
164
154
|
pry (0.10.4)
|
165
155
|
coderay (~> 1.1.0)
|
166
156
|
method_source (~> 0.8.1)
|
@@ -169,32 +159,32 @@ GEM
|
|
169
159
|
byebug (~> 9.0)
|
170
160
|
pry (~> 0.10)
|
171
161
|
public_suffix (2.0.5)
|
172
|
-
rack (2.0.
|
162
|
+
rack (2.0.3)
|
173
163
|
rack-cache (1.7.0)
|
174
164
|
rack (>= 0.4)
|
175
165
|
rack-test (0.6.3)
|
176
166
|
rack (>= 1.0)
|
177
167
|
radius (0.7.4)
|
178
|
-
rails (5.
|
179
|
-
actioncable (= 5.
|
180
|
-
actionmailer (= 5.
|
181
|
-
actionpack (= 5.
|
182
|
-
actionview (= 5.
|
183
|
-
activejob (= 5.
|
184
|
-
activemodel (= 5.
|
185
|
-
activerecord (= 5.
|
186
|
-
activesupport (= 5.
|
187
|
-
bundler (>= 1.3.0
|
188
|
-
railties (= 5.
|
168
|
+
rails (5.1.3)
|
169
|
+
actioncable (= 5.1.3)
|
170
|
+
actionmailer (= 5.1.3)
|
171
|
+
actionpack (= 5.1.3)
|
172
|
+
actionview (= 5.1.3)
|
173
|
+
activejob (= 5.1.3)
|
174
|
+
activemodel (= 5.1.3)
|
175
|
+
activerecord (= 5.1.3)
|
176
|
+
activesupport (= 5.1.3)
|
177
|
+
bundler (>= 1.3.0)
|
178
|
+
railties (= 5.1.3)
|
189
179
|
sprockets-rails (>= 2.0.0)
|
190
|
-
rails-dom-testing (2.0.
|
191
|
-
activesupport (>= 4.2.0
|
192
|
-
nokogiri (
|
180
|
+
rails-dom-testing (2.0.3)
|
181
|
+
activesupport (>= 4.2.0)
|
182
|
+
nokogiri (>= 1.6)
|
193
183
|
rails-html-sanitizer (1.0.3)
|
194
184
|
loofah (~> 2.0)
|
195
|
-
railties (5.
|
196
|
-
actionpack (= 5.
|
197
|
-
activesupport (= 5.
|
185
|
+
railties (5.1.3)
|
186
|
+
actionpack (= 5.1.3)
|
187
|
+
activesupport (= 5.1.3)
|
198
188
|
method_source
|
199
189
|
rake (>= 0.8.7)
|
200
190
|
thor (>= 0.18.1, < 2.0)
|
@@ -250,14 +240,10 @@ GEM
|
|
250
240
|
therubyracer (0.12.3)
|
251
241
|
libv8 (~> 3.16.14.15)
|
252
242
|
ref
|
253
|
-
thin (1.6.2)
|
254
|
-
daemons (>= 1.0.9)
|
255
|
-
eventmachine (>= 1.0.0)
|
256
|
-
rack (>= 1.0.0)
|
257
243
|
thor (0.19.4)
|
258
244
|
thread_safe (0.3.6)
|
259
245
|
tilt (2.0.8)
|
260
|
-
trusty-cms (3.0
|
246
|
+
trusty-cms (3.1.0)
|
261
247
|
RedCloth (~> 4.3.2)
|
262
248
|
acts_as_tree (~> 2.6.1)
|
263
249
|
bundler (~> 1.7)
|
@@ -273,7 +259,7 @@ GEM
|
|
273
259
|
rack (~> 2.0.1)
|
274
260
|
rack-cache (~> 1.7)
|
275
261
|
radius (~> 0.7)
|
276
|
-
rails (~> 5.
|
262
|
+
rails (~> 5.1)
|
277
263
|
rake (< 11.0)
|
278
264
|
rdoc (~> 5.1)
|
279
265
|
roadie-rails (~> 1.2.1)
|
@@ -283,9 +269,9 @@ GEM
|
|
283
269
|
tzinfo (~> 1.2.3)
|
284
270
|
uglifier (~> 3.2)
|
285
271
|
will_paginate (~> 3.0)
|
286
|
-
trusty-snippets-extension (3.
|
272
|
+
trusty-snippets-extension (3.1.0)
|
287
273
|
rake (< 11.0)
|
288
|
-
trusty-cms (~> 3.
|
274
|
+
trusty-cms (~> 3.1.0)
|
289
275
|
trustygems (0.2.1)
|
290
276
|
rake
|
291
277
|
tzinfo (1.2.3)
|
@@ -296,7 +282,7 @@ GEM
|
|
296
282
|
websocket-extensions (>= 0.1.0)
|
297
283
|
websocket-extensions (0.1.2)
|
298
284
|
will_paginate (3.1.6)
|
299
|
-
xpath (2.
|
285
|
+
xpath (2.1.0)
|
300
286
|
nokogiri (~> 1.3)
|
301
287
|
|
302
288
|
PLATFORMS
|
@@ -305,15 +291,12 @@ PLATFORMS
|
|
305
291
|
DEPENDENCIES
|
306
292
|
capybara (~> 2.14.0)
|
307
293
|
database_cleaner (~> 1.3.0)
|
308
|
-
factory_girl_rails
|
294
|
+
factory_girl_rails
|
309
295
|
launchy (~> 2.4.2)
|
310
296
|
poltergeist (~> 1.5.1)
|
311
|
-
protected_attributes_continued
|
312
297
|
pry (~> 0.10.0)
|
313
298
|
pry-byebug
|
314
|
-
rails-observers!
|
315
299
|
rspec-rails
|
316
|
-
thin (~> 1.6.2)
|
317
300
|
trusty-multi-site-extension!
|
318
301
|
trustygems (~> 0.2.0)
|
319
302
|
|
data/db/migrate/005_add_sites.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
class RecreateNonUniqueIndexOnSnippetsName < ActiveRecord::Migration
|
1
|
+
class RecreateNonUniqueIndexOnSnippetsName < ActiveRecord::Migration[5.1]
|
2
2
|
def self.up
|
3
3
|
remove_index :snippets, :name => "name"
|
4
4
|
add_index :snippets, [:name, :site_id ], :name => "name_site_id", :unique => true
|
@@ -4,7 +4,7 @@ require "trusty-multi-site-extension"
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "trusty-multi-site-extension"
|
7
|
-
s.version = "3.0
|
7
|
+
s.version = "3.1.0"
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.authors = ["Sean Cribbs", "Eric Sipple", "Danielle Greaves", "Brittany Martin"]
|
10
10
|
s.description = %q{Extends Trusty CMS Layouts to support multiple sites, defined by domain}
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
# s.executables = Dir['bin/*'] - ignores
|
23
23
|
s.require_paths = ["lib"]
|
24
24
|
s.add_dependency "acts_as_list", "0.9.5"
|
25
|
-
s.add_dependency "trusty-snippets-extension", "~> 3.
|
26
|
-
s.add_dependency "trusty-cms", "~> 3.
|
25
|
+
s.add_dependency "trusty-snippets-extension", "~> 3.1.0"
|
26
|
+
s.add_dependency "trusty-cms", "~> 3.1.0"
|
27
27
|
s.add_dependency "rake", "< 11.0"
|
28
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-multi-site-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Cribbs
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2017-08-
|
14
|
+
date: 2017-08-08 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: acts_as_list
|
@@ -33,28 +33,28 @@ dependencies:
|
|
33
33
|
requirements:
|
34
34
|
- - "~>"
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 3.
|
36
|
+
version: 3.1.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - "~>"
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 3.
|
43
|
+
version: 3.1.0
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: trusty-cms
|
46
46
|
requirement: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
48
|
- - "~>"
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 3.
|
50
|
+
version: 3.1.0
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
55
|
- - "~>"
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: 3.
|
57
|
+
version: 3.1.0
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rake
|
60
60
|
requirement: !ruby/object:Gem::Requirement
|