putpaws 0.0.5 → 0.0.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
  SHA256:
3
- metadata.gz: bc81dde13186441af99e515508a418fddfda5abac1636ef734ca05b5796df3a7
4
- data.tar.gz: fd003a6a360a6859026f8003471d5755645dcca68e359f6d16de91f16eb2e483
3
+ metadata.gz: 5ba984b5ce0261d5c757b4112e6d849aa0815ded01898ee9a25f42cebbb4254f
4
+ data.tar.gz: e3b2871eacd65cd2d9904cd09090fce6a8d6fa2e55a227b385a2acbeb11c7c4f
5
5
  SHA512:
6
- metadata.gz: 1d119637b098227c69d9c96eb258e9c0a04cd5a1a67840a5006a76014c7deca0ef3c6e750b9e2aa2791b5703eebcbdc4475548dafdcf97f145eed9ab9872d4ec
7
- data.tar.gz: e7e6bf5cb5a343a23285dfed9c849267f421170406a9e437a3aee614455f756ebb15ffcf50447e9dd88d7f6f95f7aab4fcf710ffeab6fb788bc4b0af26915dcb
6
+ metadata.gz: 7c2a4f49328c01dccf7a8efaa9bbdcb0fda07fe1fd68d2632cb6043329401f9059378ac0ed90d3211dc3d4dfcadefc2fe747dd494ecd9f0dae52681ffa5ef9d5
7
+ data.tar.gz: acdad73a867e604275325d95c30d3b85f7b784b753cc4461d2838a385ac1b5b0f33cf93c87ecff58e778325a9416baad8994125c1b9108f803418ec7ee74edeb
@@ -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
@@ -12,9 +12,9 @@ module Putpaws::CloudWatch
12
12
 
13
13
  def self.config(config, type: "default")
14
14
  if type == "build"
15
- new(config.build_log_command_params)
15
+ new(**config.build_log_command_params)
16
16
  else
17
- new(config.log_command_params)
17
+ new(**config.log_command_params)
18
18
  end
19
19
  end
20
20
 
@@ -3,7 +3,7 @@ require 'aws-sdk-ecs'
3
3
  module Putpaws::Ecs
4
4
  class TaskCommand
5
5
  def self.config(config)
6
- new(config.ecs_command_params)
6
+ new(**config.ecs_command_params)
7
7
  end
8
8
 
9
9
  attr_reader :ecs_client
@@ -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
@@ -3,7 +3,7 @@ require 'aws-sdk-scheduler'
3
3
  module Putpaws::Scheduler
4
4
  class ScheduleCommand
5
5
  def self.config(config)
6
- new(config.log_command_params)
6
+ new(**config.log_command_params)
7
7
  end
8
8
 
9
9
  attr_reader :client
@@ -1,3 +1,3 @@
1
1
  module Putpaws
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.7"
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.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - metheglin
8
- autorequire:
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
@@ -117,7 +117,7 @@ homepage: https://rubygems.org/gems/putpaws
117
117
  licenses:
118
118
  - MIT
119
119
  metadata: {}
120
- post_install_message:
120
+ post_install_message:
121
121
  rdoc_options: []
122
122
  require_paths:
123
123
  - lib
@@ -132,8 +132,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  requirements: []
135
- rubygems_version: 3.1.4
136
- signing_key:
135
+ rubygems_version: 3.4.10
136
+ signing_key:
137
137
  specification_version: 4
138
138
  summary: Put your paws up!!
139
139
  test_files: []