monban-repository 1.0.2 → 1.1.0

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
  SHA256:
3
- metadata.gz: 84b76b6eb38054e6437bc50b9609750d8e697e9a205cf4c34bef312d1c2d5a1d
4
- data.tar.gz: f3daceaaf596e1195af4784f2637b21e4733a6d79a88d0d977b93d41afa99cba
3
+ metadata.gz: e905478eb787737f69e0532ebe5f1755d629348a16c87162457b1b463d4649fc
4
+ data.tar.gz: b1a916faf307f5d3a30ae7a58620916323059243a37cc40cd208f1cf1f0acf8d
5
5
  SHA512:
6
- metadata.gz: 6cc77e72b21d37f34c618238e9f13d517181e6f629d1b1a409de226159f7b32628953ed9f94f828e63b0285adf1cc9ef7bc3abb16f8e14b5fbb9446314f8ddce
7
- data.tar.gz: 20deda781b20b3aa6373ede5f6e43df07cb7dfca22681a9b7d6ec9af36cb390be0f51aa5d7e3d3ed21c4bd1c5b2a1f7075eaa930a176c2c2015fab497c255f7a
6
+ metadata.gz: 62c93ff8f928e4c223a6512a896b2f7f183c098640f59c78c42e618cddad091ff1b48175b1140cdea365bdeafa45e669e7ea8c24598685d791ca4c3ec4bdbc24
7
+ data.tar.gz: 834277b45f9b1041f18f4ba1de6b791954201b79ff3510dde2e0505aae29ab08565141bf6f6009bc134d5a48629ce669c856226eec6ca2f4ac250678bc1853df
@@ -0,0 +1,7 @@
1
+ # Version : 1.1.0
2
+
3
+ add: auth.login_type
4
+
5
+ ## commits
6
+
7
+ * add: auth.login_type
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # Version : 1.1.0
2
+
3
+ add: auth.login_type
4
+
1
5
  # Version : 1.0.2
2
6
 
3
7
  fix: travis
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- monban-repository (1.0.2)
4
+ monban-repository (1.1.0)
5
5
  getto-initialize_with (~> 1.0)
6
6
  getto-repository-sequel (~> 1.0)
7
7
 
@@ -36,6 +36,11 @@ module Monban
36
36
  .map{|hash| hash[:login_id]}.first
37
37
  end
38
38
 
39
+ def login_type(account_id:)
40
+ # all account login with 'authy' in this implement
41
+ "authy"
42
+ end
43
+
39
44
  def roles(account_id:)
40
45
  db[:account_roles]
41
46
  .where(account_id: account_id)
@@ -1,5 +1,5 @@
1
1
  module Monban
2
2
  module Repository
3
- VERSION = "1.0.2"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monban-repository
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - shun@getto.systems
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-28 00:00:00.000000000 Z
11
+ date: 2018-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: getto-initialize_with
@@ -113,6 +113,7 @@ files:
113
113
  - CHANGELOG/1.0.0.md
114
114
  - CHANGELOG/1.0.1.md
115
115
  - CHANGELOG/1.0.2.md
116
+ - CHANGELOG/1.1.0.md
116
117
  - Gemfile
117
118
  - Gemfile.lock
118
119
  - LICENSE