capistrano-bedrock-uploads 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +31 -0
- data/LICENSE +20 -0
- data/README.md +39 -0
- data/capistrano-bedrock-uploads.gemspec +21 -0
- data/lib/capistrano-bedrock-uploads.rb +1 -0
- data/lib/capistrano/bedrock/uploads.rb +1 -0
- data/lib/capistrano/tasks/uploads.rake +8 -0
- metadata +67 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5cb5a04ef92dd078a8f46cdb0a2322c24d5c4bfb
|
4
|
+
data.tar.gz: 81fe4df69fce1d0ce19cf9c407729c6cd6f2cfa6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0fed594ad7dd4d94cc6f93e5b5c39d1587750954a5767ef4fe6005bcd183884268eb2d0b60ed482ac0137992eabef4c430aec9d44b80290779abcbc7e92bb3a8
|
7
|
+
data.tar.gz: 97720bedfdc93a0e5dd8d785c4c3c62bf86de52ded2d8b5abfcef2d37bc5ae5f78ab32ab80743b5ac91dd07333f7888e7136ab0da614601b4fd27dc5319c0081
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
capistrano-bedrock-uploads (0.0.1)
|
5
|
+
capistrano (>= 3.0.0.pre)
|
6
|
+
dotenv (>= 2.0.1)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
capistrano (3.4.0)
|
12
|
+
i18n
|
13
|
+
rake (>= 10.0.0)
|
14
|
+
sshkit (~> 1.3)
|
15
|
+
colorize (0.7.7)
|
16
|
+
dotenv (2.0.1)
|
17
|
+
i18n (0.7.0)
|
18
|
+
net-scp (1.2.1)
|
19
|
+
net-ssh (>= 2.6.5)
|
20
|
+
net-ssh (2.9.2)
|
21
|
+
rake (10.4.2)
|
22
|
+
sshkit (1.7.1)
|
23
|
+
colorize (>= 0.7.0)
|
24
|
+
net-scp (>= 1.1.2)
|
25
|
+
net-ssh (>= 2.8.0)
|
26
|
+
|
27
|
+
PLATFORMS
|
28
|
+
ruby
|
29
|
+
|
30
|
+
DEPENDENCIES
|
31
|
+
capistrano-bedrock-uploads!
|
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2013 Norkay AB – Step by step, to the top.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
7
|
+
the Software without restriction, including without limitation the rights to
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
10
|
+
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, FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# Capistrano uploads-tasks for Bedrock (https://github.com/roots/bedrock)
|
2
|
+
|
3
|
+
## Installation
|
4
|
+
|
5
|
+
Add this line to your application's Gemfile:
|
6
|
+
|
7
|
+
```ruby
|
8
|
+
gem 'capistrano-bedrock-uploads', '~> 0.0.1'
|
9
|
+
```
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install capistrano-bedrock-uploads
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
Require the module in your `Capfile`:
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
require 'capistrano/bedrock/uploads'
|
25
|
+
```
|
26
|
+
|
27
|
+
`capistrano-bedrock-uploads` comes with one task:
|
28
|
+
|
29
|
+
* uploads:sync
|
30
|
+
|
31
|
+
The `uploads:sync` task will backup your uploads folder to your local uploads-folder.
|
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
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'capistrano-bedrock-uploads'
|
7
|
+
spec.version = '0.0.1'
|
8
|
+
spec.authors = ['Fredrik Sundström']
|
9
|
+
spec.email = ['fredrik.sundstrom@norkay.se']
|
10
|
+
spec.description = %q{Uploads tasks for roots/bedrock, using Capistrano 3.x}
|
11
|
+
spec.summary = %q{Uploads tasks for roots/bedrock, using Capistrano 3.x}
|
12
|
+
spec.homepage = 'https://github.com/norkay/capistrano-bedrock-uploads'
|
13
|
+
spec.license = 'MIT'
|
14
|
+
|
15
|
+
spec.files = `git ls-files`.split($/)
|
16
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
|
+
spec.require_paths = ['lib']
|
19
|
+
|
20
|
+
spec.add_dependency 'capistrano', '>= 3.0.0.pre'
|
21
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require File.expand_path("#{File.dirname(__FILE__)}/capistrano/bedrock/uploads")
|
@@ -0,0 +1 @@
|
|
1
|
+
load File.expand_path('../../tasks/uploads.rake', __FILE__)
|
metadata
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: capistrano-bedrock-uploads
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Fredrik Sundström
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-03-09 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.0.pre
|
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.0.pre
|
27
|
+
description: Uploads tasks for roots/bedrock, using Capistrano 3.x
|
28
|
+
email:
|
29
|
+
- fredrik.sundstrom@norkay.se
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".gitignore"
|
35
|
+
- Gemfile
|
36
|
+
- Gemfile.lock
|
37
|
+
- LICENSE
|
38
|
+
- README.md
|
39
|
+
- capistrano-bedrock-uploads.gemspec
|
40
|
+
- lib/capistrano-bedrock-uploads.rb
|
41
|
+
- lib/capistrano/bedrock/uploads.rb
|
42
|
+
- lib/capistrano/tasks/uploads.rake
|
43
|
+
homepage: https://github.com/norkay/capistrano-bedrock-uploads
|
44
|
+
licenses:
|
45
|
+
- MIT
|
46
|
+
metadata: {}
|
47
|
+
post_install_message:
|
48
|
+
rdoc_options: []
|
49
|
+
require_paths:
|
50
|
+
- lib
|
51
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
requirements: []
|
62
|
+
rubyforge_project:
|
63
|
+
rubygems_version: 2.5.1
|
64
|
+
signing_key:
|
65
|
+
specification_version: 4
|
66
|
+
summary: Uploads tasks for roots/bedrock, using Capistrano 3.x
|
67
|
+
test_files: []
|