xrpn 1.1.18 → 1.1.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/xrpn +2 -5
  3. data/xrpn.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b31e68474dd62d8032cccd2f1c748c87c5e6f6f4f66ec14f6fa8f31bb61468b
4
- data.tar.gz: b650025a4444902d98af21042c9e5e4f04e8ea0efd3e9a626b25303b4eef226b
3
+ metadata.gz: 46644d8d98e5b1dd75744275fc3dac4931aad731e7216a656cef9e32689b2ec2
4
+ data.tar.gz: 4eb6496948ea07fad0a59db3af59cc98770fad86532c23bfc43ff6a3e1218d39
5
5
  SHA512:
6
- metadata.gz: 907119225b1dfa42a29d11c033a18391b8b3b67660219cf008dc0a29043e8a22eb2d5bb544fb069e84ccbfae40cd0224201e49b587ec2e06e21303f524b4d8d1
7
- data.tar.gz: 0134cd2b33978c66e6f97059ff0aeae98fbc45b9c6e379cf5e651ccecf799255879808e9e7f37ab216aabd4ca250c1100b32a0a9051091aec59df41c11e69a9d
6
+ metadata.gz: 01d60aee410e2b28bb88af456506d0b56668890b2723b36d90f1d93468df184276cdf078d6878acbd16e7742b88f1ad7910be66df1f4dca0ee3c5e53c2d9c87a
7
+ data.tar.gz: afec4c0ef1448bfd57196fae261a3cd4f6b2ab059332cdd5b176ad7fb85be17899e58f4e327e3008ae595adb00ceb699fb54b963c1f59bddd4e71bd58542e357
data/bin/xrpn CHANGED
@@ -9,11 +9,8 @@ require 'bigdecimal'
9
9
  require 'open-uri'
10
10
  require 'json'
11
11
  require 'tty-prompt'
12
- begin
13
- $gem = Gem.latest_spec_for("xrpn").gem_dir
14
- puts "GEM: " + $gem
15
- rescue
16
- end
12
+
13
+ $gem = Gem.latest_spec_for("xrpn").gem_dir if system('gem list -i "^xrpn$"') == "true"
17
14
 
18
15
  # ENSURE DIRs
19
16
  Dir.mkdir(Dir.home + "/.xrpn") unless File.exist?(Dir.home + "/.xrpn")
data/xrpn.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'xrpn'
3
- s.version = '1.1.18'
3
+ s.version = '1.1.20'
4
4
  s.licenses = ['Unlicense']
5
5
  s.summary = "XRPN - The eXtended RPN (Reverse Polish Notation) programming language"
6
6
  s.description = "A full programming language and environment extending the features of the venerable HP calculator programmable calculators. With XRPN you can accomplish a wide range of modern programming tasks as well as running existing HP-41 FOCAL programs directly. XRPN gives modern life to tens of thousands of old HP calculator programs and opens the possibilities to many, many more."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xrpn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.18
4
+ version: 1.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene