putpaws 0.0.5 → 0.0.6

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
  SHA256:
3
- metadata.gz: bc81dde13186441af99e515508a418fddfda5abac1636ef734ca05b5796df3a7
4
- data.tar.gz: fd003a6a360a6859026f8003471d5755645dcca68e359f6d16de91f16eb2e483
3
+ metadata.gz: '0880d0887eb118ff264bf873fdbe215e039329e9dfc58d004885c7f728f5730a'
4
+ data.tar.gz: 25114357952cb895486c6068e1115cf2d8baea0d3a23b20c7e5d569e73acbb93
5
5
  SHA512:
6
- metadata.gz: 1d119637b098227c69d9c96eb258e9c0a04cd5a1a67840a5006a76014c7deca0ef3c6e750b9e2aa2791b5703eebcbdc4475548dafdcf97f145eed9ab9872d4ec
7
- data.tar.gz: e7e6bf5cb5a343a23285dfed9c849267f421170406a9e437a3aee614455f756ebb15ffcf50447e9dd88d7f6f95f7aab4fcf710ffeab6fb788bc4b0af26915dcb
6
+ metadata.gz: e3a52e4bb01dc8d0825a96b52083935f9b630256576a36f780fbefea1d8925a0a3a71ecf1be7524026032d38d9ea4a682d6bd11d79294f52c33ea04f9ffefb80
7
+ data.tar.gz: 584f4a1b234e0561e5ed0278c8c00410df99577926e4a087671e378b41f3f7541d20a9b6ca857dbd9d26eb51e604960b2f1a5439ea16bfcfcc6eba7590fef1ea
@@ -12,7 +12,7 @@ class Putpaws::ApplicationConfig < Struct.new(
12
12
  def self.load(path_prefix: '.putpaws')
13
13
  @application_data ||= begin
14
14
  path = Pathname.new(path_prefix).join("application.json").to_s
15
- data = File.exists?(path) ?
15
+ data = File.exist?(path) ?
16
16
  JSON.parse(File.read(path), symbolize_names: true).to_h :
17
17
  {}
18
18
  end
@@ -7,7 +7,7 @@ class Putpaws::InfraNetworkConfig < Struct.new(
7
7
  def self.load(path_prefix: '.putpaws')
8
8
  @infra_network_data ||= begin
9
9
  path = Pathname.new(path_prefix).join("infra.json").to_s
10
- data = File.exists?(path) ?
10
+ data = File.exist?(path) ?
11
11
  JSON.parse(File.read(path), symbolize_names: true).to_h :
12
12
  {}
13
13
  data[:network] || {}
@@ -11,7 +11,7 @@ class Putpaws::InfraTargetConfig < Struct.new(
11
11
  def self.load(path_prefix: '.putpaws')
12
12
  @infra_target_data ||= begin
13
13
  path = Pathname.new(path_prefix).join("infra.json").to_s
14
- data = File.exists?(path) ?
14
+ data = File.exist?(path) ?
15
15
  JSON.parse(File.read(path), symbolize_names: true).to_h :
16
16
  {}
17
17
  data[:target] || {}
@@ -9,7 +9,7 @@ class Putpaws::ScheduleConfig < Struct.new(
9
9
  def self.load(path_prefix: '.putpaws')
10
10
  @schedule_data ||= begin
11
11
  path = Pathname.new(path_prefix).join("schedule.json").to_s
12
- data = File.exists?(path) ?
12
+ data = File.exist?(path) ?
13
13
  JSON.parse(File.read(path), symbolize_names: true).to_h :
14
14
  {}
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module Putpaws
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: putpaws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - metheglin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-28 00:00:00.000000000 Z
11
+ date: 2023-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake