ruby-debug-ide 0.4.24 → 0.4.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDBhNGYzNTQ4NTI0MmE1YTgxM2M3N2IyMjM4MmE4ZmFmZmExMzllOQ==
4
+ OGQ3YTczMTAwZTAxZGFlM2I5NDgyNjlhMzQ0ZjgxMzliMjVmNGM2Yg==
5
5
  data.tar.gz: !binary |-
6
- NTU1M2U5M2U5NzFiM2JmZDMwZTgwNjJhMWFkNGI2ZWI2MTJkYjFmMw==
6
+ MTY0ZWQzNmZjMjE5MmUxZjdhZjA3N2M4ZWFjYTE5ZDZmMjQ5Njc4Mw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTQ2NWJhMmQxYzk2MjE3NGU2NDExYjYzMjE3Y2M5MzU4MmI4ODVlZDA5ZDE3
10
- NGIyYTE0ZTY3ZjJiOTViY2VlM2IwYmY2M2FjYWJhYTExZjhjZGM2YWQ0OTA1
11
- MWRkNzQwYTAzMjYwYTZlMjQzODllMzNjZWNiODM1NDU5OGI5MjY=
9
+ OTlmZTU5ODNhZDUwZTJhYzA0MjM1ZTZkMDRiYzAxMzlkOTQ4ZjIzODhiODRm
10
+ ZDMyODJkYTNmZTg3NmRjZmQ0MWMxY2RlYjU2OWY3ZDY2NDRlZjc2ZGQyMmFm
11
+ YjJlNWRhOWFmODY0MjMyNjE3NDc5MzNjNGUzZGRjZjU3MGNmZGI=
12
12
  data.tar.gz: !binary |-
13
- NDU3MTc4ZGQ1NjJiZGRhZmQwMGJkZTQ0MGZlMjliZTk4NDBhNmQwMDA5ZTE1
14
- OWM5NGZhY2ZiMDgyZGRmNGM5MzA5ZDgxNzBiYjQxMjcxM2ZhMmI5OWFmNTBj
15
- MGU4Y2ZkOWI5NTNkOTlhNWZiYjFlNGZlNmQ3OWJhNzM2MzE4NTI=
13
+ YmU5MzZlMTIzNGM1YTg5OTM0YTU4ZmFhMGU3MzAxMGUxMzk4NWI4YzJlOTZk
14
+ YmE1YTk5ODIzYzNmODZhZGNhYzllYjFlNjQ3MjU5MWIzYTg0OWVjMWJjZmZi
15
+ MmU0ZjdlYzRmMTQ4NTJlZmYxYzAzNGNlN2YxNDNlMWExMTBmMjk=
@@ -1,3 +1,8 @@
1
+ ## [0.4.25](https://github.com/ruby-debug/ruby-debug-ide/compare/v0.4.24...v0.4.25)
2
+
3
+ * Let's use String#inspect in print variable for String variables
4
+ [RUBY-16192](https://youtrack.jetbrains.com/issue/RUBY-16192)
5
+
1
6
  ## [0.4.24](https://github.com/ruby-debug/ruby-debug-ide/compare/v0.4.24.beta5...v0.4.24)
2
7
 
3
8
  * time to release
@@ -28,7 +33,7 @@
28
33
 
29
34
  ## [0.4.23.beta9](https://github.com/ruby-debug/ruby-debug-ide/compare/v0.4.23.beta8...v0.4.23.beta9)
30
35
 
31
- * problem with calculating local varibales for 1.8 fixed
36
+ * problem with calculating local variables for 1.8 fixed
32
37
 
33
38
  ## "per-historical" changes
34
39
  Dennis Ushakov <dennis.ushakov@gmail.com>
@@ -80,11 +80,11 @@ module Debugger
80
80
  obj = debug_eval(@match.post_match)
81
81
  end
82
82
  return unless obj
83
- if (obj.is_a?(Array)) then
83
+ if obj.is_a?(Array)
84
84
  print_array(obj)
85
- elsif (obj.is_a?(Hash)) then
85
+ elsif obj.is_a?(Hash)
86
86
  print_hash(obj)
87
- elsif (obj.is_a?(String))
87
+ elsif obj.is_a?(String)
88
88
  print_string(obj)
89
89
  else
90
90
  print_element("variables") do
@@ -1,3 +1,3 @@
1
1
  module Debugger
2
- IDE_VERSION='0.4.24'
2
+ IDE_VERSION='0.4.25'
3
3
  end
@@ -154,7 +154,7 @@ module Debugger
154
154
  end
155
155
  elsif value.is_a?(String)
156
156
  has_children = value.respond_to?('bytes') || value.respond_to?('encoding')
157
- value_str = value
157
+ value_str = value.inspect
158
158
  else
159
159
  has_children = !value.instance_variables.empty? || !value.class.class_variables.empty?
160
160
  value_str = value.to_s || 'nil' rescue "<#to_s method raised exception: #{$!}>"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-debug-ide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.24
4
+ version: 0.4.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Barchfeld, Martin Krauskopf, Mark Moseley, JetBrains RubyMine Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-16 00:00:00.000000000 Z
11
+ date: 2015-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake