xrpn 1.1.10 → 1.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/bin/xrpn +2 -1
  3. data/lib/xrpn.rb +2 -1
  4. data/xrpn.gemspec +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 953ec8b598c4f3a5b7f9ad21f2caa790d0498e06d178d1d88d280dfd16ae3d37
4
- data.tar.gz: 527933caf9962f817dc09102f18c5a14b1207a0b0320cd1e59db683de744bb98
3
+ metadata.gz: 9c6f814c240c32360d827999b73c4e639c250961ad411ac5e3b24294b8a9485c
4
+ data.tar.gz: ea22b560bc4af10f44745acb6c7bbeb963e592fe16db1fccc230881618c2e770
5
5
  SHA512:
6
- metadata.gz: 1b5c410b6a9abf64e6e14752ac105f307ba90f5e00f7c27d75a1fce64bc5ba00975f365e209fa926f668f0370c5adc2a36ca3c30415047c4bb33c0403a762d6a
7
- data.tar.gz: ff4440bcb4a6b33dea936de9c9f7765a3ac4c683932140b13ec1b1186ae876d07e590e46b3f228adee774a0ba29681e86409231e53ea502e274a8a5c29f4f6a6
6
+ metadata.gz: a21aace2e83318a85933a96d720b8315fb38a22226f26be9747f11347e6eb8d0947abba4d95a8b4f381976f44732a0cf9772c6c2b7b0bf83bc7ce08abcc36725
7
+ data.tar.gz: fdc11995bdaca9f7c3707c5bbd954260ca5392775bf5cf1591470a74f4d3b95f7f51345526e8df0ef478538693e3bd45eae896dc5cd991a491deec97bb8a201d
data/bin/xrpn CHANGED
@@ -22,7 +22,7 @@ Dir.mkdir(Dir.home + "/.xrpn") unless File.exist?(Dir.home + "/.xrpn")
22
22
  end
23
23
 
24
24
  # INITIALIZE
25
- theme()
25
+ $theme = "dark"
26
26
  @x, @y, @z, @t, @a = 0, 0, 0, 0, ""
27
27
  Dir[Dir.home+"/.xrpn/xlib/*"].each { |file| load file } # Read libraries
28
28
  read_cmd # Read XRPN commands
@@ -39,6 +39,7 @@ end
39
39
  read_state($sfile) if $sfile # Read state file in ~.xrpn/ if -s switch is used
40
40
  $debug = true if $lfile or $sfile # Do not run loaded program or program in state file
41
41
  load(Dir.home+'/.xrpn/conf') if File.exist?(Dir.home+'/.xrpn/conf') # Read config file
42
+ theme($theme)
42
43
  load(Dir.home+'/.xrpn/theme') if File.exist?(Dir.home+'/.xrpn/theme') # Override theme if user theme file exists
43
44
 
44
45
 
data/lib/xrpn.rb CHANGED
@@ -1,2 +1,3 @@
1
1
  Dir[__dir__ + "/../xlib/*"].each { |file| load file }
2
- Dir[__dir__ + "/../xcmd/*"].each { |file| load file }
2
+ @x, @y, @z, @t, @a = 0, 0, 0, 0, ""
3
+ Dir[__dir__ + "/../xcmd/*"].each { |file| puts file; load file }
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.10'
3
+ s.version = '1.1.11'
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.10
4
+ version: 1.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene