gcpc 0.0.6 → 0.0.7

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: d4dfcbba14815f166e194aa5d106bf86c1adb86d4feb7bd1b406808974a2137d
4
- data.tar.gz: ed718afdbaeeb0b415cd9f5923b30f69dd9a17066712f4a932f2d55102da27c1
3
+ metadata.gz: 5fdb3019e64a9e547b7fb58a1a5ebf45b82020029f047dc2f7fcaa237d720093
4
+ data.tar.gz: 02a5b5b94f4bed91f1d49bd8c8bf0f97fa568b02bd05d543205b482c9fa47570
5
5
  SHA512:
6
- metadata.gz: 21c978898799abeb533747aca3bcb52d152d9f92c6260db56ca5b0da74b08985a521974b9707a3d36a3772ebe1017edab5a2ee2d948841a81e414594647fa39a
7
- data.tar.gz: 1d99113e0c48bad884963d12c43878efb55681fe47268ce1fbc2bb975ffb9a6d83e426f7dc654810ea6a1b4227542c3b21c6a8c2acd6c2185c6e2a030addc52d
6
+ metadata.gz: ff644c9d6d8257aa128e940547a31db1a9190e6a8165bf6ad0e776c3cc6aef00ed22f68f98812fa938186ea0cba069fb2d53c29e478ea5ec92a6de7b7bac5d5d
7
+ data.tar.gz: c50b8e7e95f3c1651c0ecfdb6ef85e16ba4503eced5a74331eb6173ad2ebe87f5475287097b5ab3912ae20d0989e5462ab4578b0e866f4211843cb1b70f69bdc
@@ -3,9 +3,10 @@ sudo: false
3
3
  language: ruby
4
4
  cache: bundler
5
5
  rvm:
6
- - 2.6.2
6
+ - 2.6.6
7
+ - 2.7.3
7
8
  before_install:
8
- - gem install bundler -v 1.17.2
9
+ - gem install bundler
9
10
  jobs:
10
11
  include:
11
12
  - name: 'test'
@@ -14,6 +15,7 @@ jobs:
14
15
  - name: 'test with a emulator'
15
16
  before_install:
16
17
  # Start a Cloud Pub/Sub emulator. See https://cloud.google.com/pubsub/docs/emulator
17
- - docker run -d -p 8085:8085 -it google/cloud-sdk:latest gcloud beta emulators pubsub start --host-port=0.0.0.0:8085
18
+ # We use `google/cloud-sdk:321.0.0` because we can't start pubsub with the latest.
19
+ - docker run -d -p 8085:8085 -it google/cloud-sdk:321.0.0 gcloud beta emulators pubsub start --host-port=0.0.0.0:8085
18
20
  script:
19
21
  - bundle exec rspec --tag emulator
