emvoicer 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{emvoicer}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tomasz Werbicki"]
@@ -15,7 +15,10 @@ module Emvoicer
15
15
  headers.each do |k, v|
16
16
  request[k] = v
17
17
  end
18
- response = Net::HTTP.new(url.host, url.port).start do |http|
18
+ http = Net::HTTP.new(url.host, url.port)
19
+ http.use_ssl = true
20
+ http.ca_file = "/etc/ssl/certs/ca-bundle.crt"
21
+ response = http.start do |http|
19
22
  http.request(request)
20
23
  end
21
24
  self.class.test_authentication_response(response)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emvoicer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: em-http-request
17
- requirement: &2166161560 !ruby/object:Gem::Requirement
17
+ requirement: &2170974000 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 0.3.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2166161560
25
+ version_requirements: *2170974000
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: nokogiri
28
- requirement: &2166161080 !ruby/object:Gem::Requirement
28
+ requirement: &2170973520 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.4.6
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2166161080
36
+ version_requirements: *2170973520
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &2166160600 !ruby/object:Gem::Requirement
39
+ requirement: &2170973040 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 2.3.0
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *2166160600
47
+ version_requirements: *2170973040
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: bundler
50
- requirement: &2166160120 !ruby/object:Gem::Requirement
50
+ requirement: &2170972560 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 1.0.0
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *2166160120
58
+ version_requirements: *2170972560
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: jeweler
61
- requirement: &2166159640 !ruby/object:Gem::Requirement
61
+ requirement: &2170988460 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ~>
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 1.6.2
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *2166159640
69
+ version_requirements: *2170988460
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: simplecov
72
- requirement: &2166159160 !ruby/object:Gem::Requirement
72
+ requirement: &2170987980 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,7 +77,7 @@ dependencies:
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *2166159160
80
+ version_requirements: *2170987980
81
81
  description:
82
82
  email: tomasz@werbicki.net
83
83
  executables: []
@@ -125,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  segments:
127
127
  - 0
128
- hash: 474791924770760535
128
+ hash: -673965838607718420
129
129
  required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  none: false
131
131
  requirements: