flycal-cli 1.2.1 → 1.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01bbfc45999ccc7c458c48f5131a8476271e50e8b166e819d53371768a43fa51
4
- data.tar.gz: 455dd466af400747d3d7bcb97fec8f4a9f87abd5db12d52395bc04a0c4edfcc5
3
+ metadata.gz: 6064a63fa2be20ee1ae485a098fe48a4b0d8a754b7be3ab592870a4f1c3ff647
4
+ data.tar.gz: 9161662c7b7ab8a794095260df2a2b2f7b7fc0b7f53ba35e2d72d7c9005e46c5
5
5
  SHA512:
6
- metadata.gz: 38af1efd8c2d88d6b5f9e0b2e98461bcb44dfa8a9f3b45e4fd665bc05707331d02055aa32e473c0debd0d6c8e7a9b9290a6a920d7d2bddf18b38fbfc156497ef
7
- data.tar.gz: b07bcdda58dfcc654219c5106c96af6f93f943b55e5aa3f20777d6dd57eacb9e166bb524be5c3e2720c7d4c7f8b95b9ce344272796ac47ef7124a78b4c2ea608
6
+ metadata.gz: 759574c5c165b1e0b0fec5a95de8c62fc2f61975cad1d3aa4550c8d4fb58a9fd74d5c22826e45cc043a7b4d081a187f25985016d04e993568fbf0025806c829a
7
+ data.tar.gz: fbc3abe2cefa03f601be32798d13b6bf451baff99e23564659fffc8325972a1835340b7a0d781eb33c328e1f530b0eaf9f81766cd95fe3aaf39cdcdaf89bb12f
@@ -24,7 +24,7 @@ module Cli
24
24
 
25
25
  desc "login", "Connect to your Google account"
26
26
  option :client, type: :string,
27
- desc: "OAuth client: flycal (Flycal Desktop app) or json (~/.flycal/credentials.json)"
27
+ desc: "OAuth client: flycal (Flycal Desktop app) or json (~/.flycal/credentials.json, advanced)"
28
28
  def login
29
29
  apply_locale_override
30
30
  if Auth.logged_in?
data/lib/flycal.rb CHANGED
@@ -4,7 +4,7 @@
4
4
  # Under Rails, Zeitwerk autoloads lib/flycal/*.
5
5
  # The CLI gem entrypoint (flycal_cli/lib/flycal_cli.rb) eager-requires what it needs.
6
6
  module Flycal
7
- VERSION = "1.2.1"
7
+ VERSION = "1.2.2"
8
8
 
9
9
  def self.connect(credentials:)
10
10
  Client.new(credentials: credentials)
data/locales/en.json CHANGED
@@ -31,8 +31,8 @@
31
31
  "login": {
32
32
  "prompt": "How do you want to sign in?",
33
33
  "options": {
34
- "flycal": "Google account (Flycal)",
35
- "json": "Your own Google Cloud client JSON (~/.flycal/credentials.json)"
34
+ "flycal": "Google account, via Flycal (default)",
35
+ "json": "Your own Google Cloud client JSON (advanced)"
36
36
  },
37
37
  "already_connected": "✓ You are already connected to your Google account.",
38
38
  "next_config": "Run 'flycal config' to set the default calendar.",
data/locales/it.json CHANGED
@@ -31,8 +31,8 @@
31
31
  "login": {
32
32
  "prompt": "Come vuoi accedere?",
33
33
  "options": {
34
- "flycal": "Account Google (Flycal)",
35
- "json": "Il tuo client JSON di Google Cloud (~/.flycal/credentials.json)"
34
+ "flycal": "Account Google, tramite Flycal (predefinito)",
35
+ "json": "Il tuo client JSON di Google Cloud (avanzato)"
36
36
  },
37
37
  "already_connected": "✓ Sei già connesso al tuo account Google.",
38
38
  "next_config": "Esegui 'flycal config' per impostare il calendario predefinito.",
data/mcp/tools.json CHANGED
@@ -82,7 +82,7 @@
82
82
  "path": "~/.flycal/config.yml",
83
83
  "credentials_path": "~/.flycal/credentials.json",
84
84
  "tokens_path": "~/.flycal/tokens.yml",
85
- "credentials_note": "flycal login offers two clients: (1) Flycal Desktop OAuth, no Google Cloud project needed; (2) optional ~/.flycal/credentials.json from your own Desktop app. Non-interactive default is flycal (`flycal login --client flycal`). For your own JSON: `flycal login --client json`.",
85
+ "credentials_note": "flycal login offers two clients: (1) Flycal Desktop OAuth, no Google Cloud project needed; (2) advanced: your own ~/.flycal/credentials.json. Browser login is required for both. Non-interactive default is flycal (`flycal login --client flycal`). For your own JSON: `flycal login --client json`.",
86
86
  "keys": {
87
87
  "calendar_default": {
88
88
  "type": ["string", "null"],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flycal-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - flycal-cli