lono 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/lono/cfn/create.rb +1 -1
- data/lib/lono/settings.rb +7 -0
- data/lib/lono/template/aws_services.rb +6 -1
- data/lib/lono/version.rb +1 -1
- data/lono.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7bf899e0c6e9dba34f0aff2e220325275f419fd
|
4
|
+
data.tar.gz: 47400300431d3be963f406faff2ce98b369021d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e4b477af4147d519185b81ad26ad1489739d13ddc849dde311fdf3994862132c56e567f13cb18f0ccfe554042f4a044703c00e46a2d5601aaeb1045f7afa98a
|
7
|
+
data.tar.gz: 95b037ae178f17e914542ef48667fc4196235c8ce68a9b997fa1d339f6a2584841b0707c06b047318eb699052e2a00e9643726390dc6ff4eeb5072ee69be9151
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [3.0.1]
|
7
|
+
- update aws-sdk to version 3
|
8
|
+
|
6
9
|
## [3.0.0]
|
7
10
|
- Major feature changes
|
8
11
|
- Lono structural changes
|
data/lib/lono/cfn/create.rb
CHANGED
@@ -13,7 +13,7 @@ class Lono::Cfn::Create < Lono::Cfn::Base
|
|
13
13
|
end
|
14
14
|
|
15
15
|
if stack_exists?(@stack_name)
|
16
|
-
puts "Cannot create '#{@stack_name}' stack because it already exists."
|
16
|
+
puts "Cannot create '#{@stack_name}' stack because it already exists.".colorize(:red)
|
17
17
|
return
|
18
18
|
end
|
19
19
|
|
data/lib/lono/settings.rb
CHANGED
@@ -3,6 +3,13 @@ class Lono::Settings
|
|
3
3
|
@project_root = project_root || '.'
|
4
4
|
end
|
5
5
|
|
6
|
+
# The options from the files get merged with the following precedence:
|
7
|
+
#
|
8
|
+
# current folder - The current folder’s lono/settings.yml values take the highest precedence.
|
9
|
+
# user - The user’s ~/.lono/settings.yml values take the second highest precedence.
|
10
|
+
# default - The default settings bundled with the tool takes the lowest precedence.
|
11
|
+
#
|
12
|
+
# More info: http://lono.cloud/docs/settings/
|
6
13
|
def data
|
7
14
|
return @settings_yaml if @settings_yaml
|
8
15
|
|
@@ -2,6 +2,11 @@ require "aws-sdk"
|
|
2
2
|
|
3
3
|
module Lono::Template::AwsServices
|
4
4
|
def s3
|
5
|
-
@s3
|
5
|
+
return @s3 if @s3
|
6
|
+
|
7
|
+
options = {}
|
8
|
+
# example: endpoint: 'https://s3.us-west-2.amazonaws.com'
|
9
|
+
options[:endpoint] = ENV['S3_ENDPOINT'] if ENV['S3_ENDPOINT']
|
10
|
+
@s3 = Aws::S3::Client.new(options)
|
6
11
|
end
|
7
12
|
end
|
data/lib/lono/version.rb
CHANGED
data/lono.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |gem|
|
|
26
26
|
gem.add_dependency "guard-lono"
|
27
27
|
gem.add_dependency "colorize"
|
28
28
|
gem.add_dependency "hashie"
|
29
|
-
gem.add_dependency "aws-sdk"
|
29
|
+
gem.add_dependency "aws-sdk", '~> 3'
|
30
30
|
gem.add_dependency "activesupport"
|
31
31
|
# gem.add_dependency "plissken" # dependency for vendor/lono-params
|
32
32
|
# using the vendor fork version: https://github.com/tongueroo/plissken
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lono
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -126,16 +126,16 @@ dependencies:
|
|
126
126
|
name: aws-sdk
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
131
|
+
version: '3'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - "
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
138
|
+
version: '3'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: activesupport
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|