static_deploy 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/Gemfile +6 -0
- data/README.md +11 -5
- data/lib/static_deploy/publish_task.rb +5 -0
- data/lib/static_deploy/version.rb +1 -1
- data/static_deploy.gemspec +1 -3
- metadata +8 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa5827485a0c4731fbe18bb34c4cad77d37b9875
|
4
|
+
data.tar.gz: 4db0a97db838605181d42ee9bb02153364f80b4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7138ff906e500e0bf8961653c33ebca407cf1da20c61cf55d5b9c101a7f00c410c65c054e9f4ef820088aeda4d4350ba3de18b367cac2c7af7166942b888bd5f
|
7
|
+
data.tar.gz: 33e03bb2cbc3872ab36a272ffed59e29239b6419350388359c389c25f8ed5ebca0240d70f5dee54d86e2a8723fdec310abbca401645febe4fc4fc9205f6e62d3
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.0.0
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# StaticDeploy
|
2
2
|
|
3
|
-
Provides rake tasks for publishing your static website
|
3
|
+
Provides rake tasks for publishing your static website via git to any remote repository(GitHub pages).
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -24,13 +24,19 @@ In your Rakefile add the following
|
|
24
24
|
require 'static_deploy'
|
25
25
|
|
26
26
|
ENV['GENERATOR'] = 'jekyll' # => static website generator executable
|
27
|
-
ENV['COMMAND'] = 'build' # => defaults to 'build'
|
27
|
+
ENV['COMMAND'] = 'build' # => command for building a project, defaults to 'build'
|
28
28
|
```
|
29
29
|
|
30
|
-
|
30
|
+
If you are deploying inside current repository, git defaults are used to get username and repository name
|
31
31
|
|
32
32
|
```ruby
|
33
|
-
bundle exec rake publish
|
33
|
+
bundle exec rake site:publish
|
34
|
+
```
|
35
|
+
|
36
|
+
Otherwise, to publish to remote branch on different repository do
|
37
|
+
|
38
|
+
```ruby
|
39
|
+
bundle exec rake site:publish["username/repository"]
|
34
40
|
```
|
35
41
|
|
36
42
|
## Contributing
|
@@ -43,4 +49,4 @@ Then to publish to remote branch do
|
|
43
49
|
|
44
50
|
## Copyright
|
45
51
|
|
46
|
-
Copyright (c) 2013 Piotr Murach. See LICENSE for further details.
|
52
|
+
Copyright (c) 2013-2015 Piotr Murach. See LICENSE for further details.
|
data/static_deploy.gemspec
CHANGED
@@ -18,9 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "tty"
|
21
|
+
spec.add_dependency "tty", "0.2.0"
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.3"
|
24
|
-
spec.add_development_dependency "rake"
|
25
|
-
spec.add_development_dependency "rspec"
|
26
24
|
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: static_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Murach
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - '
|
17
|
+
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - '
|
24
|
+
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,34 +38,6 @@ dependencies:
|
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.3'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - '>='
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rspec
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - '>='
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
41
|
description: Automated deployment to GitHub pages
|
70
42
|
email:
|
71
43
|
- pmurach@gmail.com
|
@@ -75,6 +47,7 @@ extra_rdoc_files: []
|
|
75
47
|
files:
|
76
48
|
- .gitignore
|
77
49
|
- .rspec
|
50
|
+
- .ruby-version
|
78
51
|
- .travis.yml
|
79
52
|
- Gemfile
|
80
53
|
- LICENSE.txt
|
@@ -114,3 +87,4 @@ summary: Provides rake tasks for publishing your static site to github pages to
|
|
114
87
|
test_files:
|
115
88
|
- spec/spec_helper.rb
|
116
89
|
- spec/static_deploy_spec.rb
|
90
|
+
has_rdoc:
|