capistrano-jspm 1.0.0 → 2.0.0

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
  SHA1:
3
- metadata.gz: 2fec19dc7efe74067f4b2bb45e23ff9b2802b462
4
- data.tar.gz: 5c49608bf3b8d6a59200a3b07195c80befb46ba1
3
+ metadata.gz: 7cd4d5e55276e3d59b86addc0528b8bb66e79392
4
+ data.tar.gz: c8f40f484bb8fd6eff8ebe76e87186fdb7bf218a
5
5
  SHA512:
6
- metadata.gz: 4e1b7f0054744b7508b39e9e666cb1d4f9e45bda0e598ec3f47f9bc31184d280fc5dbeb1a6093507931fee028970f731d63603181fc0b9a541e6a57bd58c69eb
7
- data.tar.gz: f32d29b511d1bb068952d1c2ddffe4f9103548308a419adc6bf95ddda8f2f9c30c08d0fc730ae856bf915301f52177ecb9fb548a971215c48635cc3b2ec27789
6
+ metadata.gz: 694d7a883cc1c80c951b264ccf0ab72a11cf45db7b41a9291fb0f947577c80da87f760fc00c769b92f94b1c1e0033f48b84e2af1c207052a8f369bef8e9dd805
7
+ data.tar.gz: ae9e8caa133ceafee8011b1275352154e5a76ece93bba33651113dcdd8f8c9a48721fa8a129d7888a7f45e7f665f2bb56a92a6cdf5abe1797f190cfd83737a4c
data/.gitignore CHANGED
@@ -1 +1,3 @@
1
1
  .idea
2
+
3
+ *.gem
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Capistrano::Jspm
1
+ # Capistrano::Jspm[![Gem Version](https://badge.fury.io/rb/capistrano-jspm.svg)](https://badge.fury.io/rb/capistrano-jspm)
2
2
 
3
3
  Jspm support for Capistrano 3.x
4
4
 
@@ -7,8 +7,8 @@ Jspm support for Capistrano 3.x
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'capistrano-jspm'
11
10
  gem 'capistrano'
11
+ gem 'capistrano-jspm'
12
12
  ```
13
13
 
14
14
  And then execute:
@@ -37,13 +37,13 @@ set :jspm_roles, :web
37
37
  set :jspm_bin, :jspm
38
38
  ```
39
39
 
40
- ### jspm:bundle_sfx
40
+ ### jspm:build
41
41
 
42
- `bundle_sfx` task is optional, and in order to run it on every deployment, add this to your `deploy.rb` file:
42
+ `build` task is optional, and in order to run it on every deployment, add this to your `deploy.rb` file:
43
43
 
44
44
  ```ruby
45
- before 'deploy:updated', 'jspm:bundle_sfx' do
46
- invoke 'jspm:bundle_sfx',
45
+ before 'deploy:updated', 'jspm:build' do
46
+ invoke 'jspm:build',
47
47
  'path/for/fromfile/app.js',
48
48
  'path/for/tofile/app.min.js'
49
49
  end
@@ -52,5 +52,15 @@ end
52
52
  Configurable options, shown here with defaults:
53
53
 
54
54
  ```ruby
55
- set :jspm_sfx_flags, '--minify'
55
+ set :jspm_build_flags, '--minify'
56
56
  ```
57
+
58
+ ## Versions
59
+
60
+ ### v1
61
+
62
+ Supports `bundle_sfx` task.
63
+
64
+ ### v2
65
+
66
+ `bundle_sfx` task is renamed to `build` task.
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'capistrano-jspm'
7
- spec.version = '1.0.0'
7
+ spec.version = '2.0.0'
8
8
  spec.authors = ['Dražen Perić']
9
9
  spec.email = ['peric.drazhen@gmail.com']
10
10
  spec.description = %q{jspm support for Capistrano 3.x}
@@ -1,6 +1,6 @@
1
1
  namespace :jspm do
2
2
  desc <<-DESC
3
- Install the current jspm environment. Command is executed withouth any other arguments.y\
3
+ Install the current jspm environment. Command is executed without any other arguments.\
4
4
 
5
5
  You can override any of these defaults by setting the variables shown below.
6
6
 
@@ -23,17 +23,17 @@ namespace :jspm do
23
23
  This task is completely optional and if you want to run it on every deployment \
24
24
  before deploy:updated, add this to your deploy.rb.
25
25
 
26
- before 'deploy:updated', 'jspm:bundle_sfx' do
27
- invoke 'jspm:bundle_sfx',
26
+ before 'deploy:updated', 'jspm:build' do
27
+ invoke 'jspm:build',
28
28
  'path/for/fromfile/app.js',
29
29
  'path/for/tofile/app.min.js'
30
30
  end
31
31
 
32
32
  You can override any of these defaults by setting the variables shown below.
33
33
 
34
- set :jspm_sfx_flags, '--minify'
34
+ set :jspm_build_flags, '--minify'
35
35
  DESC
36
- task :bundle_sfx, [:from_file, :to_file] do |task, args|
36
+ task :build, [:from_file, :to_file] do |task, args|
37
37
  on roles fetch(:jspm_roles) do
38
38
  within "#{release_path}" do
39
39
  unless args[:from_file]
@@ -44,8 +44,8 @@ namespace :jspm do
44
44
  end
45
45
 
46
46
  execute fetch(:jspm_bin),
47
- 'bundle-sfx',
48
- fetch(:jspm_sfx_flags),
47
+ 'build',
48
+ fetch(:jspm_build_flags),
49
49
  args[:from_file],
50
50
  args[:to_file]
51
51
  end
@@ -57,6 +57,6 @@ namespace :load do
57
57
  task :defaults do
58
58
  set :jspm_roles, :web
59
59
  set :jspm_bin, :jspm
60
- set :jspm_sfx_flags, '--minify'
60
+ set :jspm_build_flags, '--minify'
61
61
  end
62
62
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-jspm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dražen Perić
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-24 00:00:00.000000000 Z
11
+ date: 2016-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -46,12 +46,6 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - ".gitignore"
49
- - ".idea/.name"
50
- - ".idea/capistrano-jspm.iml"
51
- - ".idea/encodings.xml"
52
- - ".idea/misc.xml"
53
- - ".idea/modules.xml"
54
- - ".idea/workspace.xml"
55
49
  - Gemfile
56
50
  - LICENSE.txt
57
51
  - README.md
@@ -81,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
75
  version: '0'
82
76
  requirements: []
83
77
  rubyforge_project:
84
- rubygems_version: 2.4.5
78
+ rubygems_version: 2.6.7
85
79
  signing_key:
86
80
  specification_version: 4
87
81
  summary: jspm support for Capistrano 3.x