simple_segment 1.0.0 → 1.1.0

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: 1203b421981ab0a39adebe5278c6204c8041862c64ee534a5dada29d1d6831c1
4
- data.tar.gz: 36eb6dd779a1ad9c551c7676142b50a6bf024f0b3ceae0264d94390ac21fb3d5
3
+ metadata.gz: 7a623a667db5890d88ca602d744725ce1a63ff6aee02ce8d6aa8439e714a8456
4
+ data.tar.gz: bfcb26a192fcc815ef7dfb875280fd4b3d12840177ecd39b6af691d50dc51539
5
5
  SHA512:
6
- metadata.gz: b4f41ea1255f5c7ef8c0bd6a36085de15ffdeefbd3424d9882c11f402d104944b0283aac6fc67de2547e23dcc70f55c8894bfb65c644ca0c19c528aa5ba9faa6
7
- data.tar.gz: dd31f8edc34d4b11b098222ffdb6235a2f0a0aef69dd0cc3cf5c23a02d3ca5902fcce26017acf568d2cc3032ec686b80ab01cbf125d23ff87bfaf23795a8d965
6
+ metadata.gz: b47a7e817788640e8d05f88835c179aae1f6075eff460e4ad4677453f7bfe3882616caff2b06001c76bc22ded91fbf0d00eb32a2acd042647f7ae56d38bf3b42
7
+ data.tar.gz: 35086c2e4b6d1c0ab332663bf5241c61e2c4b977f7757b7d5827dda428fe873d6d923163f9ad72271bd0cd57f4c07b221f0e3ff4591c9057eeccdca3bd4447c1
data/.travis.yml CHANGED
@@ -3,3 +3,4 @@ rvm:
3
3
  - 2.4
4
4
  - 2.5
5
5
  - 2.6
6
+ - 2.7
data/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.1.0] - 2020-04-11
10
+
11
+ ### Added
12
+ - Added supprt for http_proxy and https_proxy environment variables https://github.com/whatthewhat/simple_segment/pull/26 by @saks
13
+ - Added Ruby 2.7 to travis.yml
14
+
9
15
  ## [1.0.0] - 2019-12-12
10
16
 
11
17
  ### Added
@@ -19,7 +25,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
19
25
  ### Changed
20
26
  - Date properties are now automatically converted to ISO 8601 to be consistent with the official client https://github.com/whatthewhat/simple_segment/pull/19 by @juanramoncg
21
27
 
22
- [Unreleased]: https://github.com/whatthewhat/simple_segment/compare/v1.0.0...HEAD
28
+ [Unreleased]: https://github.com/whatthewhat/simple_segment/compare/v1.1.0...HEAD
29
+ [1.1.0]: https://github.com/whatthewhat/simple_segment/compare/v1.0.0...v1.1.0
23
30
  [1.0.0]: https://github.com/whatthewhat/simple_segment/compare/v0.3.0...v1.0.0
24
31
  [0.3.0]: https://github.com/whatthewhat/simple_segment/compare/v0.2.1...v0.3.0
25
32
  [0.2.1]: https://github.com/whatthewhat/simple_segment/compare/v0.2.0...v0.2.1
@@ -32,7 +32,7 @@ module SimpleSegment
32
32
 
33
33
  { status: 200, error: nil }
34
34
  else
35
- Net::HTTP.start(uri.host, uri.port, http_options) do |http|
35
+ Net::HTTP.start(uri.host, uri.port, :ENV, http_options) do |http|
36
36
  request = Net::HTTP::Post.new(path, headers)
37
37
  request.basic_auth write_key, nil
38
38
  http.request(request, payload).tap do |res|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimpleSegment
4
- VERSION = '1.0.0'
4
+ VERSION = '1.1.0'
5
5
  end
@@ -20,9 +20,9 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ['lib']
22
22
 
23
- spec.add_development_dependency 'bundler', '~> 1.11'
23
+ spec.add_development_dependency 'bundler', '>= 1.11'
24
24
  spec.add_development_dependency 'pry'
25
- spec.add_development_dependency 'rake', '~> 10.0'
25
+ spec.add_development_dependency 'rake', '>= 10.0'
26
26
  spec.add_development_dependency 'rspec', '~> 3.0'
27
27
  spec.add_development_dependency 'rubocop', '0.75.0'
28
28
  spec.add_development_dependency 'timecop', '~> 0.8.0'
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_segment
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikhail Topolskiy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-12 00:00:00.000000000 Z
11
+ date: 2020-04-11 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
19
  version: '1.11'
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
26
  version: '1.11'
27
27
  - !ruby/object:Gem::Dependency
@@ -42,14 +42,14 @@ dependencies:
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '10.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
55
  - !ruby/object:Gem::Dependency