stalkedbybean 0.1.2 → 0.2.0

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
- SHA256:
3
- metadata.gz: 8ceeca3173e350593ed4151808a9efb6a9ad6c9b54afbf5ccd96b688ebc0be9b
4
- data.tar.gz: 508fffd4d61f31b7c8652cd448bf103855e74254dbee4b2b45f3300e57917a97
2
+ SHA1:
3
+ metadata.gz: 598248a47e12f431128a1950310c35c3d26959c4
4
+ data.tar.gz: 7c833b56d5a7a75c0504a8e7620b41eff4cdaf86
5
5
  SHA512:
6
- metadata.gz: 9a9b043189db954a06d6e3293812d739b4acea9b8fe5a94992041f74af1bf7e61033ad1ee202e5f64b61606fad5f5ab933b405cf2598406c96f7c229894c68ab
7
- data.tar.gz: ef4f6640dcc37820a305e3199acb3d2921750d66c1c0adc7ec6b52991af8d82b4062c81390552cb78c99caebcaf80d4b1ed9ff556db688b7890b18e843032dcc
6
+ metadata.gz: 2bb4d4144763f31691b864b58aae1b8677b98c38d318b64785b081f7573836152b7be463594b31d825c031f742e5a6fe1d410577fc233104cde435f60dee06f5
7
+ data.tar.gz: 5b4039efdb381aa97c7786c9c9c51c3b599a643abe809495cd45d4ddc9d377a7e164c3903624861a09ef591a81c77f4a63d412a668a7a1f59d8c8d212bd5f6cb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stalkedbybean (0.1.0)
4
+ stalkedbybean (0.2.0)
5
5
  aws-sdk-elasticbeanstalk
6
6
  aws-sdk-iam
7
7
  aws-sdk-kms
@@ -17,15 +17,15 @@ GEM
17
17
  ffi (~> 1.9.10)
18
18
  rspec-expectations (>= 2.99)
19
19
  thor (~> 0.19)
20
- aws-partitions (1.70.0)
21
- aws-sdk-core (3.17.0)
20
+ aws-partitions (1.77.0)
21
+ aws-sdk-core (3.19.0)
22
22
  aws-partitions (~> 1.0)
23
23
  aws-sigv4 (~> 1.0)
24
24
  jmespath (~> 1.0)
25
- aws-sdk-elasticbeanstalk (1.4.0)
25
+ aws-sdk-elasticbeanstalk (1.5.0)
26
26
  aws-sdk-core (~> 3)
27
27
  aws-sigv4 (~> 1.0)
28
- aws-sdk-iam (1.3.0)
28
+ aws-sdk-iam (1.4.0)
29
29
  aws-sdk-core (~> 3)
30
30
  aws-sigv4 (~> 1.0)
31
31
  aws-sdk-kms (1.5.0)
@@ -56,7 +56,7 @@ GEM
56
56
  diff-lcs (1.3)
57
57
  ffi (1.9.23)
58
58
  gherkin (5.0.0)
59
- jmespath (1.3.1)
59
+ jmespath (1.4.0)
60
60
  multi_json (1.13.1)
61
61
  multi_test (0.1.2)
62
62
  rake (10.5.0)
@@ -76,5 +76,8 @@ DEPENDENCIES
76
76
  rake (~> 10.0)
77
77
  stalkedbybean!
78
78
 
79
+ RUBY VERSION
80
+ ruby 2.4.2p198
81
+
79
82
  BUNDLED WITH
80
- 1.16.0
83
+ 1.16.1
data/README.md CHANGED
@@ -103,7 +103,7 @@ Keys are versioned. See [CredStash documentation](https://github.com/fugue/creds
103
103
 
104
104
  ## Development
105
105
 
106
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
106
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `rake features` for the cucumber test. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
107
107
 
108
108
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
109
109
 
data/Rakefile CHANGED
@@ -7,4 +7,12 @@ Rake::TestTask.new(:test) do |t|
7
7
  t.test_files = FileList["test/**/*_test.rb"]
8
8
  end
9
9
 
10
+ require 'rubygems'
11
+ require 'cucumber'
12
+ require 'cucumber/rake/task'
13
+
14
+ Cucumber::Rake::Task.new(:features) do |t|
15
+ t.cucumber_opts = "features --format pretty"
16
+ end
17
+
10
18
  task :default => :test
@@ -8,7 +8,7 @@ environment: test
8
8
  aws_account_id:
9
9
  kms_arn:
10
10
 
11
- # OPTIONAL (BUT HIGHLY RECOMMENDED) OPTIONS
11
+ # MANDATORY OPTIONS FOR PROVISIONNING
12
12
  vpc_id:
13
13
  vpc_security_groups:
14
14
  -
@@ -23,3 +23,4 @@ vpc_elb_subnets:
23
23
  -
24
24
  -
25
25
  key_name:
26
+ elb_type: "classic" # accepted values are : classic, application, network
@@ -1,3 +1,3 @@
1
1
  # THIS WILL BE THE DEFAULT CONFIG FILE THAT WILL BE PASSED TO YOUR COMMANDS IF YOU DO NOT OVVERRIDE WITH -F FLAG.
2
- # YOU CAN CHANGE IT IF YOU WANT YOUR DEFAULT CONFIG FILE TO BE SOMETHING ELSE.
2
+ # YOU CAN CHANGE IT IF YOU WANT YOUR DEFAULT CONFIG FILE TO BE SOMETHING ELSE.
3
3
  default: "config/config_<%=name%>.yml"
@@ -8,7 +8,7 @@ environment: <%= name %>
8
8
  aws_account_id:
9
9
  kms_arn:
10
10
 
11
- # OPTIONAL (BUT HIGHLY RECOMMENDED) OPTIONS
11
+ # MANDATORY OPTIONS FOR PROVISIONNING
12
12
  vpc_id:
13
13
  vpc_security_groups:
14
14
  -
@@ -23,3 +23,4 @@ vpc_elb_subnets:
23
23
  -
24
24
  -
25
25
  key_name:
26
+ elb_type: "classic" # accepted values are : classic, application, network
@@ -21,7 +21,7 @@ module Stalkedbybean
21
21
  -sr aws-elasticbeanstalk-service-role \
22
22
  --tags project=#{@options[:app_name]},environment=#{@options[:environment]} \
23
23
  --scale #{@options[:instance_count]} \
24
- --elb-type classic \
24
+ --elb-type #{@options[:elb_type]} \
25
25
  --vpc.id #{@options[:vpc_id]} \
26
26
  --vpc.elbpublic \
27
27
  --vpc.ec2subnets #{@options[:vpc_ec2_subnets].join(',')} \
@@ -1,3 +1,3 @@
1
1
  module Stalkedbybean
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stalkedbybean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kavita Kalaichelvan
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-03-29 00:00:00.000000000 Z
12
+ date: 2018-04-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  version: '0'
183
183
  requirements: []
184
184
  rubyforge_project:
185
- rubygems_version: 2.7.3
185
+ rubygems_version: 2.6.13
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: Command line utility to deploy Elixir apps to AWS using Elastic Beanstalk