osso 0.0.5 → 0.0.6.alpha
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 +4 -4
- data/Gemfile.lock +4 -4
- data/lib/osso/version.rb +1 -1
- data/lib/tasks/bootstrap.rake +9 -2
- data/osso-rb.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e336bd3d2b66ba5530df382560eafc3800e4141d8f0f2ad3c09ddfcff4e89c5b
|
|
4
|
+
data.tar.gz: 833e3c5c353823e8591c836ec53a03405ad0870025fac4103350b525b32f5254
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0745075df908207f91971faba07ade0a64d61347a96c07386b1ba97a1a2a6d63173184e1a59b859e256a4e43045f535f19fc27b6b7e9c67ebf7cfcd616da602d
|
|
7
|
+
data.tar.gz: ecb5eb7a7195f3f40563ec22972a697ad08d9ad259d69e37dc90fb59717d623c2b825d2776970911c8aa6c0284502d441bc145fde8542674c23ed3657b4fc4f9
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
osso (0.0.
|
|
4
|
+
osso (0.0.6.alpha)
|
|
5
5
|
activesupport (>= 6.0.3.2)
|
|
6
6
|
bcrypt (~> 3.1.13)
|
|
7
7
|
graphql
|
|
@@ -13,7 +13,7 @@ PATH
|
|
|
13
13
|
rack-contrib
|
|
14
14
|
rack-oauth2
|
|
15
15
|
rake
|
|
16
|
-
rodauth (~> 2.
|
|
16
|
+
rodauth (~> 2.6.0)
|
|
17
17
|
sequel (~> 5.37.0)
|
|
18
18
|
sequel-activerecord_connection (~> 0.3)
|
|
19
19
|
sinatra
|
|
@@ -113,9 +113,9 @@ GEM
|
|
|
113
113
|
rake (13.0.1)
|
|
114
114
|
regexp_parser (1.8.2)
|
|
115
115
|
rexml (3.2.4)
|
|
116
|
-
roda (3.
|
|
116
|
+
roda (3.38.0)
|
|
117
117
|
rack
|
|
118
|
-
rodauth (2.
|
|
118
|
+
rodauth (2.6.0)
|
|
119
119
|
roda (>= 2.6.0)
|
|
120
120
|
sequel (>= 4)
|
|
121
121
|
rspec (3.9.0)
|
data/lib/osso/version.rb
CHANGED
data/lib/tasks/bootstrap.rake
CHANGED
|
@@ -18,13 +18,20 @@ namespace :osso do
|
|
|
18
18
|
admin_email = ENV['ADMIN_EMAIL']
|
|
19
19
|
|
|
20
20
|
if admin_email
|
|
21
|
-
admin = Osso::Models::Account.create
|
|
21
|
+
admin = Osso::Models::Account.create(
|
|
22
22
|
email: admin_email,
|
|
23
23
|
status_id: 1,
|
|
24
24
|
role: 'admin',
|
|
25
25
|
)
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
base_uri = URI.parse(ENV['BASE_URL'])
|
|
28
|
+
|
|
29
|
+
rodauth = Osso::Admin.rodauth.new(Osso::Admin.new({
|
|
30
|
+
'HTTP_HOST' => base_uri.host,
|
|
31
|
+
'SERVER_NAME' => base_uri.to_s,
|
|
32
|
+
'rack.url_scheme' => base_uri.scheme
|
|
33
|
+
}))
|
|
34
|
+
|
|
28
35
|
account = rodauth.account_from_login(admin_email)
|
|
29
36
|
rodauth.setup_account_verification
|
|
30
37
|
end
|
data/osso-rb.gemspec
CHANGED
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
|
26
26
|
spec.add_runtime_dependency 'rack-contrib'
|
|
27
27
|
spec.add_runtime_dependency 'rack-oauth2'
|
|
28
28
|
spec.add_runtime_dependency 'rake'
|
|
29
|
-
spec.add_runtime_dependency 'rodauth', '~> 2.
|
|
29
|
+
spec.add_runtime_dependency 'rodauth', '~> 2.6.0'
|
|
30
30
|
spec.add_runtime_dependency 'sequel', '~> 5.37.0'
|
|
31
31
|
spec.add_runtime_dependency 'sequel-activerecord_connection', '~> 0.3'
|
|
32
32
|
spec.add_runtime_dependency 'sinatra'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: osso
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6.alpha
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sam Bauch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-11-
|
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -170,14 +170,14 @@ dependencies:
|
|
|
170
170
|
requirements:
|
|
171
171
|
- - "~>"
|
|
172
172
|
- !ruby/object:Gem::Version
|
|
173
|
-
version: 2.
|
|
173
|
+
version: 2.6.0
|
|
174
174
|
type: :runtime
|
|
175
175
|
prerelease: false
|
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
|
177
177
|
requirements:
|
|
178
178
|
- - "~>"
|
|
179
179
|
- !ruby/object:Gem::Version
|
|
180
|
-
version: 2.
|
|
180
|
+
version: 2.6.0
|
|
181
181
|
- !ruby/object:Gem::Dependency
|
|
182
182
|
name: sequel
|
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -467,9 +467,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
467
467
|
version: 2.3.0
|
|
468
468
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
469
469
|
requirements:
|
|
470
|
-
- - "
|
|
470
|
+
- - ">"
|
|
471
471
|
- !ruby/object:Gem::Version
|
|
472
|
-
version:
|
|
472
|
+
version: 1.3.1
|
|
473
473
|
requirements: []
|
|
474
474
|
rubygems_version: 3.0.3
|
|
475
475
|
signing_key:
|