HeSYINUvSBZfxqA-capistrano 2.5.22 → 2.5.23

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,10 +1,11 @@
1
+ <<<<<<< HEAD
1
2
  coverage
2
3
  doc
3
4
  pkg
4
5
  *.swp
5
6
  *.patch
6
- *.gem
7
7
  *.sh
8
8
  .DS_Store
9
- .bundle/*
10
- vendor/bundle
9
+ /.bundle/
10
+ /vendor/bundle/
11
+ /*.gem
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source :rubygems
2
2
 
3
- # Specify your gem's dependencies in capistrano.gemspec
4
3
  gemspec
4
+
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.files = `git ls-files`.split("\n")
17
17
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
+ s.executables = %w(cap capify)
19
19
  s.require_paths = ["lib"]
20
20
  s.extra_rdoc_files = [
21
21
  "README.mdown"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.5.22
1
+ 2.5.23
data/bin/build ADDED
@@ -0,0 +1,3 @@
1
+ #!/bin/bash -e
2
+
3
+ gem build $(basename $(pwd)).gemspec
data/bin/push ADDED
@@ -0,0 +1,4 @@
1
+ #!/bin/bash -e
2
+
3
+ latest_gem=$(ls -td *.gem 2>&- | head -1)
4
+ gem push $latest_gem
data/doc/RB-HELPER.mkd ADDED
@@ -0,0 +1,18 @@
1
+ RubyGems helper mixin
2
+ =====================
3
+
4
+ Add this project as a remote and fetch/merge as necessary.
5
+
6
+ git remote add helper https://github.com/HeSYINUvSBZfxqA/rb-helper
7
+ git fetch helper
8
+ git merge helper/master
9
+
10
+ .helper/build
11
+ -------------
12
+
13
+ Builds a RubyGem from gemspec and pushes to rubygems.org
14
+
15
+ .helper/push
16
+ ------------
17
+
18
+ Pushes to rubygems.org
@@ -72,6 +72,10 @@ module Capistrano
72
72
  on :after, *args, &block
73
73
  end
74
74
 
75
+ def reset(event)
76
+ callbacks[event.to_sym] = []
77
+ end
78
+
75
79
  # Defines one or more callbacks to be invoked in response to some event.
76
80
  # Capistrano currently understands the following events:
77
81
  #
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: HeSYINUvSBZfxqA-capistrano
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 53
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 5
9
- - 22
10
- version: 2.5.22
9
+ - 23
10
+ version: 2.5.23
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jamis Buck
@@ -130,8 +130,11 @@ files:
130
130
  - README.mdown
131
131
  - Rakefile
132
132
  - VERSION
133
+ - bin/build
133
134
  - bin/cap
134
135
  - bin/capify
136
+ - bin/push
137
+ - doc/RB-HELPER.mkd
135
138
  - lib/capistrano.rb
136
139
  - lib/capistrano/callback.rb
137
140
  - lib/capistrano/cli.rb