activejob-google_cloud_tasks 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 137174f62c755c161748b355d4fdd62f4363ada0
4
- data.tar.gz: 7bb6a101dc513315019267688d188e5aff8ff2e8
3
+ metadata.gz: dc5d670956774240c069bd0316258e7d5b8f798b
4
+ data.tar.gz: 5deca70e5cd229b9dd66890109440620912c94b3
5
5
  SHA512:
6
- metadata.gz: 60ce8566bcfd1519fe057368471ede2ad976dcc8cf8999865ba27b06b043c27f119d5fcac4eff8739b19c741b7b7b7f834134b77e040c9bc10990fc949ac44fa
7
- data.tar.gz: 1eb6e7ee063f83df5deb85932da0bb25e73d0edeb5fd02fd14cdce4a2d51f1ad37716ed65882210e90c8098689a05944660c8a1e1dfe831ab8a1b7d13bdee1fa
6
+ metadata.gz: 18e5b5068dcee2088764ad0f412b48e307338433cbcb51e1f80c792430f9d0510636f6c96c00d98071a8e29a5e2a1443250b606f64d03bcbcaa67d2d963351ed
7
+ data.tar.gz: 3941d8269c69d8d3ae006aa9c05f8b9fdd0317ba5e03bbc10d67869d9ed4db6e0b3b885e1d431267476830f22d10a80a2a78b2f85a18c0b206b52cc5bd04b809
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activejob-google_cloud_tasks (0.1.3)
4
+ activejob-google_cloud_tasks (0.1.4)
5
5
  activejob
6
6
  activesupport
7
7
  google-cloud-tasks (~> 0.2.6)
@@ -4,11 +4,12 @@ module Activejob
4
4
  DEFAULT_PATH = '/activejobs'
5
5
 
6
6
  def self.path
7
- defined?(@path) ? @path : DEFAULT_PATH
7
+ @path.presence || DEFAULT_PATH
8
8
  end
9
9
 
10
10
  def self.path=(path)
11
- @path = path ? path : DEFAULT_PATH
11
+ raise "path can't be blank" unless path.present?
12
+ @path = path
12
13
  end
13
14
  end
14
15
  end
@@ -1,5 +1,5 @@
1
1
  module Activejob
2
2
  module GoogleCloudTasks
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activejob-google_cloud_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kawabata Shintaro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-30 00:00:00.000000000 Z
11
+ date: 2018-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack