capistrano-friday-goodluck 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9a846a7e1caa536c6921ed8e5f4a8cd933be4765
4
+ data.tar.gz: 2869d75148263e0a4d34bbc564bf0ad10ebdbaea
5
+ SHA512:
6
+ metadata.gz: a759ebf2b0adfafab9c63a2e5b365ab7904d1e6b803e88e0af0bafe7b3b3aaf1384161d4bddfd165f74965c1ed2329dce1f8e4a1aebf2c1e2401bab4c0e571a3
7
+ data.tar.gz: 3d890039e0b66f0835c401f4a1d875708c59f0d99aaf1c93600c0d05b7d3e5a94273410e2528191f9d65d11c6baeafa92f23beeff5be1bc706697c0509f462b6
@@ -0,0 +1,36 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ ## Specific to RubyMotion:
14
+ .dat*
15
+ .repl_history
16
+ build/
17
+
18
+ ## Documentation cache and generated files:
19
+ /.yardoc/
20
+ /_yardoc/
21
+ /doc/
22
+ /rdoc/
23
+
24
+ ## Environment normalization:
25
+ /.bundle/
26
+ /vendor/bundle
27
+ /lib/bundler/man/
28
+
29
+ # for a library or gem, you might want to ignore these files since the code is
30
+ # intended to run in multiple environments; otherwise, check them in:
31
+ # Gemfile.lock
32
+ # .ruby-version
33
+ # .ruby-gemset
34
+
35
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
36
+ .rvmrc
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 liluo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,44 @@
1
+ # Capistrano::Friday::Goodluck
2
+
3
+ __Works only with Capistrano 3.x!!!__
4
+
5
+ Capistrano plugin that wishes you good luck when you deploy on Friday.
6
+
7
+ ### Installation
8
+
9
+ Add this line to your application's `Gemfile`:
10
+
11
+ ```
12
+ gem 'capistrano-friday-goodluck'
13
+ ```
14
+
15
+ And then:
16
+
17
+ ```
18
+ bundle install
19
+ ```
20
+
21
+ ### Usage
22
+
23
+ Add this line to `Capfile`:
24
+
25
+ ```
26
+ require 'capistrano/friday/goodluck'
27
+ ```
28
+
29
+ ### Screenshot
30
+
31
+ ![Friday-goodluck](https://cloud.githubusercontent.com/assets/741755/12353999/cff774bc-bbcd-11e5-9ec9-83427cb75cab.png)
32
+
33
+ ### Contributing
34
+
35
+ 1. Fork it
36
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
37
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
38
+ 4. Push to the branch (`git push origin my-new-feature`)
39
+ 5. Create new Pull Request
40
+
41
+
42
+ ### Thanks
43
+
44
+ Inspired by [@SeatGeek](https://twitter.com/SeatGeek) via [Dallas Gutauckis's twitter](https://twitter.com/dallasgutauckis/status/627150861777637376)
@@ -0,0 +1,19 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'capistrano/friday/goodluck/version'
4
+
5
+ Gem::Specification.new do |gem|
6
+ gem.name = 'capistrano-friday-goodluck'
7
+ gem.authors = ['liluo']
8
+ gem.email = ['i@liluo.org']
9
+ gem.license = 'MIT'
10
+ gem.homepage = 'https://github.com/liluo/capistrano-friday-goodluck'
11
+ gem.version = Capistrano::Friday::Goodluck::VERSION
12
+ gem.description = %q{ Capistrano plugin that wishes you good luck when you deploy on Friday }
13
+ gem.summary = %q{ Capistrano plugin that wishes you good luck when you deploy on Friday(Works *only* with Capistrano 3.x). }
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.require_paths = ['lib']
17
+
18
+ gem.add_dependency 'capistrano', '~> 3.0'
19
+ end
File without changes
@@ -0,0 +1,3 @@
1
+ require 'capistrano/friday/goodluck/version'
2
+
3
+ load File.expand_path("../../tasks/friday-goodluck.rake", __FILE__)
@@ -0,0 +1,7 @@
1
+ module Capistrano
2
+ module Friday
3
+ module Goodluck
4
+ VERSION = '0.0.1'
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+
3
+ before "deploy:starting", "friday:goodluck"
4
+
5
+ namespace :friday do
6
+ friday_jumper = %{
7
+ ┓┏┓┏┓┃
8
+ ┛┗┛┗┛┃ \\o/
9
+ ┓┏┓┏┓┃ ∕ Friday
10
+ ┛┗┛┗┛┃ノ)
11
+ ┓┏┓┏┓┃ deploy,
12
+ ┛┗┛┗┛┃
13
+ ┓┏┓┏┓┃ good
14
+ ┛┗┛┗┛┃
15
+ ┓┏┓┏┓┃ luck!
16
+ ┃┃┃┃┃┃
17
+ ┻┻┻┻┻┻
18
+ }.strip!
19
+
20
+ task :goodluck do
21
+ if Time.now.friday?
22
+ warn(friday_jumper.white)
23
+ end
24
+ end
25
+ end
metadata ADDED
@@ -0,0 +1,67 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: capistrano-friday-goodluck
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - liluo
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-01-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: capistrano
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
27
+ description: " Capistrano plugin that wishes you good luck when you deploy on Friday "
28
+ email:
29
+ - i@liluo.org
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".gitignore"
35
+ - LICENSE
36
+ - README.md
37
+ - capistrano-friday-goodluck.gemspec
38
+ - lib/capistrano-friday-goodluck.rb
39
+ - lib/capistrano/friday/goodluck.rb
40
+ - lib/capistrano/friday/goodluck/version.rb
41
+ - lib/capistrano/tasks/friday-goodluck.rake
42
+ homepage: https://github.com/liluo/capistrano-friday-goodluck
43
+ licenses:
44
+ - MIT
45
+ metadata: {}
46
+ post_install_message:
47
+ rdoc_options: []
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ requirements: []
61
+ rubyforge_project:
62
+ rubygems_version: 2.4.8
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Capistrano plugin that wishes you good luck when you deploy on Friday(Works
66
+ *only* with Capistrano 3.x).
67
+ test_files: []