pheme 1.2.0 → 1.2.1

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
- SHA256:
3
- metadata.gz: 9ef3242beee9b4d727bb0b449b3f88471ae7c6baa745f1055e6ea7436ef384d2
4
- data.tar.gz: 0753e095b5c9ac5cd4aea3c7376896d7010bb5fe755a4ffd6156433c608e0b9d
2
+ SHA1:
3
+ metadata.gz: 00c2ac8b1b0c53223f919385d56d28d28a69e359
4
+ data.tar.gz: ac3c0acb319ba0837408608c7816df99318ca572
5
5
  SHA512:
6
- metadata.gz: 19ab64c800edb39fcaed3135bce47500002919dbc1501986ff0596a7e1166a8094ee12070d892f186b0aacd450d32e41b2a05d0d2c050c1711b25b0d74a4f36c
7
- data.tar.gz: 3490d7badcd7eed72b2e0764a70e2a086e16b186060ecd319954a33654d734372098176791fd35afa65688f6c7792e4978c15ea113766e5f7b79aae5d71fdc83
6
+ metadata.gz: a8270f91d5f1d157332f757d0cff23c333ffc8215e4c359b35f25f1313d2f647c0ccc22ac93759d59ae70669e56ce3ff896bda11191e9b49d5e053ef293486d9
7
+ data.tar.gz: 52766f23041b4281452779480fe1bd4c3f748131e41f362b2a52f19c10b23863d3b82e015daf3be1d6d712d845cdf9ada0064a0827c15a1ec00c9964a76669c0
@@ -0,0 +1,100 @@
1
+ # Customized from circle sample rails config here: https://circleci.com/docs/2.0/language-ruby/
2
+ references:
3
+ which_bundler: &which_bundler
4
+ run:
5
+ name: Which bundler?
6
+ command: bundle -v
7
+
8
+ bundle_install: &bundle_install
9
+ run:
10
+ name: Bundle Install
11
+ command: bundle check || bundle install
12
+
13
+ run_rspec: &run_rspec
14
+ run:
15
+ name: Run rspec
16
+ command: |
17
+ bundle exec rspec --profile 10 \
18
+ --require spec_helper \
19
+ --format RspecJunitFormatter \
20
+ --out test_results/rspec.xml \
21
+ --format documentation \
22
+ $(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
23
+
24
+ bundle_audit: &bundle_audit
25
+ run:
26
+ name: Bundle audit
27
+ command: bundle exec bundle-audit update && bundle exec bundle-audit check
28
+
29
+ version: 2
30
+ jobs:
31
+ build_2_3_5:
32
+ working_directory: ~/repo
33
+ docker:
34
+ - image: wealthsimple/ruby:2.3.5-node-docker
35
+ environment:
36
+ RAILS_ENV: test
37
+ steps:
38
+ - checkout
39
+ - *which_bundler
40
+ - restore_cache:
41
+ key: rails-demo-bundle-v2-{{ checksum "pheme.gemspec" }}-{{ checksum "Gemfile" }}
42
+ - *bundle_install
43
+ - save_cache:
44
+ key: rails-demo-bundle-v2-{{ checksum "pheme.gemspec" }}-{{ checksum "Gemfile" }}
45
+ paths:
46
+ - vendor/bundle
47
+ - *run_rspec
48
+ - *bundle_audit
49
+ - store_test_results:
50
+ path: test_results
51
+
52
+ build_2_4_2:
53
+ working_directory: ~/repo
54
+ docker:
55
+ - image: wealthsimple/ruby:2.4.2-node-docker
56
+ environment:
57
+ RAILS_ENV: test
58
+ steps:
59
+ - checkout
60
+ - *which_bundler
61
+ - restore_cache:
62
+ key: rails-demo-bundle-v2-{{ checksum "pheme.gemspec" }}-{{ checksum "Gemfile" }}
63
+ - *bundle_install
64
+ - save_cache:
65
+ key: rails-demo-bundle-v2-{{ checksum "pheme.gemspec" }}-{{ checksum "Gemfile" }}
66
+ paths:
67
+ - vendor/bundle
68
+ - *run_rspec
69
+ - *bundle_audit
70
+ - store_test_results:
71
+ path: test_results
72
+
73
+ build_2_5_1:
74
+ working_directory: ~/repo
75
+ docker:
76
+ - image: wealthsimple/ruby:2.5.1-node-docker
77
+ environment:
78
+ RAILS_ENV: test
79
+ steps:
80
+ - checkout
81
+ - *which_bundler
82
+ - restore_cache:
83
+ key: rails-demo-bundle-v2-{{ checksum "pheme.gemspec" }}-{{ checksum "Gemfile" }}
84
+ - *bundle_install
85
+ - save_cache:
86
+ key: rails-demo-bundle-v2-{{ checksum "pheme.gemspec" }}-{{ checksum "Gemfile" }}
87
+ paths:
88
+ - vendor/bundle
89
+ - *run_rspec
90
+ - *bundle_audit
91
+ - store_test_results:
92
+ path: test_results
93
+
94
+ workflows:
95
+ version: 2
96
+ build:
97
+ jobs:
98
+ - build_2_3_5
99
+ - build_2_4_2
100
+ - build_2_5_1
@@ -45,7 +45,7 @@ module Pheme
45
45
  throw :stop_polling
46
46
  rescue StandardError => e
47
47
  Pheme.logger.error(e)
48
- Pheme.rollbar(e, "#{self.class} failed to process message", content)
48
+ Pheme.rollbar(e, "#{self.class} failed to process message", { message: content })
49
49
  end
50
50
  end
51
51
  end
data/lib/pheme/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pheme
2
- VERSION = "1.2.0".freeze
2
+ VERSION = "1.2.1".freeze
3
3
  end
data/pheme.gemspec CHANGED
@@ -26,12 +26,12 @@ Gem::Specification.new do |gem|
26
26
  gem.add_dependency "recursive-open-struct", "~> 1"
27
27
  gem.add_dependency "smarter_csv", "~> 1"
28
28
 
29
- gem.add_development_dependency 'bundler', '~> 1.13'
30
- gem.add_development_dependency 'rake', '~> 10.5'
29
+ gem.add_development_dependency 'bundler'
30
+ gem.add_development_dependency 'rake'
31
31
 
32
32
  gem.add_development_dependency "rspec"
33
33
  gem.add_development_dependency "rspec-collection_matchers"
34
34
  gem.add_development_dependency "rspec-its"
35
- gem.add_development_dependency "rspec_junit_formatter"
35
+ gem.add_development_dependency "rspec_junit_formatter", ">= 0", "~> 0.2"
36
36
  gem.add_development_dependency "rubocop"
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pheme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Graham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-15 00:00:00.000000000 Z
11
+ date: 2018-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -84,30 +84,30 @@ dependencies:
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '1.13'
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '1.13'
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '10.5'
103
+ version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: '10.5'
110
+ version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rspec
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -157,6 +157,9 @@ dependencies:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
+ - - "~>"
161
+ - !ruby/object:Gem::Version
162
+ version: '0.2'
160
163
  type: :development
161
164
  prerelease: false
162
165
  version_requirements: !ruby/object:Gem::Requirement
@@ -164,6 +167,9 @@ dependencies:
164
167
  - - ">="
165
168
  - !ruby/object:Gem::Version
166
169
  version: '0'
170
+ - - "~>"
171
+ - !ruby/object:Gem::Version
172
+ version: '0.2'
167
173
  - !ruby/object:Gem::Dependency
168
174
  name: rubocop
169
175
  requirement: !ruby/object:Gem::Requirement
@@ -185,6 +191,7 @@ executables: []
185
191
  extensions: []
186
192
  extra_rdoc_files: []
187
193
  files:
194
+ - ".circleci/config.yml"
188
195
  - ".gitignore"
189
196
  - ".rspec"
190
197
  - ".rubocop.yml"
@@ -192,7 +199,6 @@ files:
192
199
  - LICENSE
193
200
  - README.md
194
201
  - Rakefile
195
- - circle.yml
196
202
  - lib/pheme.rb
197
203
  - lib/pheme/compression.rb
198
204
  - lib/pheme/configuration.rb
@@ -237,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
237
243
  version: '0'
238
244
  requirements: []
239
245
  rubyforge_project:
240
- rubygems_version: 2.7.3
246
+ rubygems_version: 2.5.1
241
247
  signing_key:
242
248
  specification_version: 4
243
249
  summary: Ruby SNS publisher + SQS poller & message handler
data/circle.yml DELETED
@@ -1,17 +0,0 @@
1
- machine:
2
- ruby:
3
- version: 2.4.2
4
- dependencies:
5
- override:
6
- - 'rvm-exec 2.2.2 bundle install'
7
- - 'rvm-exec 2.3.5 bundle install'
8
- - 'rvm-exec 2.4.2 bundle install'
9
- - 'rvm-exec 2.5.1 bundle install'
10
- post:
11
- - bundle exec bundle-audit update && bundle exec bundle-audit check
12
- test:
13
- override:
14
- - 'rvm-exec 2.2.2 bundle exec rspec'
15
- - 'rvm-exec 2.3.5 bundle exec rspec'
16
- - 'rvm-exec 2.4.2 bundle exec rspec'
17
- - 'rvm-exec 2.5.1 bundle exec rspec'