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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9aa045f9bce70d0d78c11679b3f30d1774415e3a910548a3a5c2b4c1fe89eaa
4
- data.tar.gz: 91fee9144a5caadd5456788c4a768b904edab6a0c39b7d7b1167f237e04bb272
3
+ metadata.gz: 8efc68f20507f7fd2cac8c5f3794354054d94cee65a9c80fa97f168815b10d3d
4
+ data.tar.gz: e7cf3e48b5c8e2e7a4909a154d594395c8625b0b9c7283c92758b9e2a7c519df
5
5
  SHA512:
6
- metadata.gz: 2f57c0252f707cd444ed46b478a6708ef680d51dbe5772067410e4d325f094904ec1da26d39c05e8075e2d471d6470309cc3b2113bc3d5550bcacb6c8ff86850
7
- data.tar.gz: 438c465df905987d4ab5406b12517c51a73cabaab81b05c79ca58e41fefcf32a204c24c251ac4d906146565edfac585dd2af9835278ee927713c3853899cf8aa
6
+ metadata.gz: b92e671de9022f28778dd793970ae65608cf54a36130bdd13e3db404d9db43b2cfad6622cbc847bf6d4ba7294b74ef129097f7a94fe68c96df888e486dd4df4f
7
+ data.tar.gz: f4b600dc81466f5eee61b3a1d9e829f71cad18fdb78a28bbef4f60dbd7da047eaa897cffd91b310d0e527fb04f20f7ebb38e7c8cba2e197528d322554b014a6b
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ *
@@ -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://www.lovepreet.xyz"
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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DailyProgress
4
- VERSION = '1.2.0'
4
+ VERSION = '2.2.1'
5
5
  WSL_VERSION_PATH = '/proc/version'
6
6
  end
@@ -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
- puts "Clipboard not implemented for WSL."
70
- puts content
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: 1.2.0
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-08-19 00:00:00.000000000 Z
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://www.lovepreet.xyz
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
- rubygems_version: 3.2.5
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