loopiator 0.3.1 → 0.3.2

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: a22381d3161f16684001d0698639a1d41853bc4d
4
- data.tar.gz: ef2c2bd4aae92301225c9cbfecdcd92d0a809bde
3
+ metadata.gz: 4324e0e9a25a23c3f4fde4bf1aa8f78ff2c66688
4
+ data.tar.gz: 36626e841e19b7ba2ad1bf3778eb21168a093304
5
5
  SHA512:
6
- metadata.gz: 4357a9e50c4370c21beaf1a7352a47d40727e0c24f2bed6b1357405e0996e605f71f361510df44bb1a4219096f85dd713964a17fc446fb151df076ffc7fe8523
7
- data.tar.gz: 5e97236721b61dc55f6eacd418ce449389a0d607e2880777482c637e8065e6bab74839e9c552638f687f5868c197ebaabf8cd49febe35d70e707f87930193756
6
+ metadata.gz: e0a9c4430167a1b3f51023348eeb60b6230c8341031e5fef7872525cc4ed380d6ee0843ea231991b6392abe874f631d2444e084549551aed18c3c5ff39d6c246
7
+ data.tar.gz: 15fee396261a94f0551c68929973c9c84e1c6a3d48737f1fd617b5bbe9295c1d28fafabf7a127f8437be35d3fe3a374adaf2f03269693e95fc7323070d75dbc8
@@ -30,11 +30,11 @@ module Loopiator
30
30
  success = false
31
31
  ordered = order_domain(domain_name, accept_terms: true, customer_number: customer_number, raise_exception_on_occupied: raise_exception_on_occupied)
32
32
 
33
- if (ordered)
33
+ if ordered
34
34
  domain = get_domain(domain_name, customer_number: customer_number)
35
35
 
36
36
  if (domain && domain.needs_to_be_paid? && !domain.reference_number.nil? && !domain.reference_number.empty?)
37
- success = pay_invoice_using_credits(domain.reference_number, customer_number)
37
+ success = pay_invoice_using_credits(domain.reference_number, customer_number: customer_number)
38
38
  end
39
39
  end
40
40
 
data/lib/loopiator.rb CHANGED
@@ -10,7 +10,7 @@ require File.join(File.dirname(__FILE__), 'loopiator/credits')
10
10
  require File.join(File.dirname(__FILE__), 'loopiator/client')
11
11
 
12
12
  module Loopiator
13
- VERSION = "0.3.1"
13
+ VERSION = "0.3.2"
14
14
 
15
15
  class << self
16
16
  attr_writer :configuration
data/loopiator.gemspec CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
3
3
  s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5") if s.respond_to? :required_rubygems_version=
4
4
 
5
5
  s.name = 'loopiator'
6
- s.version = '0.3.1'
6
+ s.version = '0.3.2'
7
7
 
8
8
  s.homepage = "https://github.com/Agiley/Loopiator"
9
9
  s.email = "sebastian@agiley.se"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loopiator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Johnsson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-20 00:00:00.000000000 Z
11
+ date: 2015-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simpleidn