traquitana 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: 7a09adad4f736aa9f57f8c93aed0b5358ab64b07c5360307022409a9a8a26abf
4
- data.tar.gz: 8c085c94a9a4bd2bfcdb4871f46ccdc64d4d1e08fddd903904c3ac5b111b71be
3
+ metadata.gz: 037a1c511141d8fac9fba3ebfe53bd3ef3a8058ecb8e8fe0ba1d14e4dbf1f303
4
+ data.tar.gz: 28cb01214ddd78ad159bdf147eb26d56a90892156c758484a35b5599f22d8b36
5
5
  SHA512:
6
- metadata.gz: 4d78781ee2800bb9f4a0bbc3b71e3d95acec09d3684bddfb0c7f9f89086b66413d1b535a3166bed619beefc4e2110dac8ff7b20b31260e2fe8b5f3434f4eb7f3
7
- data.tar.gz: 80fcf9ca6561c01b878aebef8abb754d4ca81ea8af9465017f97ef6e301df948dff7f32de477f30dc062555ee7cfb5cf5419926cf59739a9758a5a08084115d7
6
+ metadata.gz: 47484c4e28c612666ea071aed2ec7fe5f563105ccefe587cae69c4039caead7cd42374d72425fae23a0fee0c3694d0ba4ade3e19f43d8b7953fb2ed5c02f0b0c
7
+ data.tar.gz: 5cc82ecc7586a75a09cdfb47fb31cf4d100705d442f3b142a29146570f7ccf6cf75a455edd38484bb53fc3258c7ea9905308ef11a6650f05576392161e4542ca
@@ -1 +1,4 @@
1
- �ù�8�Yne��bU��-<�[,E���E�'b�0t��.|��>8���.L��5U�8��T;��י��wSl9�����`����&��:�~Qc�3M9�Hۘ���3T�IU߼�۸V2��$"����ù�ٵ����2g5{�^3B���Հ�C�Y�{�P�Н��W��:��H�+�����$�%���*�D{��_|�G|����������UB��J�*6�e~=d,���>��)��eĚ�G���J����w)vl��3���3��� �"J+Bp�rZ�x��oٹ���3���8/y�id%٧�(:!f�X����qa9�� k�Ut<��E$�P� �JG)�q�k��dhH>���W�Kp�9,ɡ5hA��S����D0
1
+ ����XQ��L��qf��cT8"]���Ū����
2
+ ���VL
3
+ O%2!at�d�m?�#x; 鬡�U�
4
+ ��׈�Jrrdl�����)6��G��[&E��62��&� ,-�0�c���m�
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -1,16 +1,13 @@
1
- - [![Downloads](https://img.shields.io/gem/dt/traquitana.svg)](https://rubygems.org/gems/traquitana)
2
- - [![Version](https://img.shields.io/gem/v/traquitana.svg)](https://rubygems.org/gems/traquitana)
3
- - [![License](https://img.shields.io/badge/license-GPLV2-brightgreen.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
1
+ [![Downloads](https://img.shields.io/gem/dt/traquitana.svg)](https://rubygems.org/gems/traquitana)
2
+ [![Version](https://img.shields.io/gem/v/traquitana.svg)](https://rubygems.org/gems/traquitana)
3
+ [![License](https://img.shields.io/badge/license-GPLV2-brightgreen.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
4
4
 
5
5
  # Traquitana
6
6
 
7
7
  This project is a collection of scripts I used before met Capistrano and the
8
- other tools to do that.
9
- It send some files from your local Rails app directory to a production remote
10
- server, using some
11
- default libs on Ruby like net/ssh and net/scp, and rubyzip to zip all the files
12
- and try to make
13
- things faster.
8
+ other tools to do that. It send some files from your local Rails app directory
9
+ to a production remote server, using some default libs on Ruby like net/ssh and
10
+ net/scp, and rubyzip to zip all the files and try to make things faster.
14
11
 
15
12
  It was made to run on GNU/Linux, but should work on similar systems.
16
13
 
@@ -18,15 +15,21 @@ It was made to run on GNU/Linux, but should work on similar systems.
18
15
 
19
16
  Add this line to your application's Gemfile:
20
17
 
21
- gem 'traquitana'
18
+ ```
19
+ gem 'traquitana'
20
+ ```
22
21
 
23
22
  And then execute:
24
23
 
25
- $ bundle
24
+ ```
25
+ $ bundle
26
+ ```
26
27
 
27
28
  Or install it yourself as:
28
29
 
29
- $ gem install traquitana
30
+ ```
31
+ $ gem install traquitana
32
+ ```
30
33
 
31
34
  ## Usage
32
35
 
@@ -44,8 +47,10 @@ Or install it yourself as:
44
47
 
45
48
  On the list can have two elements by row, like:
46
49
 
47
- - - public/images/**/*
48
- - public/images/uploads/**/*
50
+ ```
51
+ - - public/images/**/*
52
+ - public/images/uploads/**/*
53
+ ```
49
54
 
50
55
  On this example, all below public/images will be send BUT ignoring what is on
51
56
  public/images/uploads. This is a way to make sure you'll not overwrite some
@@ -60,7 +65,7 @@ Or install it yourself as:
60
65
  specify any tags. Take a look on the custom.yml file provided and use
61
66
  -t or --target <target>.
62
67
 
63
- - Run traq (just type traq).
68
+ - Run traq (just type `traq`).
64
69
  - It will search for changed files
65
70
  - Will create a list with the file names found
66
71
  - Will zíp the files.
@@ -85,17 +90,27 @@ break something.
85
90
 
86
91
  There are some command line options:
87
92
 
88
- * -f or --file <file> - specify the config file path
89
- * -v or --version - show current version
90
- * -c or --cleanup - clean old versions backups stored on the remote host
91
- * -v or --verbose - be verbose while running
92
- * -t or --target <target> - specify which target will be loaded on the config file
93
+ * `-f` or `--file <file>` - specify the config file path
94
+ * `-v` or `--version` - show current version
95
+ * `-c` or `--cleanup` - clean old versions backups stored on the remote host
96
+ * `-v` or `--verbose` - be verbose while running
97
+ * `-t` or `--target <target>` - specify which target will be loaded on the config file
98
+
99
+ ## Drawbacks
100
+
101
+ As we're sending the local files to the server, if you deleted some file from
102
+ your local repository, **it will not be deleted from your server**, so, you'll
103
+ need to take care of this by yourself. I was inclined to check for the deleted
104
+ files on the file list sent to the server, comparing with the local files there,
105
+ and then delete the files, but I think file deletion could be a little more
106
+ invasive than I'd would like about how this gem works. Maybe on future I can
107
+ change my mind.
93
108
 
94
109
  ## Contributing
95
110
 
96
111
  1. Fork it
97
112
  2. Create your feature branch (`git checkout -b my-new-feature`)
98
- 3. Test it! Run `$ rake test`. You need `minitest` and `minitest-focus`.
113
+ 3. Test it! Run `$ rake test`. You'll need `minitest` and `minitest-focus`.
99
114
  4. Commit your changes (`git commit -am 'Added some feature'`)
100
115
  5. Push to the branch (`git push origin my-new-feature`)
101
116
  6. Create new Pull Request
@@ -1,5 +1,5 @@
1
- # Default configuration
2
- default:
1
+ # This is the default configuration, created by the traq setup command
2
+ default: &default
3
3
  directory: /tmp/traq_test
4
4
  user: taq
5
5
  list:
@@ -25,28 +25,13 @@ default:
25
25
  host: localhost
26
26
  server: passenger
27
27
  shell: bash -l -c
28
+
29
+ # This is a custom configuration to be used wit -t or --target option.
30
+ # It inherits all the default configs, just changing the directory.
31
+ # It can be used like:
32
+ # $ traq -t custom
33
+ # or
34
+ # $ traq --target custom
28
35
  custom:
36
+ <<: *default
29
37
  directory: /tmp/traq_test_custom
30
- user: taq
31
- list:
32
- - Rakefile
33
- - config.ru
34
- - Gemfile
35
- - - config/application.rb
36
- - - config/environment.rb
37
- - - config/initializers/**/*
38
- - - config/environments/production.rb
39
- - - config/locales/**/*
40
- - - config/routes.rb
41
- - - config/storage.yml
42
- - - app/**/*
43
- - - db/migrate/**/*
44
- - - public/javascripts/**/*
45
- - - public/stylesheets/**/*
46
- - - lib/**/*
47
- - - bin/**/*
48
- - - public/images/**/*
49
- - public/images/uploads/**/*
50
- password: fill your password here
51
- host: localhost
52
- shell: bash -l -c
@@ -1,3 +1,3 @@
1
1
  module Traquitana
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -6,6 +6,8 @@
6
6
  - Rakefile
7
7
  - config.ru
8
8
  - Gemfile
9
+ - package.json
10
+ - postcss.config.js
9
11
  - - config/application.rb
10
12
  - - config/environment.rb
11
13
  - - config/initializers/**/*
@@ -13,6 +15,9 @@
13
15
  - - config/locales/**/*
14
16
  - - config/routes.rb
15
17
  - - config/storage.yml
18
+ - - config/webpacker.yml
19
+ - - config/webpack/environment.js
20
+ - - config/webpack/production.js
16
21
  - - app/**/*
17
22
  - - db/migrate/**/*
18
23
  - - public/javascripts/**/*
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: traquitana
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eustaquio Rangel
@@ -35,7 +35,7 @@ cert_chain:
35
35
  uek3m7n2XoRODoAGEm3apnmP8WWMEmI0tXdsvDBwoNVXEMkFnxD+RIMQPW22r3ZL
36
36
  waOiThAR0oxaTQ==
37
37
  -----END CERTIFICATE-----
38
- date: 2019-11-27 00:00:00.000000000 Z
38
+ date: 2019-12-09 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: highline
metadata.gz.sig CHANGED
Binary file