rollbar-api 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +69 -0
- data/lib/rollbar-api/request.rb +1 -1
- data/lib/rollbar-api/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e665e6b1e2ae7787d23bd6256a93b0608259bf87a603b5d35db1710f3ea86fc6
|
4
|
+
data.tar.gz: b8f2cca220d11020b07f65867159f3b8653840c3ec2291dc6dcb3a1e77bca8fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0637c7c7a2fa9a592d33362b3b596dbeb2dbcb1b1df9aaba957d871130be5dfec937fc5a99f77cb6b8fce45767ddfa8f154cb64d7d387455a0027a2f69a7027
|
7
|
+
data.tar.gz: 5a0dfffa08725053fda0987b4b3283a52111dc144bb2946ce987e85e3f8d4cb3c03df006f2b98b41160c93ea559c8075e7f52f9720b433d5315199256ab09d73
|
@@ -0,0 +1,69 @@
|
|
1
|
+
version: 2
|
2
|
+
|
3
|
+
defaults: &defaults
|
4
|
+
working_directory: ~/wealthsimple
|
5
|
+
docker:
|
6
|
+
- image: circleci/ruby:2.5.5
|
7
|
+
|
8
|
+
references:
|
9
|
+
attach_code_workspace: &attach_code_workspace
|
10
|
+
attach_workspace:
|
11
|
+
at: ~/wealthsimple
|
12
|
+
|
13
|
+
restore_bundle_dependencies: &restore_bundle_dependencies
|
14
|
+
run:
|
15
|
+
name: Restore bundle dependencies from workspace
|
16
|
+
command: bundle --path vendor/bundle
|
17
|
+
|
18
|
+
jobs:
|
19
|
+
checkout_and_bundle:
|
20
|
+
<<: *defaults
|
21
|
+
steps:
|
22
|
+
- checkout
|
23
|
+
- run: bundle install --jobs=4 --retry=3 --path vendor/bundle
|
24
|
+
- persist_to_workspace:
|
25
|
+
root: .
|
26
|
+
paths: .
|
27
|
+
|
28
|
+
rspec:
|
29
|
+
<<: *defaults
|
30
|
+
steps:
|
31
|
+
- *attach_code_workspace
|
32
|
+
- *restore_bundle_dependencies
|
33
|
+
- run: bundle exec rspec
|
34
|
+
|
35
|
+
release:
|
36
|
+
<<: *defaults
|
37
|
+
steps:
|
38
|
+
- add_ssh_keys:
|
39
|
+
fingerprints:
|
40
|
+
- "46:b5:cb:ee:57:dc:14:95:31:be:12:13:4f:11:94:a4"
|
41
|
+
- *attach_code_workspace
|
42
|
+
- *restore_bundle_dependencies
|
43
|
+
- run:
|
44
|
+
name: Release to rubygems.org
|
45
|
+
command: |
|
46
|
+
mkdir -p ~/.ssh
|
47
|
+
touch ~/.ssh/known_hosts
|
48
|
+
echo "github.com,192.30.253.112 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==" >> ~/.ssh/known_hosts
|
49
|
+
mkdir ~/.gem
|
50
|
+
echo ":rubygems_api_key: ${RUBYGEMS_API_KEY}" >> ~/.gem/credentials
|
51
|
+
chmod 600 ~/.gem/credentials
|
52
|
+
bundle exec rake release
|
53
|
+
|
54
|
+
workflows:
|
55
|
+
version: 2
|
56
|
+
build:
|
57
|
+
jobs:
|
58
|
+
- checkout_and_bundle:
|
59
|
+
context: wealthsimple
|
60
|
+
- rspec:
|
61
|
+
requires:
|
62
|
+
- checkout_and_bundle
|
63
|
+
- release:
|
64
|
+
context: wealthsimple
|
65
|
+
filters:
|
66
|
+
branches:
|
67
|
+
only: master
|
68
|
+
requires:
|
69
|
+
- rspec
|
data/lib/rollbar-api/request.rb
CHANGED
@@ -29,9 +29,9 @@ module RollbarApi
|
|
29
29
|
|
30
30
|
def connection
|
31
31
|
Faraday.new(url: "https://api.rollbar.com") do |faraday|
|
32
|
+
faraday.use Faraday::Response::RaiseError
|
32
33
|
faraday.response :logger, RollbarApi.logger, bodies: false
|
33
34
|
faraday.adapter Faraday.default_adapter
|
34
|
-
faraday.use Faraday::Response::RaiseError
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
data/lib/rollbar-api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rollbar-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Graham
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -171,6 +171,7 @@ executables: []
|
|
171
171
|
extensions: []
|
172
172
|
extra_rdoc_files: []
|
173
173
|
files:
|
174
|
+
- ".circleci/config.yml"
|
174
175
|
- ".gitignore"
|
175
176
|
- ".rspec"
|
176
177
|
- Gemfile
|