visualruby 3.6.2 → 3.6.3

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: 3c57043153d4d8593b9731e6f4723caf9f8204d95c11caff0ddfa9dfe3264cdf
4
- data.tar.gz: 127d48e3eb22f788ad8dc1d12b9b0b0114362ef01fcb180069e5f188c473f084
3
+ metadata.gz: 57fe878918ab52b3998ff5642cbf83f791d33af25ad33f20ea4b89f622040714
4
+ data.tar.gz: 91cd0e95e279e85a2298bf659a26bb32302b7daf1e9592708479d1d807c14277
5
5
  SHA512:
6
- metadata.gz: d6669fe6375b6be283bc39a042d231e811c7d9121edebab47ed26ca8ef20911197bae042d56808229142dceeb269126e6417a37c64558787c62ee8a7da704041
7
- data.tar.gz: 531aaea75548e52c4b51c27cef2f548f58ee296f950e650c76bbcce88fd73b76c41fa89ebd5e58de50f191230086e141dc856284b4a175f315b84890a6be244b
6
+ metadata.gz: e492484dd649da75f806c28f27809ca2a6c67e62a11cb9208b12ce171240f324213820312fe6798c43d30d3dc754d546f6ecba3068e550dd0229b9816cb4fea8
7
+ data.tar.gz: 9375bf701e38a40cfd0598e0f296bf584fc29e016ce8928c808c252f889c215d63843eb1d5a2962cb5f6bda4a58c1515fe4db4f3f41de5a6b42355b70ed5738d
data/.vr_settings.yaml CHANGED
@@ -4,9 +4,19 @@ width: 800
4
4
  height: 600
5
5
  panel_pos: 360
6
6
  notebook_panel_position: 400
7
- run_command_line: ruby main.rb
8
- open_files: []
9
- open_folders: []
10
- current_file: ''
11
- current_line: 1
7
+ run_command_line: ruby vr
8
+ open_files:
9
+ - "/home/eric/vrp/vr3/vr.gemspec"
10
+ - "/home/eric/vrp/vr3/src/version.rb"
11
+ - "/home/eric/vrp/vr3/src/main/RubygemsAPI.rb"
12
+ - "/home/eric/vrp/vr3/lib/Alert.rb"
13
+ - "/home/eric/vrp/vr3/lib/GladeGUI.rb"
14
+ - "/home/eric/vrp/vr3/lib/treeview/ViewCommon.rb"
15
+ open_folders:
16
+ - "/home/eric/vrp/vr3"
17
+ - "/home/eric/vrp/vr3/src"
18
+ current_file: "/home/eric/vrp/vr3/lib/GladeGUI.rb"
19
+ current_line: 370
12
20
  rdoc_command_line: rdoc -x README
21
+ builder: !ruby/object:Gtk::Builder {}
22
+ top_level_window: false
data/lib/GladeGUI.rb CHANGED
@@ -128,8 +128,7 @@ module GladeGUI
128
128
  # @builder[:email].text = @email
129
129
  #
130
130
  def load_glade()
131
- caller__FILE__ = my_class_file_path()
132
- puts "PATH PROBLEM: " + caller__FILE__
131
+ caller__FILE__ = my_class_file_path()
133
132
  file_name = File.join(File.split(caller__FILE__)[0] , "glade", class_name(self) + ".glade")
134
133
  @builder = Gtk::Builder.new
135
134
  @builder << file_name
@@ -364,11 +363,11 @@ puts "PATH PROBLEM: " + caller__FILE__
364
363
  # @private
365
364
  def self.included(obj)
366
365
  lines = caller.select {|line| line.to_s.include? "`<class:" }
367
- puts "lines[0]:" + lines[0] + "<end>"
366
+ #puts "lines[0]:" + lines[0] + "<end>"
368
367
  # caller.each {|a| puts a}
369
368
  temp = lines[0].split(":") #correct for windows C:\Users\george etc.
370
369
  caller_path_to_class_file = temp[0].size == 1 ? temp[0] + ":" + temp[1] : temp[0]
371
- puts "Path_to_class_file: " + caller_path_to_class_file
370
+ #puts "Path_to_class_file: " + caller_path_to_class_file
372
371
  obj.class_eval do
373
372
  define_method :my_class_file_path do
374
373
  return caller_path_to_class_file
@@ -29,13 +29,18 @@ def set_up_key()
29
29
  @builder["dialog1"].hide
30
30
  return unless response_id == 1
31
31
  get_glade_all() #gets @username, @password
32
+ alert(@username + @password)
32
33
  begin
33
34
  @http.start() do |h|
34
35
  req = Net::HTTP::Get.new("/api/v1/api_key.yaml")
36
+ alert("1")
35
37
  req.basic_auth @username, @password
36
- response = h.request(req)
37
- obj = YAML.load(response.body)
38
- key = obj[:rubygems_api_key]
38
+ response = h.request(req)
39
+ alert("2")
40
+ alert(response)
41
+ obj = YAML.unsecure_load(response.body)
42
+ key = obj[:rubygems_api_key]
43
+ alert(key)
39
44
  if key
40
45
  File.open(CREDENTIALS_FILE,"w",0600) { |f| f.write(YAML.dump(obj)) }
41
46
  else
data/src/version.rb CHANGED
@@ -1 +1 @@
1
- VERSION = "3.6.2"
1
+ VERSION = "3.6.3"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visualruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.2
4
+ version: 3.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Cunningham
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir:
10
10
  - "."
11
11
  cert_chain: []
12
- date: 2024-09-26 00:00:00.000000000 Z
12
+ date: 2024-09-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gtk3