trebbiatrice 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/bin/testate/osx/atom.scpt +6 -0
- data/bin/trebbiatrice +6 -4
- data/lib/trebbiatrice/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18bd11fc83273527b420d788739a9933d4eccce4
|
4
|
+
data.tar.gz: aa7e709b171d0f71c85f77639cb1cd4b4f50b346
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ca260eaabcf0c8d9c35d73d149c9a0566050c8fc9354152fda3ab5f9cb0fcb547a271da0a79e67be79d248020d4a73793b7f393cd4659edfa901332b6297d61
|
7
|
+
data.tar.gz: 68dc2cb62713e46ecc8c0b1ead90c6f216f64988f3d72d385d59e7a500cc3ca11b7a8bd0097c3894b7eb28d3cd5f253528a47e365afd2b3b5b7a767f2eae200e
|
data/README.md
CHANGED
@@ -20,12 +20,20 @@ export TREBBIA_DOMAIN='subdomain'
|
|
20
20
|
export TREBBIA_MAIL='email'
|
21
21
|
```
|
22
22
|
|
23
|
-
`$ trebbiatrice`
|
23
|
+
`$ trebbiatrice [trebbia]`
|
24
24
|
|
25
25
|
About Sublime Text
|
26
26
|
------------------
|
27
27
|
If you do not work with workspaces/projects like I said before, you can add `"show_full_path": true` to your editor's settings. In this way, `trebbiatrice` will try to match the Harvest projects with the name of the folder in which your files your're working on are saved.
|
28
28
|
|
29
|
+
To track with Sublime Text, just do `$ trebbiatrice sublime`.
|
30
|
+
|
31
|
+
About Atom
|
32
|
+
----------
|
33
|
+
Install the package `custom-title` in Atom and set something like `<%= fileName %><% if (projectPath) { %> - /<%= relativeFilePath %><% } %>` in the custom title. Otherwise just work in the folder with the name of your project.
|
34
|
+
|
35
|
+
To track with Atom, the command is `$ trebbiatrice atom`.
|
36
|
+
|
29
37
|
TODO
|
30
38
|
----
|
31
39
|
- Configuration file
|
data/bin/trebbiatrice
CHANGED
@@ -10,6 +10,11 @@
|
|
10
10
|
#++
|
11
11
|
require 'trebbiatrice'
|
12
12
|
|
13
|
+
abort 'Usage: trebbiatrice [trebbia]' if ARGV.empty?
|
14
|
+
|
15
|
+
trebbia = File.join(File.dirname(__FILE__), "testate/osx/#{ARGV.last}.scpt")
|
16
|
+
abort "Trebbia #{ARGV.last} does not exist." unless File.exists?(trebbia)
|
17
|
+
|
13
18
|
Encoding.default_external = Encoding::UTF_8
|
14
19
|
Encoding.default_internal = Encoding::UTF_8
|
15
20
|
|
@@ -21,9 +26,6 @@ login_data = {
|
|
21
26
|
|
22
27
|
task = 'Development'
|
23
28
|
frequency = ENV.fetch('TREBBIA_FREQ') { 1 }.to_i
|
24
|
-
testata = {
|
25
|
-
:engine => 'osascript',
|
26
|
-
:name => File.join(File.dirname(__FILE__), 'testate/osx/sublime.scpt')
|
27
|
-
}
|
29
|
+
testata = { engine: 'osascript', name: trebbia }
|
28
30
|
|
29
31
|
Trebbiatrice.run! login_data, task, testata, frequency
|
data/lib/trebbiatrice/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trebbiatrice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Giovanni Capuano
|
@@ -37,6 +37,7 @@ files:
|
|
37
37
|
- Gemfile.lock
|
38
38
|
- README.md
|
39
39
|
- Rakefile
|
40
|
+
- bin/testate/osx/atom.scpt
|
40
41
|
- bin/testate/osx/sublime.scpt
|
41
42
|
- bin/trebbiatrice
|
42
43
|
- lib/trebbiatrice.rb
|