valvat 0.6.6 → 0.6.7

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: d996b7c9b8136dcc0bfda66c1e0ead0181aed2f1
4
- data.tar.gz: 15600bac449125a4c0bc2edfc1c685f47a3f4c21
3
+ metadata.gz: e07ba94fe6b03e36a03bb4fe2e24a428f065577f
4
+ data.tar.gz: 809d3cd5b2e57bf3f168fd9aaa6e038bf6389c52
5
5
  SHA512:
6
- metadata.gz: 548f5e2c353a1a7c412cb2e8049a568ad8ec883bb23cba9933525b1eead247634bc81b13f654bd47d83308320a33652a970157fdf8a90b2e174cf6f69b59ebc9
7
- data.tar.gz: 4d8c7a1869cd00f27708e7d697b5fe2f6eb110ddebb7ed9c8b906eafd260fb48286bf0c198b72b11deb04a7291c6827b60ef5439ad262096b8d4f23a5c8b4b94
6
+ metadata.gz: c60fca5a99002ecf485971c31fe83129e4d667e29ef75d623b7092e0fbf0205abd633ddfef3c88e83d2992ba426de80f56535e388691ded6141f9bd23cbf84e2
7
+ data.tar.gz: 7749e21ccd1c16e4d79e93202bfd8f555e8730ffd438deddb2d8bab1eee2d9df5996d28c7c76621d671ec05b9fbf0ffd0486e893249a3af99fb6dad4255c79b8
@@ -4,7 +4,6 @@ rvm:
4
4
  - 2.0.0
5
5
  - 1.9.3
6
6
  - jruby-19mode
7
- - rbx-2.2.9
8
7
  gemfile:
9
8
  - gemfiles/activemodel-4
10
9
  - gemfiles/activemodel-3-2
data/CHANGES.md CHANGED
@@ -1,6 +1,13 @@
1
1
  ### dev
2
2
 
3
- [full changelog](http://github.com/yolk/valvat/compare/v0.6.6...master)
3
+ [full changelog](http://github.com/yolk/valvat/compare/v0.6.7...master)
4
+
5
+ ### 0.6.7 / 2014-11-03
6
+
7
+ [full changelog](http://github.com/yolk/valvat/compare/v0.6.6...v0.6.7)
8
+
9
+ * Fixed SOAP issue with current wasabi 3.3 - fixed #33
10
+ * Several minor travis/guard fixes
4
11
 
5
12
  ### 0.6.6 / 2014-10-02
6
13
 
data/Gemfile CHANGED
@@ -4,10 +4,4 @@ source 'http://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  gem 'rake'
7
- gem 'guard-rspec', '~>4.0'
8
- gem 'rb-fsevent' if RUBY_PLATFORM.include?("x86_64-darwin")
9
-
10
- platform :rbx do
11
- gem 'racc'
12
- gem 'rubysl'
13
- end
7
+ gem 'guard-rspec', '~>4.0'
data/Guardfile CHANGED
@@ -1,4 +1,4 @@
1
- guard 'rspec' do
1
+ guard :rspec, cmd: "bundle exec rspec" do
2
2
  watch(/^spec\/(.*)_spec.rb/)
3
3
  watch(/^lib\/(.*)\.rb/) { |m| "spec/#{m[1]}_spec.rb" }
4
4
  watch(/^spec\/spec_helper.rb/) { "spec" }
@@ -1,7 +1,7 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "savon", "2.3.0"
4
- gem "activemodel", "3.2.15"
3
+ gem "savon", ">=2.3.0"
4
+ gem "activemodel", "3.2.20"
5
5
 
6
6
  gem 'rspec', '~> 3.0'
7
7
  gem 'fakeweb', '>= 1.3.0'
@@ -1,13 +1,8 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "savon", "2.3.0"
4
- gem "activemodel", "4.0.1"
3
+ gem "savon", ">=2.3.0"
4
+ gem "activemodel", "4.1.7"
5
5
 
6
6
  gem 'rspec', '~> 3.0'
7
7
  gem 'fakeweb', '>= 1.3.0'
8
- gem 'rake'
9
-
10
- platform :rbx do
11
- gem 'racc'
12
- gem 'rubysl'
13
- end
8
+ gem 'rake'
@@ -1,12 +1,7 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "savon", "2.3.0"
3
+ gem "savon", ">=2.3.0"
4
4
 
5
5
  gem 'rspec', '~> 3.0'
6
6
  gem 'fakeweb', '>= 1.3.0'
7
- gem 'rake'
8
-
9
- platform :rbx do
10
- gem 'racc'
11
- gem 'rubysl'
12
- end
7
+ gem 'rake'
@@ -6,7 +6,7 @@ class Valvat
6
6
  end
7
7
 
8
8
  def perform(client)
9
- client.call(action, :message => body).to_hash[response_key]
9
+ client.call(action, :message => body, :message_tag => message_tag).to_hash[response_key]
10
10
  end
11
11
 
12
12
  private
@@ -15,6 +15,10 @@ class Valvat
15
15
  {:country_code => @vat.vat_country_code, :vat_number => @vat.to_s_wo_country}
16
16
  end
17
17
 
18
+ def message_tag
19
+ :checkVat
20
+ end
21
+
18
22
  def action
19
23
  :check_vat
20
24
  end
@@ -15,6 +15,10 @@ class Valvat
15
15
  )
16
16
  end
17
17
 
18
+ def message_tag
19
+ :checkVatApprox
20
+ end
21
+
18
22
  def action
19
23
  :check_vat_approx
20
24
  end
@@ -1,3 +1,3 @@
1
1
  class Valvat
2
- VERSION = "0.6.6"
2
+ VERSION = "0.6.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: valvat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Munz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-02 00:00:00.000000000 Z
11
+ date: 2014-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon