capistrano-scm-local 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MmI3MmZjOWZhMDJmZDlmODZkNDY4ZWQ2NWU4ZGU2ZTVjNjQ5Njc0ZQ==
5
+ data.tar.gz: !binary |-
6
+ NDU4MGRkNzQ4M2IzODA2ZTAzOGJmMWU0NmE5YTA4Mjk2NzFjZThkZg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ YTViNzY5ZmViYjVlOTI2ZmZlNzU3YWUyNGZjODkyMjgyZmQ3YjM0NmE2ZmM3
10
+ Y2ZjZTM1OWFkMzljM2JmYjczODkyYzMyNmJjNGFjZjY0OWRlMWMyOWMwZTJj
11
+ OWQ1YTU4ZTViMjBkNmIwZWVlMzQ2MWQ4NjExY2MyMjVjYzJlOTc=
12
+ data.tar.gz: !binary |-
13
+ OTU1ODUyY2FkNTZkNGU2MzA3Zjk1YmU1NzZiZjM1NjVlNGZhZWFhMzFjMGZj
14
+ NmE1YjBjMjViYTZhNmU4OTEzMDQwZjAxNTZiNzM5Mzc1NjY1MDlmNWM0ZDlj
15
+ NWNmMDIwMTczN2FiZTJkODUwMzYyNjgxYTQ3ZmYwMDVmMmRjZmU=
data/README.md CHANGED
@@ -3,13 +3,6 @@ capistrano-scm-local [![Gem Version](https://badge.fury.io/rb/capistrano-scm-loc
3
3
 
4
4
  allow deploy from local directory
5
5
 
6
-
7
-
8
- Capfile
9
- ```ruby
10
- require 'capistrano/scm-local'
11
- ```
12
-
13
6
  Gemfile
14
7
  ```ruby
15
8
  gem 'capistrano-scm-local', '~> 0.1', :github => 'i-ekho/capistrano-scm-local'
data/README.rdoc CHANGED
@@ -1,41 +1,25 @@
1
- = capistrano-git-local
1
+ capistrano-scm-local [![Gem Version](https://badge.fury.io/rb/capistrano-scm-local.svg)](http://badge.fury.io/rb/capistrano-scm-local)
2
+ ====================
2
3
 
3
- Git scm which works on local for Capistrano 3 [![Gem Version](https://badge.fury.io/rb/capistrano-git-local.svg)](http://badge.fury.io/rb/capistrano-git-local)
4
-
5
- == Using
6
-
7
- Capfile
8
- ```ruby
9
- require 'capistrano/git-local'
10
- ```
4
+ allow deploy from local directory
11
5
 
12
6
  Gemfile
13
7
  ```ruby
14
- gem 'capistrano-git-local', '~> 0.1', :github => 'i-ekho/capistrano-git-local'
8
+ gem 'capistrano-scm-local', '~> 0.1', :github => 'i-ekho/capistrano-scm-local'
15
9
  ```
16
10
  OR
17
11
  ```ruby
18
12
  source 'https://rubygems.org'
19
- gem 'capistrano-git-local', '~> 0.1'
13
+ gem 'capistrano-scm-local', '~> 0.1'
20
14
  ```
21
15
 
22
16
  deploy.rb
23
17
  ```ruby
24
- set :scm, :git_local
18
+ set :scm, :local
19
+ set :local_strategy, :archive
20
+ set :repo_url, 'path/to/source'
25
21
  ```
26
22
 
27
- == Contributing to capistrano-git-local
28
-
29
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
30
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
31
- * Fork the project.
32
- * Start a feature/bugfix branch.
33
- * Commit and push until you are happy with your contribution.
34
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
35
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
36
-
37
- == Copyright
38
-
39
- Copyright (c) 2014 Boris Gorbylev. See LICENSE for further details.
40
-
41
-
23
+ :local_strategy can be :default or :archive.
24
+ **:default** - directly uploads folder;
25
+ **:archive** - makes tar.gz, uploads it and unpack.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.16
1
+ 0.1.17
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "capistrano-scm-local"
8
- s.version = "0.1.16"
8
+ s.version = "0.1.17"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Boris Gorbylev"]
@@ -34,7 +34,7 @@ class Capistrano::Local < Capistrano::SCM
34
34
  archive = ''
35
35
  # preparing archive
36
36
  run_locally do
37
- archive = fetch(:tmp_dir, Dir::tmpdir()) + '/capistrano/' + fetch(:alllication, 'distr') + "-#{fetch(:current_revision)}.tar.gz"
37
+ archive = fetch(:tmp_dir, Dir::tmpdir()) + '/capistrano/' + fetch(:alllication, 'distr') + "-#{fetch(:current_revision).strip}.tar.gz"
38
38
  debug "Archiving #{repo_url} to #{archive}"
39
39
  execute :mkdir, '-p', File.dirname(archive)
40
40
 
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-scm-local
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
5
- prerelease:
4
+ version: 0.1.17
6
5
  platform: ruby
7
6
  authors:
8
7
  - Boris Gorbylev
@@ -14,7 +13,6 @@ dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: shoulda
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ! '>='
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rdoc
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: bundler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,7 +55,6 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: jeweler
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ~>
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ~>
76
67
  - !ruby/object:Gem::Version
@@ -78,7 +69,6 @@ dependencies:
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: simplecov
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - ! '>='
84
74
  - !ruby/object:Gem::Version
@@ -86,7 +76,6 @@ dependencies:
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - ! '>='
92
81
  - !ruby/object:Gem::Version
@@ -94,7 +83,6 @@ dependencies:
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: capistrano
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
87
  - - ~>
100
88
  - !ruby/object:Gem::Version
@@ -102,7 +90,6 @@ dependencies:
102
90
  type: :runtime
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
94
  - - ~>
108
95
  - !ruby/object:Gem::Version
@@ -110,7 +97,6 @@ dependencies:
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: minitar
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
101
  - - ~>
116
102
  - !ruby/object:Gem::Version
@@ -118,7 +104,6 @@ dependencies:
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
108
  - - ~>
124
109
  - !ruby/object:Gem::Version
@@ -149,28 +134,24 @@ files:
149
134
  homepage: http://github.com/i-ekho/capistrano-scm-local
150
135
  licenses:
151
136
  - MIT
137
+ metadata: {}
152
138
  post_install_message:
153
139
  rdoc_options: []
154
140
  require_paths:
155
141
  - lib
156
142
  required_ruby_version: !ruby/object:Gem::Requirement
157
- none: false
158
143
  requirements:
159
144
  - - ! '>='
160
145
  - !ruby/object:Gem::Version
161
146
  version: '0'
162
- segments:
163
- - 0
164
- hash: -2597710008742823049
165
147
  required_rubygems_version: !ruby/object:Gem::Requirement
166
- none: false
167
148
  requirements:
168
149
  - - ! '>='
169
150
  - !ruby/object:Gem::Version
170
151
  version: '0'
171
152
  requirements: []
172
153
  rubyforge_project:
173
- rubygems_version: 1.8.23
154
+ rubygems_version: 2.4.5
174
155
  signing_key:
175
156
  specification_version: 3
176
157
  summary: Capistrano SCM Local - Deploy from local copy