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 +4 -4
- data/lib/loopiator/domains.rb +2 -2
- data/lib/loopiator.rb +1 -1
- data/loopiator.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4324e0e9a25a23c3f4fde4bf1aa8f78ff2c66688
|
4
|
+
data.tar.gz: 36626e841e19b7ba2ad1bf3778eb21168a093304
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0a9c4430167a1b3f51023348eeb60b6230c8341031e5fef7872525cc4ed380d6ee0843ea231991b6392abe874f631d2444e084549551aed18c3c5ff39d6c246
|
7
|
+
data.tar.gz: 15fee396261a94f0551c68929973c9c84e1c6a3d48737f1fd617b5bbe9295c1d28fafabf7a127f8437be35d3fe3a374adaf2f03269693e95fc7323070d75dbc8
|
data/lib/loopiator/domains.rb
CHANGED
@@ -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
|
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
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.
|
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.
|
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-
|
11
|
+
date: 2015-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simpleidn
|