ufo 1.6.0 → 1.6.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/CONTRIBUTING.md +56 -0
- data/lib/ufo/docker/builder.rb +8 -2
- data/lib/ufo/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6388da22b6c5411a782d28977800302d9b38a58
|
4
|
+
data.tar.gz: 99c104ba7d80919fbe87781072b0945fe93ca0db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62494d932d9451f1c613f886f27f2802b2ed0fcfc092084ab610e48fb1731fabfd6aea7a3431a4ace9c32bbf76bb99dbce848acf8ec79dfb40c7b4ccfc802618
|
7
|
+
data.tar.gz: 925dc53383349eecac49c37c967ff1bf8c2942db9d61c4a335a41bc3fc9580393c2bbf85cffd80dd413d05695ba7b7620572b4ea2c3fdcadb5cc5d07916f92bf
|
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
|
+
## [1.6.1]
|
7
|
+
* exit if docker push fails
|
8
|
+
|
6
9
|
## [1.6.0]
|
7
10
|
* rename ufo docker cleanup -> ufo docker clean
|
8
11
|
* rename ufo docker image_name -> ufo docker name
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
# Contributing to Lono
|
2
|
+
|
3
|
+
Contributing is welcomed and encouraged. We love pull requests!
|
4
|
+
|
5
|
+
Here are some ways *you* can contribute:
|
6
|
+
|
7
|
+
* by reporting bugs
|
8
|
+
* by suggesting new features
|
9
|
+
* by writing or editing documentation
|
10
|
+
* by writing specs
|
11
|
+
* by writing code ( **no patch is too small** : fix typos, add comments, clean up inconsistent whitespace )
|
12
|
+
* by refactoring code
|
13
|
+
* by closing [issues][]
|
14
|
+
* by reviewing patches
|
15
|
+
|
16
|
+
[issues]: https://github.com/tongueroo/ufo/issues
|
17
|
+
|
18
|
+
## Submitting an Issue
|
19
|
+
|
20
|
+
* We use the [GitHub issue tracker][issues] to track bugs and features.
|
21
|
+
* Before submitting a bug report or feature request, check to make sure it hasn't
|
22
|
+
already been submitted.
|
23
|
+
* When submitting a bug report, please include a [Gist][] that includes a stack
|
24
|
+
trace and any details that may be necessary to reproduce the bug, including
|
25
|
+
your gem version, Ruby version, and operating system. Ideally, a bug report
|
26
|
+
should include a pull request with failing specs.
|
27
|
+
|
28
|
+
[gist]: https://gist.github.com/
|
29
|
+
|
30
|
+
## Cleaning up issues
|
31
|
+
|
32
|
+
* Issues that have no response from the submitter will be closed after 30 days.
|
33
|
+
* Issues will be closed once they're assumed to be fixed or answered. If the
|
34
|
+
maintainer is wrong, it can be opened again.
|
35
|
+
* If your issue is closed by mistake, please understand and explain the issue.
|
36
|
+
We will happily reopen the issue.
|
37
|
+
|
38
|
+
## Submitting a Pull Request
|
39
|
+
1. [Fork][fork] the [official repository][repo].
|
40
|
+
2. [Create a topic branch.][branch]
|
41
|
+
3. Implement your feature or bug fix.
|
42
|
+
4. Add, commit, and push your changes.
|
43
|
+
5. [Submit a pull request.][pr]
|
44
|
+
|
45
|
+
## Notes
|
46
|
+
* Please add tests if you changed code. Contributions without tests won't be accepted.
|
47
|
+
* If you don't know how to add tests, please put in a PR and leave a comment
|
48
|
+
asking for help. We love helping!
|
49
|
+
* Please don't update the Gem version.
|
50
|
+
|
51
|
+
[repo]: https://github.com/tongueroo/ufo/tree/master
|
52
|
+
[fork]: https://help.github.com/articles/fork-a-repo/
|
53
|
+
[branch]: https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/
|
54
|
+
[pr]: https://help.github.com/articles/using-pull-requests/
|
55
|
+
|
56
|
+
Inspired by https://github.com/middleman/middleman-heroku/blob/master/CONTRIBUTING.md
|
data/lib/ufo/docker/builder.rb
CHANGED
@@ -30,7 +30,7 @@ module Ufo
|
|
30
30
|
command = "cd #{@project_root} && #{command}"
|
31
31
|
success = execute(command, use_system: true)
|
32
32
|
unless success
|
33
|
-
puts "The docker image fail to build. Are you sure the docker daemon is available? Try running: docker version"
|
33
|
+
puts "ERROR: The docker image fail to build. Are you sure the docker daemon is available? Try running: docker version".colorize(:red)
|
34
34
|
exit 1
|
35
35
|
end
|
36
36
|
|
@@ -45,7 +45,13 @@ module Ufo
|
|
45
45
|
if @options[:noop]
|
46
46
|
message = "NOOP #{message}"
|
47
47
|
else
|
48
|
-
|
48
|
+
command = "docker push #{full_image_name}"
|
49
|
+
puts "=> #{command}".colorize(:green)
|
50
|
+
success = execute(command, use_system: true)
|
51
|
+
unless success
|
52
|
+
puts "ERROR: The docker image fail to push.".colorize(:red)
|
53
|
+
exit 1
|
54
|
+
end
|
49
55
|
end
|
50
56
|
took = Time.now - start_time
|
51
57
|
message << " Took #{pretty_time(took)}.".green
|
data/lib/ufo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ufo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
@@ -161,6 +161,7 @@ files:
|
|
161
161
|
- ".gitignore"
|
162
162
|
- ".rspec"
|
163
163
|
- CHANGELOG.md
|
164
|
+
- CONTRIBUTING.md
|
164
165
|
- Gemfile
|
165
166
|
- Gemfile.lock
|
166
167
|
- Guardfile
|