snippet_cli 0.3.2 → 0.3.3

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: 657486002bc2d360c27c7c99aef89444bc0568cbfbb9014b31320b45e327d658
4
- data.tar.gz: '087e66f9b9da46283e6caa6bb5559c34db1c1dc239161f6fccce2859bfa17301'
3
+ metadata.gz: 0f4001cc5727c399b908215514c3be02a4227c56fdfa2db3389bfa074630e4b3
4
+ data.tar.gz: 928abddc8452cace305567388acb20a80980a135a194fabd1fa57ae306991eec
5
5
  SHA512:
6
- metadata.gz: 549e67aa41e8f8c6d07ffd943b9ce872fa3a7890c6e2b1735b5e50c1ca2c9217db366c7e54bc11c6b7bc63029efa73d8fb6facc26ee65f840b64c2437b6448ab
7
- data.tar.gz: 2628d10518b17461f00b05a045e95f8334ab0d65e408d4c1dd457f65a83808180e5918e685828979fdc4dddb3dcd03684cc073453e4d2b08f99a63dfe5fb8693
6
+ metadata.gz: 32f3969e31dff8b733f6ad74c3caa347adee12d35b0cfc9584094882e9a51bab582489405ac039d9236f0e17bc8df5639b73fd35df7ae7717c23ee2fa46a43ea
7
+ data.tar.gz: d67483395e4f2012ad58def3eafb3d8aec9bb150f9aa102fd9f824e26af71deb851c803200c328c678eef4f033f32d0d9e988dcc872bc82f754f29881f867585
data/exe/snippet_cli CHANGED
File without changes
data/lib/Setup.rb CHANGED
@@ -62,13 +62,13 @@ class Setup
62
62
  end
63
63
 
64
64
  def generate_config()
65
- if File.exist?("#{ENV["HOME"]}/snippet_cli_config.txt") then
65
+ if File.exist?("#{ENV["HOME"]}\\snippet_cli_config.txt") then
66
66
 
67
67
  else
68
- File.open("#{ENV["HOME"]}/snippet_cli_config.txt", "a") { |f| f.write "NAME = #{self.user_name}\n"}
69
- File.open("#{ENV["HOME"]}/snippet_cli_config.txt", "a") { |f| f.write "OS = #{self.user_os}\n"}
70
- File.open("#{ENV["HOME"]}/snippet_cli_config.txt", "a") { |f| f.write "STORAGE = #{self.user_storage}\n"}
71
- File.open("#{ENV["HOME"]}/snippet_cli_config.txt", "a") { |f| f.write "CONFIG_PRESENT = TRUE\n"}
68
+ File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "a") { |f| f.write "NAME = #{self.user_name}\n"}
69
+ File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "a") { |f| f.write "OS = #{self.user_os}\n"}
70
+ File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "a") { |f| f.write "STORAGE = #{self.user_storage}\n"}
71
+ File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "a") { |f| f.write "CONFIG_PRESENT = TRUE\n"}
72
72
  end
73
73
  end
74
74
  end
@@ -1,3 +1,3 @@
1
1
  module SnippetCli
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
data/snippet_cli.gemspec CHANGED
@@ -11,7 +11,6 @@ Gem::Specification.new do |spec|
11
11
  spec.description = "You can write to your espanso config directly using this gem"
12
12
  spec.homepage = "https://github.com/ajmarkow/snippet_cli"
13
13
  spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
14
- spec.add_runtime_dependency "thor"
15
14
  spec.add_runtime_dependency "tty-prompt"
16
15
  spec.add_runtime_dependency "tty-box"
17
16
  spec.add_runtime_dependency "tty-platform"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snippet_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - AJ Markow
@@ -10,20 +10,6 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2021-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: thor
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: tty-prompt
29
15
  requirement: !ruby/object:Gem::Requirement