journal-cli 1.0.29 → 1.0.30
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/README.md +2 -0
- data/lib/journal-cli/checkin.rb +1 -0
- data/lib/journal-cli/version.rb +1 -1
- data/src/_README.md +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bff25e2097779ccc627fad73fd8be1f60bd4d26d2e9b4387958de7ec28aaed11
|
|
4
|
+
data.tar.gz: 3dd1a0ef9a6abdeb66fceed41c3a7dd67875afb103d0b3b0bc6fefb486f51368
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d1d0526337ac42f09e7ca6dbfaf06ddf4167f2d7ed2515dc0de845114045494acd8d54d5bc35dfc90719b7c50563cbbe2e6fae0549fdd86d5575f41b1d740ea
|
|
7
|
+
data.tar.gz: 9e26c299a129ef5f2bdaa48fb05b90b7a2e20052ebd5578bed2f1bd3bdeae773711a3e219a567036a51634b4636a91e233606116a40eca8a2ed670582f96a38e
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -52,6 +52,8 @@ This file contains a YAML definition of your journal. Each journal gets a top-le
|
|
|
52
52
|
|
|
53
53
|
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
54
|
|
|
55
|
+
You can optionally set the key `temp_in:` to `f` or `c` to control what scale is used for temperatures.
|
|
56
|
+
|
|
55
57
|
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
58
|
|
|
57
59
|
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.
|
data/lib/journal-cli/checkin.rb
CHANGED
data/lib/journal-cli/version.rb
CHANGED
data/src/_README.md
CHANGED
|
@@ -55,6 +55,8 @@ This file contains a YAML definition of your journal. Each journal gets a top-le
|
|
|
55
55
|
|
|
56
56
|
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
57
|
|
|
58
|
+
You can optionally set the key `temp_in:` to `f` or `c` to control what scale is used for temperatures.
|
|
59
|
+
|
|
58
60
|
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
61
|
|
|
60
62
|
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.
|
|
4
|
+
version: 1.0.30
|
|
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-
|
|
11
|
+
date: 2023-12-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tty-which
|