dailyprogress 1.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/DailyProgress.gemspec +1 -2
- data/lib/DailyProgress/version.rb +1 -1
- data/lib/daily_progress.rb +4 -4
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8efc68f20507f7fd2cac8c5f3794354054d94cee65a9c80fa97f168815b10d3d
|
4
|
+
data.tar.gz: e7cf3e48b5c8e2e7a4909a154d594395c8625b0b9c7283c92758b9e2a7c519df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b92e671de9022f28778dd793970ae65608cf54a36130bdd13e3db404d9db43b2cfad6622cbc847bf6d4ba7294b74ef129097f7a94fe68c96df888e486dd4df4f
|
7
|
+
data.tar.gz: f4b600dc81466f5eee61b3a1d9e829f71cad18fdb78a28bbef4f60dbd7da047eaa897cffd91b310d0e527fb04f20f7ebb38e7c8cba2e197528d322554b014a6b
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
*
|
data/DailyProgress.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["lovepreetkaul23@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Simple Project to create my daily progress emails from Vimwiki}
|
13
|
-
spec.homepage = "https://
|
13
|
+
spec.homepage = "https://deftcode.in/"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
@@ -26,7 +26,6 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
|
28
28
|
spec.add_development_dependency "bundler", ">= 2.2.10"
|
29
|
-
|
30
29
|
spec.add_development_dependency "rake", "~> 13.0"
|
31
30
|
spec.add_development_dependency "rspec", "~> 3.0"
|
32
31
|
end
|
data/lib/daily_progress.rb
CHANGED
@@ -64,13 +64,13 @@ module DailyProgress
|
|
64
64
|
success_msg = "Content copied to clipboard successfully!"
|
65
65
|
if OS.windows?
|
66
66
|
IO.popen('clip', 'w') { |f| f << content.to_s }
|
67
|
-
puts success_msg
|
67
|
+
puts success_msg if $?.exitstatus.to_i == 0
|
68
68
|
elsif OS.wsl?
|
69
|
-
|
70
|
-
puts
|
69
|
+
IO.popen('clip.exe', 'w') { |f| f << content.to_s }
|
70
|
+
puts success_msg if $?.exitstatus.to_i == 0
|
71
71
|
else OS.linux?
|
72
72
|
IO.popen('xclip -selection clipboard', 'r+') { |f| f.puts content.to_s }
|
73
|
-
puts success_msg
|
73
|
+
puts success_msg if $?.exitstatus.to_i == 0
|
74
74
|
end
|
75
75
|
end
|
76
76
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dailyprogress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lovepreet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -60,6 +60,7 @@ executables:
|
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
+
- ".gitignore"
|
63
64
|
- ".rspec"
|
64
65
|
- ".travis.yml"
|
65
66
|
- CODE_OF_CONDUCT.md
|
@@ -77,7 +78,7 @@ files:
|
|
77
78
|
- lib/main.rb
|
78
79
|
- lib/os.rb
|
79
80
|
- ruby
|
80
|
-
homepage: https://
|
81
|
+
homepage: https://deftcode.in/
|
81
82
|
licenses:
|
82
83
|
- MIT
|
83
84
|
metadata: {}
|
@@ -96,7 +97,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
97
|
- !ruby/object:Gem::Version
|
97
98
|
version: '0'
|
98
99
|
requirements: []
|
99
|
-
|
100
|
+
rubyforge_project:
|
101
|
+
rubygems_version: 2.7.6.2
|
100
102
|
signing_key:
|
101
103
|
specification_version: 4
|
102
104
|
summary: Simple Project to create my daily progress emails from Vimwiki
|