@@ -0,0 +1,19 @@
1
+ ## Unreleased
2
+
3
+ <!-- When you commit changes, describe the changes above (in the ## Unreleased section). -->
4
+ <!-- All changes (implementation, or doc changes) are worth noting. -->
5
+ <!-- The changes listed above will go below when a new release is being prepared. -->
6
+
7
+ ## 0.0.7
8
+
9
+ - Add explicit loading of forwardable https://github.com/south37/gcpc/pull/10
10
+ - Add ruby 2.7 as a test target https://github.com/south37/gcpc/pull/12
11
+
12
+ ## 0.0.6
13
+
14
+ - Add test of interceptors https://github.com/south37/gcpc/pull/7
15
+ - Add publish_batch https://github.com/south37/gcpc/pull/6
16
+
17
+ ## 0.0.5
18
+
19
+ - Add publish_async https://github.com/south37/gcpc/pull/5
@@ -1,67 +1,74 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gcpc (0.0.6)
4
+ gcpc (0.0.7)
5
5
  google-cloud-pubsub
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- addressable (2.6.0)
11
- public_suffix (>= 2.0.2, < 4.0)
12
- coderay (1.1.2)
13
- concurrent-ruby (1.1.5)
10
+ addressable (2.7.0)
11
+ public_suffix (>= 2.0.2, < 5.0)
12
+ coderay (1.1.3)
13
+ concurrent-ruby (1.1.7)
14
14
  diff-lcs (1.3)
15
- faraday (0.15.4)
15
+ faraday (1.3.0)
16
+ faraday-net_http (~> 1.0)
16
17
  multipart-post (>= 1.2, < 3)
17
- google-cloud-core (1.3.0)
18
+ ruby2_keywords
19
+ faraday-net_http (1.0.0)
20
+ gapic-common (0.3.4)
21
+ google-protobuf (~> 3.12, >= 3.12.2)
22
+ googleapis-common-protos (>= 1.3.9, < 2.0)
23
+ googleapis-common-protos-types (>= 1.0.4, < 2.0)
24
+ googleauth (~> 0.9)
25
+ grpc (~> 1.25)
26
+ google-cloud-core (1.5.0)
18
27
  google-cloud-env (~> 1.0)
19
- google-cloud-env (1.2.0)
20
- faraday (~> 0.11)
21
- google-cloud-pubsub (0.38.0)
28
+ google-cloud-errors (~> 1.0)
29
+ google-cloud-env (1.4.0)
30
+ faraday (>= 0.17.3, < 2.0)
31
+ google-cloud-errors (1.0.1)
32
+ google-cloud-pubsub (2.3.0)
22
33
  concurrent-ruby (~> 1.1)
23
- google-cloud-core (~> 1.2)
24
- google-gax (~> 1.7)
25
- googleapis-common-protos (>= 1.3.9, < 2.0)
26
- grpc-google-iam-v1 (~> 0.6.9)
27
- google-gax (1.7.0)
28
- google-protobuf (~> 3.2)
29
- googleapis-common-protos (>= 1.3.5, < 2.0)
30
- googleauth (>= 0.6.2, < 0.10.0)
31
- grpc (>= 1.7.2, < 2.0)
32
- rly (~> 0.2.3)
33
- google-protobuf (3.9.0-universal-darwin)
34
- googleapis-common-protos (1.3.9)
35
- google-protobuf (~> 3.0)
36
- googleapis-common-protos-types (~> 1.0)
37
- grpc (~> 1.0)
38
- googleapis-common-protos-types (1.0.4)
39
- google-protobuf (~> 3.0)
40
- googleauth (0.8.1)
41
- faraday (~> 0.12)
34
+ google-cloud-core (~> 1.5)
35
+ google-cloud-pubsub-v1 (~> 0.0)
36
+ google-cloud-pubsub-v1 (0.2.0)
37
+ gapic-common (~> 0.3)
38
+ google-cloud-errors (~> 1.0)
39
+ grpc-google-iam-v1 (>= 0.6.10, < 2.0)
40
+ google-protobuf (3.14.0)
41
+ googleapis-common-protos (1.3.10)
42
+ google-protobuf (~> 3.11)
43
+ googleapis-common-protos-types (>= 1.0.5, < 2.0)
44
+ grpc (~> 1.27)
45
+ googleapis-common-protos-types (1.0.5)
46
+ google-protobuf (~> 3.11)
47
+ googleauth (0.14.0)
48
+ faraday (>= 0.17.3, < 2.0)
42
49
  jwt (>= 1.4, < 3.0)
43
50
  memoist (~> 0.16)
44
51
  multi_json (~> 1.11)
45
52
  os (>= 0.9, < 2.0)
46
- signet (~> 0.7)
47
- grpc (1.22.0-universal-darwin)
48
- google-protobuf (~> 3.8)
53
+ signet (~> 0.14)
54
+ grpc (1.34.0)
55
+ google-protobuf (~> 3.13)
49
56
  googleapis-common-protos-types (~> 1.0)
50
- grpc-google-iam-v1 (0.6.9)
51
- googleapis-common-protos (>= 1.3.1, < 2.0)
52
- grpc (~> 1.0)
53
- jwt (2.2.1)
54
- memoist (0.16.0)
55
- method_source (0.9.2)
56
- multi_json (1.13.1)
57
+ grpc-google-iam-v1 (0.6.10)
58
+ google-protobuf (~> 3.11)
59
+ googleapis-common-protos (>= 1.3.10, < 2.0)
60
+ grpc (~> 1.27)
61
+ jwt (2.2.2)
62
+ memoist (0.16.2)
63
+ method_source (1.0.0)
64
+ multi_json (1.15.0)
57
65
  multipart-post (2.1.1)
58
- os (1.0.1)
59
- pry (0.12.2)
60
- coderay (~> 1.1.0)
61
- method_source (~> 0.9.0)
62
- public_suffix (3.1.1)
63
- rake (10.5.0)
64
- rly (0.2.3)
66
+ os (1.1.1)
67
+ pry (0.13.1)
68
+ coderay (~> 1.1)
69
+ method_source (~> 1.0)
70
+ public_suffix (4.0.6)
71
+ rake (13.0.1)
65
72
  rspec (3.8.0)
66
73
  rspec-core (~> 3.8.0)
67
74
  rspec-expectations (~> 3.8.0)
@@ -75,9 +82,10 @@ GEM
75
82
  diff-lcs (>= 1.2.0, < 2.0)
76
83
  rspec-support (~> 3.8.0)
77
84
  rspec-support (3.8.0)
78
- signet (0.11.0)
85
+ ruby2_keywords (0.0.2)
86
+ signet (0.14.0)
79
87
  addressable (~> 2.3)
80
- faraday (~> 0.9)
88
+ faraday (>= 0.17.3, < 2.0)
81
89
  jwt (>= 1.5, < 3.0)
82
90
  multi_json (~> 1.10)
83
91
 
@@ -85,11 +93,11 @@ PLATFORMS
85
93
  ruby
86
94
 
87
95
  DEPENDENCIES
88
- bundler (~> 1.17)
96
+ bundler
89
97
  gcpc!
90
98
  pry
91
- rake (~> 10.0)
99
+ rake (~> 13.0)
92
100
  rspec (~> 3.2)
93
101
 
94
102
  BUNDLED WITH
95
- 1.17.2
103
+ 2.2.5
@@ -23,8 +23,8 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
25
 
26
- spec.add_development_dependency "bundler", "~> 1.17"
27
- spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "bundler"
27
+ spec.add_development_dependency "rake", "~> 13.0"
28
28
  spec.add_development_dependency "rspec", "~> 3.2"
29
29
  spec.add_development_dependency "pry"
30
30
  spec.add_runtime_dependency "google-cloud-pubsub"
@@ -1,3 +1,4 @@
1
+ require "forwardable"
1
2
  require "gcpc/publisher/base_interceptor"
2
3
  require "gcpc/publisher/engine"
3
4
  require "gcpc/publisher/topic_client"
@@ -1,3 +1,4 @@
1
+ require "forwardable"
1
2
  require "gcpc/subscriber/base_handler"
2
3
  require "gcpc/subscriber/base_interceptor"
3
4
  require "gcpc/subscriber/default_logger"
@@ -1,3 +1,3 @@
1
1
  module Gcpc
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gcpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nao Minami
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-05 00:00:00.000000000 Z
11
+ date: 2021-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.17'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.17'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -90,6 +90,7 @@ files:
90
90
  - ".gitignore"
91
91
  - ".rspec"
92
92
  - ".travis.yml"
93
+ - CHANGELOG.md
93
94
  - Gemfile
94
95
  - Gemfile.lock
95
96
  - LICENSE.txt
@@ -121,7 +122,7 @@ homepage: https://github.com/south37/gcpc
121
122
  licenses:
122
123
  - MIT
123
124
  metadata: {}
124
- post_install_message:
125
+ post_install_message:
125
126
  rdoc_options: []
126
127
  require_paths:
127
128
  - lib
@@ -136,8 +137,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
137
  - !ruby/object:Gem::Version
137
138
  version: '0'
138
139
  requirements: []
139
- rubygems_version: 3.0.3
140
- signing_key:
140
+ rubygems_version: 3.1.4
141
+ signing_key:
141
142
  specification_version: 4
142
143
  summary: Google Cloud Pub/Sub Client
143
144
  test_files: []