houston-core 0.8.2 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f11c47960bbc475231f9b6561811960bd8a58e3
|
|
4
|
+
data.tar.gz: 39aafe18371c39efcd82cd03a405f56ce91b3548
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b35f5368c098de2509a399b2e42e4d69090118e3af08defbce752ce0d3636a69f9ed07de850397b1a3fa27e538c83c4a12f355ab9cca1cc7bac05436a260dfac
|
|
7
|
+
data.tar.gz: ca852de3146dbc304fec753f44e46b5a7f4237fb9d5d3c032cef4f590a9fcb9b81d9c1690e08b5c915a7162f27feb85a0e218a02853bd4489efa5fcd3286e1ab
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
houston-core (0.8.
|
|
4
|
+
houston-core (0.8.3)
|
|
5
5
|
activerecord-import
|
|
6
6
|
activerecord-pluck_in_batches (~> 0.2.0)
|
|
7
7
|
addressable (~> 2.3.8)
|
|
@@ -41,43 +41,43 @@ PATH
|
|
|
41
41
|
GEM
|
|
42
42
|
remote: https://rubygems.org/
|
|
43
43
|
specs:
|
|
44
|
-
actioncable (5.0.
|
|
45
|
-
actionpack (= 5.0.
|
|
44
|
+
actioncable (5.0.1)
|
|
45
|
+
actionpack (= 5.0.1)
|
|
46
46
|
nio4r (~> 1.2)
|
|
47
47
|
websocket-driver (~> 0.6.1)
|
|
48
|
-
actionmailer (5.0.
|
|
49
|
-
actionpack (= 5.0.
|
|
50
|
-
actionview (= 5.0.
|
|
51
|
-
activejob (= 5.0.
|
|
48
|
+
actionmailer (5.0.1)
|
|
49
|
+
actionpack (= 5.0.1)
|
|
50
|
+
actionview (= 5.0.1)
|
|
51
|
+
activejob (= 5.0.1)
|
|
52
52
|
mail (~> 2.5, >= 2.5.4)
|
|
53
53
|
rails-dom-testing (~> 2.0)
|
|
54
|
-
actionpack (5.0.
|
|
55
|
-
actionview (= 5.0.
|
|
56
|
-
activesupport (= 5.0.
|
|
54
|
+
actionpack (5.0.1)
|
|
55
|
+
actionview (= 5.0.1)
|
|
56
|
+
activesupport (= 5.0.1)
|
|
57
57
|
rack (~> 2.0)
|
|
58
58
|
rack-test (~> 0.6.3)
|
|
59
59
|
rails-dom-testing (~> 2.0)
|
|
60
60
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
61
|
-
actionview (5.0.
|
|
62
|
-
activesupport (= 5.0.
|
|
61
|
+
actionview (5.0.1)
|
|
62
|
+
activesupport (= 5.0.1)
|
|
63
63
|
builder (~> 3.1)
|
|
64
64
|
erubis (~> 2.7.0)
|
|
65
65
|
rails-dom-testing (~> 2.0)
|
|
66
66
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
67
|
-
activejob (5.0.
|
|
68
|
-
activesupport (= 5.0.
|
|
67
|
+
activejob (5.0.1)
|
|
68
|
+
activesupport (= 5.0.1)
|
|
69
69
|
globalid (>= 0.3.6)
|
|
70
|
-
activemodel (5.0.
|
|
71
|
-
activesupport (= 5.0.
|
|
72
|
-
activerecord (5.0.
|
|
73
|
-
activemodel (= 5.0.
|
|
74
|
-
activesupport (= 5.0.
|
|
70
|
+
activemodel (5.0.1)
|
|
71
|
+
activesupport (= 5.0.1)
|
|
72
|
+
activerecord (5.0.1)
|
|
73
|
+
activemodel (= 5.0.1)
|
|
74
|
+
activesupport (= 5.0.1)
|
|
75
75
|
arel (~> 7.0)
|
|
76
|
-
activerecord-import (0.17.
|
|
76
|
+
activerecord-import (0.17.1)
|
|
77
77
|
activerecord (>= 3.2)
|
|
78
78
|
activerecord-pluck_in_batches (0.2.0)
|
|
79
79
|
activerecord (>= 4.2.7, < 5.1.0)
|
|
80
|
-
activesupport (5.0.
|
|
80
|
+
activesupport (5.0.1)
|
|
81
81
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
82
82
|
i18n (~> 0.7)
|
|
83
83
|
minitest (~> 5.1)
|
|
@@ -89,9 +89,9 @@ GEM
|
|
|
89
89
|
thread_safe
|
|
90
90
|
bcrypt (3.1.11)
|
|
91
91
|
browser (2.3.0)
|
|
92
|
-
builder (3.2.
|
|
92
|
+
builder (3.2.3)
|
|
93
93
|
cancan (1.6.10)
|
|
94
|
-
capybara (2.
|
|
94
|
+
capybara (2.12.1)
|
|
95
95
|
addressable
|
|
96
96
|
mime-types (>= 1.16)
|
|
97
97
|
nokogiri (>= 1.3.3)
|
|
@@ -106,10 +106,10 @@ GEM
|
|
|
106
106
|
coffee-script-source
|
|
107
107
|
execjs
|
|
108
108
|
coffee-script-source (1.12.2)
|
|
109
|
-
concurrent-ruby (1.0.
|
|
109
|
+
concurrent-ruby (1.0.4)
|
|
110
110
|
crack (0.4.3)
|
|
111
111
|
safe_yaml (~> 1.0.0)
|
|
112
|
-
css_parser (1.4.
|
|
112
|
+
css_parser (1.4.8)
|
|
113
113
|
addressable
|
|
114
114
|
devise (4.2.0)
|
|
115
115
|
bcrypt (~> 3.0)
|
|
@@ -117,16 +117,16 @@ GEM
|
|
|
117
117
|
railties (>= 4.1.0, < 5.1)
|
|
118
118
|
responders
|
|
119
119
|
warden (~> 1.2.3)
|
|
120
|
-
devise_invitable (1.7.
|
|
121
|
-
actionmailer (>= 4.
|
|
120
|
+
devise_invitable (1.7.1)
|
|
121
|
+
actionmailer (>= 4.1.0)
|
|
122
122
|
devise (>= 4.0.0)
|
|
123
123
|
docile (1.1.5)
|
|
124
124
|
erubis (2.7.0)
|
|
125
125
|
execjs (2.7.0)
|
|
126
|
-
factory_girl (4.
|
|
126
|
+
factory_girl (4.8.0)
|
|
127
127
|
activesupport (>= 3.0.0)
|
|
128
|
-
factory_girl_rails (4.
|
|
129
|
-
factory_girl (~> 4.
|
|
128
|
+
factory_girl_rails (4.8.0)
|
|
129
|
+
factory_girl (~> 4.8.0)
|
|
130
130
|
railties (>= 3.0.0)
|
|
131
131
|
faraday (0.9.2)
|
|
132
132
|
multipart-post (>= 1.2, < 3)
|
|
@@ -142,7 +142,7 @@ GEM
|
|
|
142
142
|
multi_json (~> 1.0)
|
|
143
143
|
sprockets (>= 2.0.0)
|
|
144
144
|
tilt (>= 1.2)
|
|
145
|
-
hashdiff (0.3.
|
|
145
|
+
hashdiff (0.3.2)
|
|
146
146
|
houston-devise_ldap_authenticatable (0.7.1)
|
|
147
147
|
devise (>= 3.0.0)
|
|
148
148
|
net-ldap (~> 0.12.1)
|
|
@@ -150,18 +150,20 @@ GEM
|
|
|
150
150
|
activerecord (>= 3, < 6)
|
|
151
151
|
activesupport (>= 3, < 6)
|
|
152
152
|
htmlentities (4.3.4)
|
|
153
|
-
i18n (0.
|
|
154
|
-
json (2.0.
|
|
153
|
+
i18n (0.8.0)
|
|
154
|
+
json (2.0.3)
|
|
155
155
|
jwt (1.5.6)
|
|
156
156
|
loofah (2.0.3)
|
|
157
157
|
nokogiri (>= 1.5.9)
|
|
158
158
|
mail (2.6.4)
|
|
159
159
|
mime-types (>= 1.16, < 4)
|
|
160
160
|
method_source (0.8.2)
|
|
161
|
-
mime-types (
|
|
161
|
+
mime-types (3.1)
|
|
162
|
+
mime-types-data (~> 3.2015)
|
|
163
|
+
mime-types-data (3.2016.0521)
|
|
162
164
|
mini_portile2 (2.1.0)
|
|
163
|
-
minitest (5.
|
|
164
|
-
minitest-reporters (1.1.
|
|
165
|
+
minitest (5.10.1)
|
|
166
|
+
minitest-reporters (1.1.14)
|
|
165
167
|
ansi
|
|
166
168
|
builder
|
|
167
169
|
minitest (>= 5.0)
|
|
@@ -175,7 +177,7 @@ GEM
|
|
|
175
177
|
nested_editor_for (0.1.1)
|
|
176
178
|
net-ldap (0.12.1)
|
|
177
179
|
nio4r (1.2.1)
|
|
178
|
-
nokogiri (1.
|
|
180
|
+
nokogiri (1.7.0.1)
|
|
179
181
|
mini_portile2 (~> 2.1.0)
|
|
180
182
|
oauth2 (1.3.0)
|
|
181
183
|
faraday (>= 0.8, < 0.11)
|
|
@@ -211,30 +213,30 @@ GEM
|
|
|
211
213
|
rack (>= 1.0)
|
|
212
214
|
rack-utf8_sanitizer (1.3.2)
|
|
213
215
|
rack (>= 1.0, < 3.0)
|
|
214
|
-
rails (5.0.
|
|
215
|
-
actioncable (= 5.0.
|
|
216
|
-
actionmailer (= 5.0.
|
|
217
|
-
actionpack (= 5.0.
|
|
218
|
-
actionview (= 5.0.
|
|
219
|
-
activejob (= 5.0.
|
|
220
|
-
activemodel (= 5.0.
|
|
221
|
-
activerecord (= 5.0.
|
|
222
|
-
activesupport (= 5.0.
|
|
216
|
+
rails (5.0.1)
|
|
217
|
+
actioncable (= 5.0.1)
|
|
218
|
+
actionmailer (= 5.0.1)
|
|
219
|
+
actionpack (= 5.0.1)
|
|
220
|
+
actionview (= 5.0.1)
|
|
221
|
+
activejob (= 5.0.1)
|
|
222
|
+
activemodel (= 5.0.1)
|
|
223
|
+
activerecord (= 5.0.1)
|
|
224
|
+
activesupport (= 5.0.1)
|
|
223
225
|
bundler (>= 1.3.0, < 2.0)
|
|
224
|
-
railties (= 5.0.
|
|
226
|
+
railties (= 5.0.1)
|
|
225
227
|
sprockets-rails (>= 2.0.0)
|
|
226
|
-
rails-dom-testing (2.0.
|
|
228
|
+
rails-dom-testing (2.0.2)
|
|
227
229
|
activesupport (>= 4.2.0, < 6.0)
|
|
228
|
-
nokogiri (~> 1.6
|
|
230
|
+
nokogiri (~> 1.6)
|
|
229
231
|
rails-html-sanitizer (1.0.3)
|
|
230
232
|
loofah (~> 2.0)
|
|
231
|
-
railties (5.0.
|
|
232
|
-
actionpack (= 5.0.
|
|
233
|
-
activesupport (= 5.0.
|
|
233
|
+
railties (5.0.1)
|
|
234
|
+
actionpack (= 5.0.1)
|
|
235
|
+
activesupport (= 5.0.1)
|
|
234
236
|
method_source
|
|
235
237
|
rake (>= 0.8.7)
|
|
236
238
|
thor (>= 0.18.1, < 2.0)
|
|
237
|
-
rake (
|
|
239
|
+
rake (12.0.0)
|
|
238
240
|
redcarpet (3.3.4)
|
|
239
241
|
responders (2.3.0)
|
|
240
242
|
railties (>= 4.2.0, < 5.1)
|
|
@@ -250,12 +252,12 @@ GEM
|
|
|
250
252
|
sprockets (>= 2.8, < 4.0)
|
|
251
253
|
sprockets-rails (>= 2.0, < 4.0)
|
|
252
254
|
tilt (>= 1.1, < 3)
|
|
253
|
-
shoulda-context (1.2.
|
|
254
|
-
simplecov (0.
|
|
255
|
+
shoulda-context (1.2.2)
|
|
256
|
+
simplecov (0.13.0)
|
|
255
257
|
docile (~> 1.1.0)
|
|
256
|
-
|
|
257
|
-
simplecov-html (~> 0.
|
|
258
|
-
simplecov-html (0.
|
|
258
|
+
json (>= 1.8, < 3)
|
|
259
|
+
simplecov-html (~> 0.10.0)
|
|
260
|
+
simplecov-html (0.10.0)
|
|
259
261
|
simplecov-json (0.2)
|
|
260
262
|
json
|
|
261
263
|
simplecov
|
|
@@ -269,7 +271,7 @@ GEM
|
|
|
269
271
|
sprockets (>= 3.0.0)
|
|
270
272
|
strongbox (0.7.2)
|
|
271
273
|
activerecord
|
|
272
|
-
thor (0.19.
|
|
274
|
+
thor (0.19.4)
|
|
273
275
|
thread_safe (0.3.5)
|
|
274
276
|
tilt (2.0.6)
|
|
275
277
|
timecop (0.8.1)
|
|
@@ -279,7 +281,7 @@ GEM
|
|
|
279
281
|
execjs (>= 0.3.0, < 3)
|
|
280
282
|
warden (1.2.7)
|
|
281
283
|
rack (>= 1.0)
|
|
282
|
-
webmock (2.
|
|
284
|
+
webmock (2.3.2)
|
|
283
285
|
addressable (>= 2.3.6)
|
|
284
286
|
crack (>= 0.3.2)
|
|
285
287
|
hashdiff
|
data/lib/houston/version.rb
CHANGED
data/lib/tasks/keypair.rake
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
require File.join(root, "lib/houston/boot/configuration")
|
|
1
|
+
require "shellwords"
|
|
3
2
|
|
|
4
3
|
namespace :keypair do
|
|
5
4
|
task :generate do |t|
|
|
@@ -8,10 +7,10 @@ namespace :keypair do
|
|
|
8
7
|
exit
|
|
9
8
|
end
|
|
10
9
|
|
|
11
|
-
tmp =
|
|
10
|
+
tmp = Houston.root.to_s
|
|
12
11
|
|
|
13
|
-
`openssl genrsa -des3 -passout pass:#{Houston.config.passphrase
|
|
14
|
-
`openssl rsa -in #{tmp}/config/private.pem -passin pass:#{Houston.config.passphrase
|
|
12
|
+
`openssl genrsa -des3 -passout pass:#{Shellwords.escape Houston.config.passphrase} -out #{tmp}/config/private.pem 2048`
|
|
13
|
+
`openssl rsa -in #{tmp}/config/private.pem -passin pass:#{Shellwords.escape Houston.config.passphrase} -out #{tmp}/config/public.pem -outform PEM -pubout`
|
|
15
14
|
`cat #{tmp}/config/private.pem #{tmp}/config/public.pem >> #{Houston.config.keypair}`
|
|
16
15
|
`rm #{tmp}/config/private.pem #{tmp}/config/public.pem`
|
|
17
16
|
end
|
|
@@ -5,6 +5,10 @@ module Houston
|
|
|
5
5
|
# The block you pass to this method will run for every request
|
|
6
6
|
# in development mode, but only once in production.
|
|
7
7
|
# config.to_prepare do
|
|
8
|
+
#
|
|
9
|
+
# Add methods or relationships to a core model (like User)
|
|
10
|
+
# by including a module that adds the concern here:
|
|
11
|
+
# ::User.send :include, Houston::<%= camelized %>::UserExt
|
|
8
12
|
# end
|
|
9
13
|
|
|
10
14
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: houston-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bob Lail
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-02-
|
|
11
|
+
date: 2017-02-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|