sepafm 1.1.10 → 1.1.11

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: 681e1ab584c4392f5fdd44baddf5b2f004c55ff8
4
- data.tar.gz: 9baf566d419121be08f75a30880bc08ce85dc069
3
+ metadata.gz: 4963c2237fd5d2f3b2eb42edfa2c804833e91cf0
4
+ data.tar.gz: 24b7b0dabd786fa814a6548782397187600fc683
5
5
  SHA512:
6
- metadata.gz: b9d637b7c6a3fa0f280bc24531ca7a96a665a8a5d3f2aee6025b2ac4afd9de5ef50f35312036883724e4ac842872f04bdbe2c35ac0d5c457f26407d74c2992c7
7
- data.tar.gz: 3442f30ee36036f0ee3f5df2f30bf0634f1e30acc6a3ca6837525d4daf6697c134345bb320b1258c5d06fccf4a2236b6fc3f11dc6120fa5d9c5f8900df79ec08
6
+ metadata.gz: 521807840b2d989790f62953da303a75b4e613bacc3f4d2afafbbfcf1c1e99c927f69184f561e7a549739b22330e3d1979aa003c99725fa1e01d5f61f5179a8c
7
+ data.tar.gz: 6defd97ed7de8a37d6327829ddbed9991b089e48c9d15a4b467774cdabecc7029f2bd56618b7c3d949d375529fa14aeb9b4f65170a9eb6f4c8e666cb32fec2ec
@@ -177,7 +177,7 @@ module Sepa
177
177
  set_node('Environment', @environment.to_s.upcase)
178
178
  set_node("CustomerId", @customer_id)
179
179
  set_node("Timestamp", iso_time)
180
- set_node("SoftwareId", "Sepa Transfer Library version #{VERSION}")
180
+ set_node("SoftwareId", "Sepa Transfer Library #{VERSION}")
181
181
  set_node("Command", pretty_command) unless @command == :renew_certificate
182
182
  end
183
183
 
@@ -211,7 +211,7 @@ module Sepa
211
211
  set_node @template, 'bxd|RequestId', request_id
212
212
  set_node @template, 'bxd|Timestamp', iso_time
213
213
  set_node @template, 'bxd|Language', @language
214
- set_node @template, 'bxd|UserAgent', "Sepa Transfer Library version #{VERSION}"
214
+ set_node @template, 'bxd|UserAgent', "Sepa Transfer Library #{VERSION}"
215
215
  end
216
216
 
217
217
  def set_application_request
@@ -2,7 +2,7 @@ module Sepa
2
2
  # The current version of the gem
3
3
  MAJOR = 1
4
4
  MINOR = 1
5
- TINY = 10
5
+ TINY = 11
6
6
  PRE = nil
7
7
 
8
8
  VERSION = [MAJOR, MINOR, TINY, PRE].compact.join('.')
@@ -91,7 +91,7 @@ class DanskeGenericSoapBuilderTest < ActiveSupport::TestCase
91
91
  def test_user_agent_is_set_correctly
92
92
  user_agent_node = @doc.at("//bxd:UserAgent", 'bxd' => 'http://model.bxd.fi')
93
93
 
94
- assert_equal user_agent_node.content, "Sepa Transfer Library version " + Sepa::VERSION
94
+ assert_equal user_agent_node.content, "Sepa Transfer Library " + Sepa::VERSION
95
95
  end
96
96
 
97
97
  def test_receiver_is_is_set_correctly
@@ -94,7 +94,7 @@ class NordeaApplicationRequestTest < ActiveSupport::TestCase
94
94
  end
95
95
 
96
96
  def test_should_have_software_id_set_with_all_commands
97
- string = "Sepa Transfer Library version #{Sepa::VERSION}"
97
+ string = "Sepa Transfer Library #{Sepa::VERSION}"
98
98
 
99
99
  assert_equal @doc_file.at_css("SoftwareId").content, string
100
100
  assert_equal @doc_get.at_css("SoftwareId").content, string
@@ -47,7 +47,7 @@ class NordeaCertApplicationRequestTest < ActiveSupport::TestCase
47
47
  end
48
48
 
49
49
  test 'should have software id set' do
50
- assert_equal @xml.at_css("SoftwareId").content, "Sepa Transfer Library version #{Sepa::VERSION}"
50
+ assert_equal @xml.at_css("SoftwareId").content, "Sepa Transfer Library #{Sepa::VERSION}"
51
51
  end
52
52
 
53
53
  test 'should have service set' do
@@ -105,7 +105,7 @@ class NordeaGenericSoapBuilderTest < ActiveSupport::TestCase
105
105
  "//bxd:UserAgent", 'bxd' => 'http://model.bxd.fi'
106
106
  ).first
107
107
 
108
- assert_equal user_agent_node.content, "Sepa Transfer Library version " + Sepa::VERSION
108
+ assert_equal user_agent_node.content, "Sepa Transfer Library " + Sepa::VERSION
109
109
  end
110
110
 
111
111
  def test_receiver_is_is_set_correctly
@@ -31,7 +31,7 @@ class NordeaRenewCertApplicationRequestTest < ActiveSupport::TestCase
31
31
  end
32
32
 
33
33
  test "software id is set correctly" do
34
- assert_equal "Sepa Transfer Library version #{Sepa::VERSION}", @doc.at_css("SoftwareId").content
34
+ assert_equal "Sepa Transfer Library #{Sepa::VERSION}", @doc.at_css("SoftwareId").content
35
35
  end
36
36
 
37
37
  test "service is set correctly" do
@@ -43,7 +43,7 @@ class OpCertApplicationRequestTest < ActiveSupport::TestCase
43
43
  end
44
44
 
45
45
  test "software id is set correctly" do
46
- assert_equal @xml.at_css("SoftwareId").content, "Sepa Transfer Library version #{Sepa::VERSION}"
46
+ assert_equal @xml.at_css("SoftwareId").content, "Sepa Transfer Library #{Sepa::VERSION}"
47
47
  end
48
48
 
49
49
  test "service is set correctly" do
@@ -3,6 +3,6 @@ require 'test_helper'
3
3
  class TestSepa < ActiveSupport::TestCase
4
4
  test 'version is defined correctly' do
5
5
  refute_nil Sepa::VERSION
6
- assert_equal '1.1.10', Sepa::VERSION
6
+ assert_equal '1.1.11', Sepa::VERSION
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sepafm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.10
4
+ version: 1.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joni Kanerva
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-09-25 00:00:00.000000000 Z
13
+ date: 2017-09-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activemodel