capistrano-scm-static 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcdc1cb2ab17600e01d40f1801afee735dcdd58eb2374c88e3376dc392db465c
4
- data.tar.gz: fdee1bc0644fa521b11fbcf776977a177b6d72d46c3e18afcbcf93f4c5c48a33
3
+ metadata.gz: b4a10586f631a16f0878995424c16788b6a4ed8b35045ad99674224b970ad4a7
4
+ data.tar.gz: 569f4f9496ebe515118d7377b76c8fa06dd4c14ec1bb127a79dfee7f1c37780f
5
5
  SHA512:
6
- metadata.gz: 9947e3fff8ebdfd37a84e592ad2575856b742732651a801295e7801d1e9f3ef00f82f3102d0c3b075f7034c615e0899622c64ae16b2ea7a2424849897ffe52f5
7
- data.tar.gz: 5a11dcebd98e504cf2a09b0923e33900caf293e78b2e25ab539f804940d9020c0be081d525c39d062154ae1b8a9d29b1e3b972bfe669900bd9cf99d4b4d3728d
6
+ metadata.gz: 462a586e69f41f54cd1f026d1fe6def8982a5401881c520a7f5acaf3601d0d1dd4aa34495ace8788280c2d2474237ae933e2b449289737dd6086ecefdcaae589
7
+ data.tar.gz: b8e3837f8ddb48f6e4b3ed73319c16fc99be70067e83b58ce8ca832094f2a52bd0097066a1763fe34d2b88c9812550cf6dc301da8a0bf1f4af7b3abc8bf146ce
@@ -1,26 +1,26 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-scm-static (0.0.1)
4
+ capistrano-scm-static (0.0.3)
5
5
  capistrano (>= 3.7.0, < 3.12.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- airbrussh (1.3.1)
10
+ airbrussh (1.4.0)
11
11
  sshkit (>= 1.6.1, != 1.7.0)
12
- capistrano (3.11.0)
12
+ capistrano (3.11.2)
13
13
  airbrussh (>= 1.0.0)
14
14
  i18n
15
15
  rake (>= 10.0.0)
16
16
  sshkit (>= 1.9.0)
17
- concurrent-ruby (1.1.4)
17
+ concurrent-ruby (1.1.5)
18
18
  diff-lcs (1.3)
19
- i18n (1.5.3)
19
+ i18n (1.8.2)
20
20
  concurrent-ruby (~> 1.0)
21
- net-scp (1.2.1)
22
- net-ssh (>= 2.6.5)
23
- net-ssh (5.1.0)
21
+ net-scp (2.0.0)
22
+ net-ssh (>= 2.6.5, < 6.0.0)
23
+ net-ssh (5.2.0)
24
24
  rake (10.5.0)
25
25
  rspec (3.8.0)
26
26
  rspec-core (~> 3.8.0)
@@ -35,7 +35,7 @@ GEM
35
35
  diff-lcs (>= 1.2.0, < 2.0)
36
36
  rspec-support (~> 3.8.0)
37
37
  rspec-support (3.8.0)
38
- sshkit (1.18.2)
38
+ sshkit (1.20.0)
39
39
  net-scp (>= 1.1.2)
40
40
  net-ssh (>= 2.8.0)
41
41
 
@@ -49,4 +49,4 @@ DEPENDENCIES
49
49
  rspec (~> 3.0)
50
50
 
51
51
  BUNDLED WITH
52
- 2.0.1
52
+ 2.1.4
data/README.md CHANGED
@@ -1,12 +1,28 @@
1
- # Static
1
+ # capistrano scm static
2
2
 
3
- Static is a plugin for capistrano scm to deploy static sites.
3
+ It is a plugin for capistrano scm to deploy static sites.
4
4
 
5
5
 
6
6
  # Installation
7
7
 
8
- `gem static`
8
+ ## Gemfile.rb
9
+
10
+ `gem 'capistrano-scm-static', '~> 0.0.2', require: false`
11
+
12
+ ## Capfile
13
+
14
+ ```
15
+ require 'capistrano/scm/static'
16
+ install_plugin Capistrano::SCM::Static
17
+ ```
9
18
 
10
19
  ## deploy.rb
11
20
 
12
- set :dist, 'path to your static template compilation folder'
21
+ `set :dist, 'path to your static template compilation folder'`
22
+
23
+ For eg,
24
+
25
+ set :dist, 'build' # in case for reactjs
26
+
27
+
28
+ set :dist, 'dist' # in case for vuejs
@@ -27,7 +27,7 @@ module Capistrano
27
27
  end
28
28
 
29
29
  def load_contents_from_dir
30
- Dir.entries(fetch(:dist)).select {|f| !File.directory? f}
30
+ Dir.entries(fetch(:dist)).reject {|f| [".", ".."].include? f}
31
31
  end
32
32
  end
33
33
  end
@@ -13,7 +13,7 @@ end
13
13
  module Capistrano
14
14
  class SCM
15
15
  class Static < ::Capistrano::SCM::Plugin
16
- VERSION = "0.0.2"
16
+ VERSION = "0.0.3"
17
17
  end
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-scm-static
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - sushant12
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-14 00:00:00.000000000 Z
11
+ date: 2020-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -90,6 +90,7 @@ files:
90
90
  - Rakefile
91
91
  - bin/console
92
92
  - bin/setup
93
+ - capistrano-scm-static-0.0.2.gem
93
94
  - capistrano-scm-static.gemspec
94
95
  - lib/capistrano/scm/static.rb
95
96
  - lib/capistrano/scm/static/version.rb
@@ -112,8 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
113
  - !ruby/object:Gem::Version
113
114
  version: '0'
114
115
  requirements: []
115
- rubyforge_project:
116
- rubygems_version: 2.7.8
116
+ rubygems_version: 3.0.1
117
117
  signing_key:
118
118
  specification_version: 4
119
119
  summary: A plugin for capistrano scm to deploy static site