social_snippet-registry_core 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/social_snippet/registry_core.rb +1 -0
- data/lib/social_snippet/registry_core/config_helpers.rb +1 -1
- data/lib/social_snippet/registry_core/models.rb +1 -0
- data/lib/social_snippet/{registry/webapi → registry_core}/models/user_account.rb +3 -3
- data/lib/social_snippet/registry_core/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzY1ZDExODExYjkxZTA3ZjM5YjI2NzBkNGU3NzhmYzM3MjllNGQ2NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzBiMWVjNWYwZTA0OWIwNWNmZTJmNmEyY2QxOTQxNGMwZTlmNjA4Mw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjUyYTE0MDVkY2Q4M2I2ODhhZGFmNzhiYjk4ODQ1Zjc5ZWM1ZjEwOThhODVl
|
10
|
+
MTk2NWYyNzhkOTExZjE1MWQ3YmExM2UyZjEyYzIyOGI0ZWEzMWMwNzQ3MzY4
|
11
|
+
MDI5YzAwNGRlYzljMDA1NWE4NjM4YjQ1NjVhNzdkMGQwY2Q4MjY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzZlYzdmZjRkNDgwZDQ4ZjhhM2RhZGYwNTkxNTQ1MTljMWVhNzQ5NWY0OThm
|
14
|
+
NzBiZDRiMTcwMzIyYTEwOGQyNTcyNjJmYjRlNDgzNmQ3YTEyOWUxNjRiOTQz
|
15
|
+
MjJiYjljNjBkOTQ1NjEyOTAyM2JmMGFkNDA5OTY5Y2MzNDVkMjM=
|
@@ -31,7 +31,7 @@ module SocialSnippet::RegistryCore::ConfigHelpers
|
|
31
31
|
logger.info "Enable User Access Control: #{self}"
|
32
32
|
|
33
33
|
register ::Padrino::Admin::AccessControl
|
34
|
-
set :admin_model, "::SocialSnippet::
|
34
|
+
set :admin_model, "::SocialSnippet::RegistryCore::Models::UserAccount"
|
35
35
|
set :login_page, :login
|
36
36
|
enable :authentication
|
37
37
|
enable :store_location
|
@@ -0,0 +1 @@
|
|
1
|
+
module SocialSnippet::RegistryCore::Models; end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
class SocialSnippet::
|
1
|
+
class SocialSnippet::RegistryCore::Models::UserAccount
|
2
2
|
|
3
|
-
include Mongoid::Document
|
4
|
-
include Mongoid::Timestamps # adds created_at and updated_at fields
|
3
|
+
include ::Mongoid::Document
|
4
|
+
include ::Mongoid::Timestamps # adds created_at and updated_at fields
|
5
5
|
|
6
6
|
# field <name>, :type => <type>, :default => <value>
|
7
7
|
field :name, :type => String
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_snippet-registry_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroyuki Sano
|
@@ -203,7 +203,6 @@ files:
|
|
203
203
|
- lib/social_snippet/registry/webapi/helpers/repository_helper.rb
|
204
204
|
- lib/social_snippet/registry/webapi/helpers/url_helper.rb
|
205
205
|
- lib/social_snippet/registry/webapi/models/repository.rb
|
206
|
-
- lib/social_snippet/registry/webapi/models/user_account.rb
|
207
206
|
- lib/social_snippet/registry/webapi/webapi_base.rb
|
208
207
|
- lib/social_snippet/registry/webapi/webapi_v0.rb
|
209
208
|
- lib/social_snippet/registry_core.rb
|
@@ -212,6 +211,8 @@ files:
|
|
212
211
|
- lib/social_snippet/registry_core/fetcher.rb
|
213
212
|
- lib/social_snippet/registry_core/fetcher/fetcher_base.rb
|
214
213
|
- lib/social_snippet/registry_core/fetcher/github_fetcher.rb
|
214
|
+
- lib/social_snippet/registry_core/models.rb
|
215
|
+
- lib/social_snippet/registry_core/models/user_account.rb
|
215
216
|
- lib/social_snippet/registry_core/version.rb
|
216
217
|
- lib/social_snippet/registry_core/version_helpers.rb
|
217
218
|
- social_snippet-registry_core.gemspec
|