jgd 1.1 → 1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -1
  3. data/bin/jgd +3 -1
  4. data/jgd.gemspec +1 -1
  5. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4643fbdccc90db3d7222715cb7c23d532a74d22
4
- data.tar.gz: c1fb60f3f19e08de7aaff6433555508a34b886c6
3
+ metadata.gz: 7b5b3612e2a9e1e9691be86290c60b54fbda6d83
4
+ data.tar.gz: 7134b62a04985cee4026c675820318728fa8acdf
5
5
  SHA512:
6
- metadata.gz: 6d2aa75f56626108af27c1f71e15dccfa7fd253fc32bc6f86c2dc87f0730f9b0d78ba6dda30dd6a4967ef5c0175f62d2591abeb79acccb04ecd18a59c194bd5a
7
- data.tar.gz: 8a3f38cfb5bd7638b0f3328ec44d5a123ce4cb60e837b8bc1e1c398b1e7703ff03595735625729a2637c6e57c4706a7f2b5fc485e4d34e8a913ddc19682b6a48
6
+ metadata.gz: ab42b4147ccdb76a21787afa7cda3cfa2fddcf13adbebd52b64a0e812f34ac31ebda8a7d78938f16f6c269e0e4e9ca4972415ebc3ca00851deacc93e972e3d7a
7
+ data.tar.gz: 8de6d945e990a2378941ffcb5b31b82fd404f07fe91ea9d4e1ca17f61bbb99b118964ce02dbd50be1f15f1597c8eea5e10b3e4f1e8e0e3741af700b855b7b8fc
data/README.md CHANGED
@@ -27,5 +27,11 @@ env:
27
27
  - secure: ...
28
28
  install:
29
29
  - bundle
30
- script: jgd -u http://yegor256:${PASSWORD}@github.com/yegor256/blog.git
30
+ script: jgd -u http://yegor256:$PASSWORD@github.com/yegor256/blog.git
31
31
  ```
32
+
33
+ The environment variable `$PASSWORD` is set through
34
+ `env/global/secure`, as explained
35
+ [here](http://docs.travis-ci.com/user/encryption-keys/).
36
+
37
+ Don't forget to add `gem require 'jgd'` to your `Gemfile`.
data/bin/jgd CHANGED
@@ -19,4 +19,6 @@ end
19
19
  spec = Gem::Specification.find_by_name("jgd")
20
20
  root = spec.gem_dir
21
21
  script = File.join(root, 'bash/deploy.sh')
22
- system("#{script} #{url}")
22
+ if !system("#{script} #{url}")
23
+ raise "deployment failed, see log above"
24
+ end
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
5
5
  s.rubygems_version = '2.2.2'
6
6
  s.required_ruby_version = '>= 1.9.3'
7
7
  s.name = 'jgd'
8
- s.version = '1.1'
8
+ s.version = '1.2'
9
9
  s.license = 'MIT'
10
10
  s.summary = "Jekyll Github Deploy"
11
11
  s.description = "Automated deployment of your Jekyll blog to Github Pages"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jgd
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: '1.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-20 00:00:00.000000000 Z
11
+ date: 2014-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop
@@ -47,7 +47,7 @@ extra_rdoc_files:
47
47
  - README.md
48
48
  - LICENSE.txt
49
49
  files:
50
- - ".gitignore"
50
+ - .gitignore
51
51
  - Gemfile
52
52
  - LICENSE.txt
53
53
  - README.md
@@ -60,22 +60,22 @@ licenses:
60
60
  metadata: {}
61
61
  post_install_message:
62
62
  rdoc_options:
63
- - "--charset=UTF-8"
63
+ - --charset=UTF-8
64
64
  require_paths:
65
65
  - lib
66
66
  required_ruby_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - ">="
68
+ - - '>='
69
69
  - !ruby/object:Gem::Version
70
70
  version: 1.9.3
71
71
  required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.2.2
78
+ rubygems_version: 2.0.14
79
79
  signing_key:
80
80
  specification_version: 2
81
81
  summary: Jekyll Github Deploy