journal-cli 1.0.29 → 1.0.31

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: e8f83764338d653909b55685394ab55398913f1dfdf5a529bfe2d7e94857c586
4
- data.tar.gz: c068e0799c4438f45aad8ac2e265d42324da686712a85c1709cd491ea1ca476f
3
+ metadata.gz: 68a0dd23d0f640b801ed95ed73796cff7e54445483b95354f3796e64506f2956
4
+ data.tar.gz: b04e60b7a84fad7d12e674360b2019ff4688ff3b3946c55cf94029d6e770c080
5
5
  SHA512:
6
- metadata.gz: 8f35ef77c9762043790ee535e28a0892f78681f5895bd0db6cdb476e13524a35ccf0d80d31dff201a7307d630fc6f59729c9ba7b83698b7bbb428669cceafb96
7
- data.tar.gz: 28fbd4e7ec6ac0ee506a8bed4413985a9424d6327025b571843bc0d28d17a17747808d33baa7d31d39d3e1e8b941c32a9dcf9883e5c5659af996261e7dc7f514
6
+ metadata.gz: 9c9fe623367f3d587ba54526faa9512e1ee22226b7075e270b84985321d8ecad7379da1b511516dd0fb6c1649fc73da1ae833297443607dbfa9e50d721608882
7
+ data.tar.gz: 1e3521cd6b7aa7834afad83f61bb4df0756c105a2739d35f000bb9cba1eeb9ace56567e765857a180c36be4ce6ee8420d6b61cc397f899c777fe18e62d271888
data/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ### 1.0.31
2
+
3
+ 2023-12-14 09:12
4
+
5
+ #### FIXED
6
+
7
+ - Remove debug line
8
+
9
+ ### 1.0.30
10
+
11
+ 2023-12-13 17:22
12
+
13
+ #### FIXED
14
+
15
+ - Weather.moon detection
16
+
1
17
  ### 1.0.29
2
18
 
3
19
  2023-10-01 15:24
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- journal-cli (1.0.29)
4
+ journal-cli (1.0.31)
5
5
  chronic (~> 0.10, >= 0.10.2)
6
6
  tty-reader (~> 0.9, >= 0.9.0)
7
7
  tty-which (~> 0.5, >= 0.5.0)
data/README.md CHANGED
@@ -35,6 +35,22 @@ If you want to use Day One with Journal, you'll need to [install the Day One CLI
35
35
  $ sudo bash /Applications/Day\ One.app/Contents/Resources/install_cli.sh
36
36
  ```
37
37
 
38
+ ## Usage
39
+
40
+ ```
41
+ Usage: journal JOURNAL_KEY [NATURAL LANGUAGE DATE]
42
+ -v, --version Display version
43
+ -l, --list List available journals
44
+ --[no-]color Colorize output
45
+ -h, --help Display help
46
+
47
+ Available journal types:
48
+ - checkin
49
+ - mood
50
+ - daily
51
+ - test
52
+ ```
53
+
38
54
  ## Configuration
39
55
 
40
56
  A config must be created at `~/.config/journal/journals.yaml`:
@@ -52,6 +68,8 @@ This file contains a YAML definition of your journal. Each journal gets a top-le
52
68
 
53
69
  You can include weather data automatically by setting a question type to 'weather'. In order for this to work, you'll need to define `zip` and `weather_api` keys. `zip` is just your zip code, and `weather_api` is a key from WeatherAPI.com. Sign up [here](https://www.weatherapi.com/) for a free plan, and then visit the [profile page](https://www.weatherapi.com/my/) to see your API key at the top.
54
70
 
71
+ You can optionally set the key `temp_in:` to `f` or `c` to control what scale is used for temperatures.
72
+
55
73
  If a question type is set to `weather.forecast`, only the predicted condition, high, and low will be included in the JSON data for the question. A full printout of hourly temps will be included in the Markdown/Day One output.
56
74
 
57
75
  If the question type is `weather.current`, only the current condition and temperature will be recorded to the JSON, and a string containing "[TEMP] and [CONDITION]" (e.g. "64 and Sunny") will be recorded to Markdown/Day One for the question.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Journal
4
- VERSION = '1.0.29'
4
+ VERSION = '1.0.31'
5
5
  end
data/src/_README.md CHANGED
@@ -38,6 +38,12 @@ If you want to use Day One with Journal, you'll need to [install the Day One CLI
38
38
  $ sudo bash /Applications/Day\ One.app/Contents/Resources/install_cli.sh
39
39
  ```
40
40
 
41
+ ## Usage
42
+
43
+ ```
44
+ @cli(bundle exec bin/journal -h)
45
+ ```
46
+
41
47
  ## Configuration
42
48
 
43
49
  A config must be created at `~/.config/journal/journals.yaml`:
@@ -55,6 +61,8 @@ This file contains a YAML definition of your journal. Each journal gets a top-le
55
61
 
56
62
  You can include weather data automatically by setting a question type to 'weather'. In order for this to work, you'll need to define `zip` and `weather_api` keys. `zip` is just your zip code, and `weather_api` is a key from WeatherAPI.com. Sign up [here](https://www.weatherapi.com/) for a free plan, and then visit the [profile page](https://www.weatherapi.com/my/) to see your API key at the top.
57
63
 
64
+ You can optionally set the key `temp_in:` to `f` or `c` to control what scale is used for temperatures.
65
+
58
66
  If a question type is set to `weather.forecast`, only the predicted condition, high, and low will be included in the JSON data for the question. A full printout of hourly temps will be included in the Markdown/Day One output.
59
67
 
60
68
  If the question type is `weather.current`, only the current condition and temperature will be recorded to the JSON, and a string containing "[TEMP] and [CONDITION]" (e.g. "64 and Sunny") will be recorded to Markdown/Day One for the question.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: journal-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.29
4
+ version: 1.0.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-01 00:00:00.000000000 Z
11
+ date: 2023-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-which