social_snippet-registry_core 0.0.4 → 0.0.5

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDdmODRmYmM0MDZmYjI5MTJkMzQ4MDgwNjkzNDNiNTkyNTc1YzZjNQ==
4
+ NzY1ZDExODExYjkxZTA3ZjM5YjI2NzBkNGU3NzhmYzM3MjllNGQ2NA==
5
5
  data.tar.gz: !binary |-
6
- YjlmZTM5MzlhNmE3Y2VkZjNmNjY0ZDVkZjY4ZDVkMTk1YjY5NTY1Yw==
6
+ NzBiMWVjNWYwZTA0OWIwNWNmZTJmNmEyY2QxOTQxNGMwZTlmNjA4Mw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTIwYjI5Y2NkYzFiNjg5NGQyMTk4MzVkOGViNGQ2MGEzZTAwNDk4MzZiZDAy
10
- MGQ0MWEyMmQ0YTljOGQ3MDBhYjliMTVmM2JmMzllZDJmYmU2ZTc5Y2EzY2Q2
11
- NTEwODFjZDQ4ZmFmODlhYjY2ZmI0ZTg2NDg4YjM0MGNhNDQ2Yzg=
9
+ MjUyYTE0MDVkY2Q4M2I2ODhhZGFmNzhiYjk4ODQ1Zjc5ZWM1ZjEwOThhODVl
10
+ MTk2NWYyNzhkOTExZjE1MWQ3YmExM2UyZjEyYzIyOGI0ZWEzMWMwNzQ3MzY4
11
+ MDI5YzAwNGRlYzljMDA1NWE4NjM4YjQ1NjVhNzdkMGQwY2Q4MjY=
12
12
  data.tar.gz: !binary |-
13
- NmYzYmZkNjRiOTFlOTJjY2ZlYWRlOGI4NDZiZmI2NmUyNTRhMzlkNWZjMTU2
14
- NzFkZWJiMjgwMmQzYjhkMmU3NWM2MWYzN2MzN2U1ZjYzMGZkNDI2MGNiMDZh
15
- NjdkNjM4ZjkwYjI5YmI0MGQ3ZWQ5M2MyYTQ3ZDYzY2M0MzAxNDQ=
13
+ NzZlYzdmZjRkNDgwZDQ4ZjhhM2RhZGYwNTkxNTQ1MTljMWVhNzQ5NWY0OThm
14
+ NzBiZDRiMTcwMzIyYTEwOGQyNTcyNjJmYjRlNDgzNmQ3YTEyOWUxNjRiOTQz
15
+ MjJiYjljNjBkOTQ1NjEyOTAyM2JmMGFkNDA5OTY5Y2MzNDVkMjM=
@@ -6,3 +6,4 @@ require_relative "registry_core/config_helpers"
6
6
  require_relative "registry_core/version"
7
7
  require_relative "registry_core/version_helpers"
8
8
  require_relative "registry_core/fetcher"
9
+ require_relative "registry_core/models"
@@ -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::Registry::WebAPI::UserAccount"
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::Registry::WebAPI::UserAccount
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
@@ -1,5 +1,5 @@
1
1
  module SocialSnippet
2
2
  module RegistryCore
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
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
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