bugsnag-api 2.0.0 → 2.0.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
2
  SHA1:
3
- metadata.gz: e8fd0a95aa272468057d81984b0b20d40fccc01c
4
- data.tar.gz: 6ecdee5fb39a7095d847dfb16f8a8485323a4c27
3
+ metadata.gz: 4616f90142beb5163ce325dee92a393d3b990bac
4
+ data.tar.gz: 0e1f46dd0c4543abaf73fd39a6bd63fc9028ab80
5
5
  SHA512:
6
- metadata.gz: 5504fb4a05af47894bf86c740b81707ae8d445e5ed73255312de352b8f90ffef51ac8750102928c0053831ba331d87f2b87cc99fe47c6935012f9176136e795e
7
- data.tar.gz: cde5fdecf9c29ac4dcc8defaa781d3d8c682a4fc1a57537a4b1044e48e3b89bda6f04cece86b753b27dd83a6bfd087b975c4537c3d7107b62d1ee0dd2c3d126a
6
+ metadata.gz: c5b44534d8d0b639c054ad67402fcd4d25bb8c2f985e06019135c36868cdddc518d2915a88eefc7fed3e0b5da76dc4cba79473fd92ab68f28ea54b7002362557
7
+ data.tar.gz: fd9c7470df57b829520e4deb9609e1e3414da9e6d4f7e261ca8cb2b1253a596e3bef1668621cc2411eae805d4a765379056092423cd94e4dcaeec9763b37536a
@@ -8,13 +8,10 @@ rvm:
8
8
  - jruby-19mode
9
9
 
10
10
  before_install:
11
- - gem install bundler -v 1.12
12
- - gem update --system
13
- - bundle --version
14
- - gem --version
11
+ - echo YOLO
15
12
 
16
13
  install:
17
- - bundle _1.12.0_ install --with "$GEMSETS"
14
+ - bundle install --with "$GEMSETS"
18
15
 
19
16
  script:
20
- - bundle _1.12.0_ exec rake
17
+ - bundle exec rake spec
@@ -1,6 +1,14 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## 2.0.1 (15 Nov 2017)
5
+
6
+ ### Fixes
7
+
8
+ * Adds `X-Bugsnag-Api` header so that on-prem clients may use this tool
9
+ | [tremlab](https://github.com/tremlab)
10
+ | [#14](https://github.com/bugsnag/bugsnag-api-ruby/pull/14)
11
+
4
12
  ## 2.0.0 (10 Oct 2017)
5
13
 
6
14
  This release changes the gem to access v2 of the [Bugsnag data-access API](https://docs.bugsnag.com/api/data-access/), with full API documentation found [here](http://docs.bugsnagapiv2.apiary.io/).
@@ -20,7 +20,6 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_dependency "sawyer", '~> 0.8.1'
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.3"
24
23
  spec.add_development_dependency "rake"
25
24
  spec.add_development_dependency "rspec", "~> 3.0"
26
25
  spec.add_development_dependency "webmock", RUBY_VERSION <= '2.0.0' ? '2.3.2': '>2.3.2'
@@ -149,6 +149,7 @@ module Bugsnag
149
149
  @agent ||= Sawyer::Agent.new(configuration.endpoint, sawyer_options) do |http|
150
150
  http.headers[:content_type] = "application/json"
151
151
  http.headers[:'X-Version'] = "2"
152
+ http.headers[:'X-Bugsnag-Api'] = "true"
152
153
  http.headers[:user_agent] = configuration.user_agent
153
154
 
154
155
  if basic_authenticated?
@@ -1,5 +1,5 @@
1
1
  module Bugsnag
2
2
  module Api
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugsnag-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-10 00:00:00.000000000 Z
11
+ date: 2017-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sawyer
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.8.1
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.3'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.3'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rake
43
29
  requirement: !ruby/object:Gem::Requirement