dao-gateway 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02a870dcf789b7955d96bb069ed03008968209cf
4
- data.tar.gz: f22de946bb8d730f7213011a6641988879d12494
3
+ metadata.gz: 3f704143941b1e071265683bf5ed736fcc4d6489
4
+ data.tar.gz: 4d0a203909a84bf0562ca6edfaa82815c82103ea
5
5
  SHA512:
6
- metadata.gz: 0b4877f478731152cda0cee9e05353128f7c7417b759f3d30ae531040035f1a3a6969e86018affe6336c0c8f234f92e601cbfe9beb8262776e56ae2034d03795
7
- data.tar.gz: a6caedfb7501d8826b4a5b3e3ccb8b3f1111b360e85d8abd23a2639cd10159a211cfae922eeaa9404d22a17f275acb40372a39853aa1dc1c29e0a68154c19025
6
+ metadata.gz: e2f2c89d7b8f8671088925a0e032e003f2841b4852d0e694acd2e284b1819bfb29fbf426a495d50c41c57dd12465127adcf005c4282452d193cfb03bd3dfa9e5
7
+ data.tar.gz: 3cf6a929a2ec225c9c6e958a4cfe9228700f85539dfd52cb7914ef0976cf0a50e3e328f319de87deba7f828c51bd680584dc3be4be0196c9530f2ae3fd589f33
data/.travis.yml CHANGED
@@ -4,4 +4,5 @@ rvm:
4
4
  before_install: gem install bundler -v 1.11.2
5
5
 
6
6
  script:
7
- - CODECLIMATE_REPO_TOKEN=763e2fed349469f0d07de8278c7df59cc64b9b8aa8f2f178fb1e7c5efae1bc49 bundle exec rspec
7
+ - bundle exec rake
8
+ - CODECLIMATE_REPO_TOKEN=763e2fed349469f0d07de8278c7df59cc64b9b8aa8f2f178fb1e7c5efae1bc49 bundle exec codeclimate-test-reporter
data/dao-gateway.gemspec CHANGED
@@ -24,5 +24,6 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency 'rake', '~> 10.0'
25
25
  spec.add_development_dependency 'rspec', '~> 3.4'
26
26
  spec.add_development_dependency 'rspec-its'
27
- spec.add_development_dependency 'codeclimate-test-reporter'
27
+ spec.add_development_dependency 'simplecov'
28
+ spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0.0'
28
29
  end
@@ -34,6 +34,10 @@ module Dao
34
34
  raise TransactionNotSupported
35
35
  end
36
36
 
37
+ def with_lock(_id, *_args, &_block)
38
+ raise LockNotSupported
39
+ end
40
+
37
41
  def serializable_relations(relations)
38
42
  convert_array(relations)
39
43
  end
@@ -0,0 +1,5 @@
1
+ module Dao
2
+ module Gateway
3
+ class LockNotSupported < StandardError; end
4
+ end
5
+ end
@@ -1,5 +1,5 @@
1
1
  module Dao
2
2
  module Gateway
3
- VERSION = '1.4.0'
3
+ VERSION = '1.5.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dao-gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - llxff
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-12-02 00:00:00.000000000 Z
12
+ date: 2017-02-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -68,7 +68,7 @@ dependencies:
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
- name: codeclimate-test-reporter
71
+ name: simplecov
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
@@ -81,6 +81,20 @@ dependencies:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: codeclimate-test-reporter
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: 1.0.0
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: 1.0.0
84
98
  description: Base gateway interface for dao-rb/repository
85
99
  email:
86
100
  - ll.wg.bin@gmail.com
@@ -105,6 +119,7 @@ files:
105
119
  - lib/dao/gateway/entity_processor.rb
106
120
  - lib/dao/gateway/invalid_record.rb
107
121
  - lib/dao/gateway/iterator.rb
122
+ - lib/dao/gateway/lock_not_supported.rb
108
123
  - lib/dao/gateway/pipe.rb
109
124
  - lib/dao/gateway/processor.rb
110
125
  - lib/dao/gateway/record_not_found.rb