tagenv 0.1.3 → 0.1.4

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: 7954c035f59b6e3b36d03788443fa4141ddcde2c
4
- data.tar.gz: b369e5de9f95e77d7ca3b019fa2a19d5f1c9c719
3
+ metadata.gz: 5fbe06e6524e376cdabf53995fa2000c09cb098b
4
+ data.tar.gz: 22e34eb3396dfdcdfd82f0c3ae4a562467eb1fb6
5
5
  SHA512:
6
- metadata.gz: 7c54fd54819a3e4b600c5e616d60c1453e3d3eee3f8e15ade352fdfec28a793a66955fa5547addf9afebc8814cf65eb7b8e278a09baf98b8ccb07083ea8f7c27
7
- data.tar.gz: 95472bd24550e98d4f94932c7d401d2ae85f1b35297de64273ccd403b0028e1bcf568fc987fc21306d9e029f3a7e54c930e03cbaec60e75c390a74715a40a678
6
+ metadata.gz: 3af61d352254dfd83dec9ccb877e68971bbcd461e0b90378fae8b5567075d0b59600562ad0b882d67a597d41d7764f6350d1701d03137fb988fce59f3ee39189
7
+ data.tar.gz: c67d6403dd729c610523d8da213486c8363f76fccaf1b02021dd766a11e2b01cf78fe301d03819aa301957954b284cd3464b13aad730b6f0c39971d7a8dade11
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # tagenv [![Build Status](https://secure.travis-ci.org/toyama0919/tagenv.png?branch=master)](http://travis-ci.org/toyama0919/tagenv)
1
+ # tagenv [![Build Status](https://secure.travis-ci.org/toyama0919/tagenv.png?branch=master)](http://travis-ci.org/toyama0919/tagenv) [![Gem Version](https://badge.fury.io/rb/tagenv.svg)](http://badge.fury.io/rb/tagenv)
2
2
 
3
3
  ec2 instance tag apply environment variables.
4
4
 
data/lib/tagenv/cli.rb CHANGED
@@ -15,7 +15,7 @@ module Tagenv
15
15
  option :prefix, aliases: '-p', default: 'EC2TAG_',type: :string, desc: 'prefix'
16
16
  option :instance_id, aliases: '-i', type: :string, desc: 'instance_id'
17
17
  option :provider, type: :string, default: 'ec2', desc: 'provider'
18
- option :print, aliases: '-P', type: :boolean, desc: 'print'
18
+ option :print, aliases: '-P', default: false, type: :boolean, desc: 'print'
19
19
  def load
20
20
  Tagenv.load(
21
21
  prefix: options[:prefix],
@@ -10,7 +10,7 @@ module Tagenv
10
10
  @ec2 = Aws::EC2::Client.new(region: region)
11
11
  end
12
12
 
13
- def get_tag_hash(instance_id)
13
+ def get_tag_hash(instance_id: nil)
14
14
  instance_id = instance_id || Metadata.get_instance_id
15
15
  instances_tag_with_id(instance_id)
16
16
  end
@@ -1,4 +1,4 @@
1
1
  module Tagenv
2
2
  # tagenv version
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tagenv
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
  - toyama0919
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-13 00:00:00.000000000 Z
11
+ date: 2017-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  version: '0'
186
186
  requirements: []
187
187
  rubyforge_project:
188
- rubygems_version: 2.6.8
188
+ rubygems_version: 2.6.13
189
189
  signing_key:
190
190
  specification_version: 4
191
191
  summary: ec2 instance tag apply environment variables.