xrpn 1.3.4 → 1.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/xcmd/getfile +3 -3
  3. data/xcmd/getfilea +3 -3
  4. data/xrpn.gemspec +2 -2
  5. metadata +3 -4
  6. data/xcmd/read +0 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fd6c24bf0ae1e16e943aaf138b71c12d3fb91f96a76db8c4177ab4ff4a0a5f5
4
- data.tar.gz: 38e57e229c8d739f5967de726866f87b309b1e74be3e42ca65d4807ea4768ea2
3
+ metadata.gz: a270f73ff7966f8a5f28def1881aca7cbccd491fbd17e6f8be18a0a8ad423319
4
+ data.tar.gz: e1aa37a38e2ce9b9ebc7561053374fe0ed78b45c2a4e069047a5e96953f0700f
5
5
  SHA512:
6
- metadata.gz: 8fda5beedc920d94a7711ad6d78908b785cd08ece3909a3e79583045300faf784c1b762640fd79fb1c9a178404b0da8199c4af9f50531a356f455fcb07b38107
7
- data.tar.gz: 678af3b283e0970dca83f62c8ad85a26a3a4902b59aa0832edbf37308fd1a7dbd25dcd4fd9e250c6ff0f6eb48b4c8ec34cf9bde22f10ad7f2b1d1f855b3e0f10
6
+ metadata.gz: 17429308f52f6dc00b1b2ff7ce2ef8cb4fda18326e8eec0ba902c39b222d6b75792da79f6a5769dc1cd45925982204850ced2e1ccd91afcb6da771ed14a20ef0
7
+ data.tar.gz: a65735d8ff489cc55567850697e4d7a9c7748a6de7e9a130886c6d4c858234496370fe5f18accd306df2306972c66bb948889100df9369b74f9f0e4795e04a30
data/xcmd/getfile CHANGED
@@ -3,11 +3,11 @@ class XRPN
3
3
  def getfile
4
4
  lift
5
5
  begin
6
- @x = File.read(@a)
6
+ @x = File.read(@a).chomp
7
7
  rescue
8
- return "Cannot read the file '#{a}'"
8
+ return "Cannot read the file \"#{a}\""
9
9
  end
10
10
  end
11
11
  end
12
12
 
13
- # vim:ft=ruby:
13
+ # vim:ft=ruby:
data/xcmd/getfilea CHANGED
@@ -2,11 +2,11 @@ class XRPN
2
2
  # Read any file named in Alpha into Alpha
3
3
  def getfilea
4
4
  begin
5
- @a = File.read(@a)
5
+ @a = File.read(@a).chomp
6
6
  rescue
7
- return "Cannot read the file '#{a}'"
7
+ return "Cannot read the file \"#{a}\""
8
8
  end
9
9
  end
10
10
  end
11
11
 
12
- # vim:ft=ruby:
12
+ # vim:ft=ruby:
data/xrpn.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'xrpn'
3
- s.version = '1.3.4'
3
+ s.version = '1.3.5'
4
4
  s.licenses = ['Unlicense']
5
5
  s.summary = "XRPN - The eXtended RPN (Reverse Polish Notation) programming language"
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. New in 1.3.4: Added file system commands READ, OPEN, COPY, MOVE."
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. New in 1.3.5: Removed READ (already had that with GETFILE."
7
7
 
8
8
  s.authors = ["Geir Isene"]
9
9
  s.email = 'g@isene.com'
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.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
@@ -28,8 +28,8 @@ description: 'A full programming language and environment extending the features
28
28
  the venerable HP calculator programmable calculators. With XRPN you can accomplish
29
29
  a wide range of modern programming tasks as well as running existing HP-41 FOCAL
30
30
  programs directly. XRPN gives modern life to tens of thousands of old HP calculator
31
- programs and opens the possibilities to many, many more. New in 1.3.4: Added file
32
- system commands READ, OPEN, COPY, MOVE.'
31
+ programs and opens the possibilities to many, many more. New in 1.3.5: Removed READ
32
+ (already had that with GETFILE.'
33
33
  email: g@isene.com
34
34
  executables:
35
35
  - xrpn
@@ -223,7 +223,6 @@ files:
223
223
  - xcmd/rclpta
224
224
  - xcmd/rclsw
225
225
  - xcmd/rdn
226
- - xcmd/read
227
226
  - xcmd/recip
228
227
  - xcmd/regmove
229
228
  - xcmd/regswap
data/xcmd/read DELETED
@@ -1,12 +0,0 @@
1
- class XRPN
2
- # Reads content of file named in Alpha into X
3
- def read
4
- begin
5
- @x = File.read(@a).chomp
6
- rescue
7
- puts "Cannot read file \"#{@a}\""
8
- end
9
- end
10
- end
11
-
12
- # vim:ft=ruby: