taperole 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0739c737afbd4801abe1b26b9d61776bf8a90a67
4
- data.tar.gz: 5df9ec50fa3f57db39033e44dc1239b850eba0b0
3
+ metadata.gz: c10ebf329ba6389a105fd14764d14f50a8c74ce5
4
+ data.tar.gz: ec62bab4ba6a3da969c6dc3db7c62aecfa47e754
5
5
  SHA512:
6
- metadata.gz: 5b8f3001a94948683a49d961960b781149e74e4303083d0166339b4c2b505599e41c13c0bc5469473843fa5a35d0a02520cecb93683bf27f0181706c4d02e9d2
7
- data.tar.gz: 69a6c1aa5e09b14c051aaab6d1b1436c8fbfaa3448d1981a2c5768e7fcfbd26e0318d3af522f80be026b238dd4909d07f792ea751ff46587d2755450e25f4e77
6
+ metadata.gz: 29393c049d1a3416c420fc680fc98baf93b4329eead2dcb3fa3356907631d8f0a856ba21849260dbfb0206d12d6d22f5e57ae576e1fd398b553581b13bb3fc3f
7
+ data.tar.gz: e5db9c5b0dbf65d5a10a8f09fbf30ead0660339359f8df6f606bff17b7a727945a44313599819fe8d20f1aa973598f1f26b729d5a204b28afd0ee9a9ed977f87
@@ -1,13 +1,3 @@
1
- # - name: rsync the FE app
2
- # remote_user: "{{ deployer_user.name }}"
3
- # synchronize:
4
- # src={{ fe_app_local_path }}/
5
- # dest={{ fe_app_path }}
6
- # tags: [fe_deploy]
7
- # register: fe_app_checkout
8
- # when: fe_app_local_path is defined
9
-
10
-
11
1
  - name: clone the FE app
12
2
  remote_user: "{{ deployer_user.name }}"
13
3
  git: dest={{ fe_app_path }}
@@ -18,9 +8,17 @@
18
8
  tags: [fe_deploy]
19
9
 
20
10
  - name: NPM install
11
+ remote_user: "{{ deployer_user.name }}"
12
+ command: bash -lc
13
+ command: chdir={{ fe_app_path }}
14
+ bash -lc 'test -e package.json && npm install'
15
+ tags: [fe_deploy]
16
+
17
+ - name: Bower install
18
+ remote_user: "{{ deployer_user.name }}"
21
19
  command: bash -lc
22
20
  command: chdir={{ fe_app_path }}
23
- bash -lc 'npm install'
21
+ bash -lc 'test -e bower.json && bower install'
24
22
  tags: [fe_deploy]
25
23
 
26
24
  - name: Build FE
@@ -9,7 +9,7 @@ server {
9
9
 
10
10
  # server_name example.com;
11
11
 
12
- {% if fe_app_local_path is defined%}
12
+ {% if fe_app_repo is defined%}
13
13
  root {{ fe_app_path }}/dist;
14
14
  {% else %}
15
15
  root {{ be_app_path }}/public;
data/taperole.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "taperole"
3
- spec.version = '1.2.4'
3
+ spec.version = '1.2.5'
4
4
  spec.authors = ['Jack Forrest', 'Smashing Boxes', 'Brandon Mathis']
5
5
  spec.email = ['jack@smashingboxes.com', 'brandon@sbox.es']
6
6
  spec.summary = 'A tool for provisioning and deploying boxes for hosting Rails apps'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taperole
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Forrest