sexp_processor 4.6.0 → 4.6.1

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
  SHA1:
3
- metadata.gz: f975ee007ac41fd5b43349710e01c3b76054708b
4
- data.tar.gz: c77b1d3a11a080df070b3f987703b476603f992b
3
+ metadata.gz: 7ffce3965783a4dbd48fe6587d3f81516a787001
4
+ data.tar.gz: 949deb314e41e4d2b6f5748a356531da78c66794
5
5
  SHA512:
6
- metadata.gz: 02edf0e83cc7752fbe124ce8e69a5b8a7199ac5fb878020d7532dd49b2d333858d044d78e92aec6d15b2429fecc3d69a6d5bb14ea18e30ad74d789eb16a44b8d
7
- data.tar.gz: 69652aa589311f238917f6e62eb769aa19f9a8ca76df815d9cfdc53ad8d1ea79a4357fae224594f04d63bbec14697c45a8e2989e0eabaa8bcd613ac7fd96759a
6
+ metadata.gz: 5209d34f5cc76beccf8040efb225959d9b4fa63b721236b172f2a68ab2ee979e7fa8c711ea0cd5d5ce1770d6cda4442b4c9e229b669695ce7cacccbb0de33886
7
+ data.tar.gz: dd6ad34ec54201fae66c582950123339e68105d7128d17e229d5c64df957d21acabed68bed16b9689f147a0b2f8be5d06744887b89157104c786843eafc15966
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 4.6.1 / 2016-01-21
2
+
3
+ * 1 bug fix:
4
+
5
+ * defs should have a nil node if body is empty.
6
+
1
7
  === 4.6.0 / 2015-05-28
2
8
 
3
9
  * 2 minor enhancements:
data/lib/pt_testcase.rb CHANGED
@@ -1488,19 +1488,21 @@ class ParseTreeTestCase < Minitest::Test
1488
1488
 
1489
1489
  add_tests("defs_empty",
1490
1490
  "Ruby" => "def self.empty\n # do nothing\nend",
1491
- "ParseTree" => s(:defs, s(:self), :empty, s(:args)))
1491
+ "ParseTree" => s(:defs, s(:self), :empty, s(:args), s(:nil)))
1492
1492
 
1493
1493
  add_tests("defs_empty_args",
1494
1494
  "Ruby" => "def self.empty(*)\n # do nothing\nend",
1495
1495
  "ParseTree" => s(:defs, s(:self), :empty,
1496
- s(:args, :*)))
1496
+ s(:args, :*),
1497
+ s(:nil)))
1497
1498
 
1498
1499
  add_tests("defs_expr_wtf",
1499
1500
  "Ruby" => "def (a.b).empty(*)\n # do nothing\nend",
1500
1501
  "ParseTree" => s(:defs,
1501
1502
  s(:call, s(:call, nil, :a), :b),
1502
1503
  :empty,
1503
- s(:args, :*)))
1504
+ s(:args, :*),
1505
+ s(:nil)))
1504
1506
 
1505
1507
  add_tests("dmethod",
1506
1508
  "Ruby" => [Examples, :dmethod_added],
@@ -33,7 +33,7 @@ require 'sexp'
33
33
 
34
34
  class SexpProcessor
35
35
 
36
- VERSION = "4.6.0"
36
+ VERSION = "4.6.1"
37
37
 
38
38
  ##
39
39
  # Automatically shifts off the Sexp type before handing the
@@ -74,10 +74,10 @@ class TestEnvironment < Minitest::Test
74
74
 
75
75
  @env.scope do
76
76
  @env[:var] = Math::PI
77
- assert_equal Math::PI, @env[:var]
77
+ assert_in_epsilon Math::PI, @env[:var]
78
78
  end
79
79
 
80
- assert_equal Math::PI, @env[:var]
80
+ assert_in_epsilon Math::PI, @env[:var]
81
81
  end
82
82
 
83
83
  def test_current_shadow
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sexp_processor
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 4.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -10,9 +10,9 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MR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+ bd9Cymf6oIRwHVarJux2M32T6bL07Hmi07w2QaPc3MnMKB/D46SRZ2JSSGPFRBTc
27
+ SilobMRoGs/7B15uGFUEnNrCB/ltMqhwwSx1r++UQPfeySHEV9uqu03E5Vb7J37O
28
+ 2Er6PLXHRiYsIycD1LkMi6YnixdITRHmrqJYE2rsjaIfpIehiusVAPHkNf7qbpHq
29
+ qx3h45R1CAsObX0SQDIT+rRbQrtKz1GHIZTOFYvEJjUY1XmRTZupD3CJ8Q7sDqSy
30
+ NLq5jm1fq6Y9Uolu3RJbmycf
31
31
  -----END CERTIFICATE-----
32
- date: 2015-05-28 00:00:00.000000000 Z
32
+ date: 2016-01-21 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: minitest
@@ -37,14 +37,14 @@ dependencies:
37
37
  requirements:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: '5.7'
40
+ version: '5.8'
41
41
  type: :development
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '5.7'
47
+ version: '5.8'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rdoc
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -65,14 +65,14 @@ dependencies:
65
65
  requirements:
66
66
  - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: '3.13'
68
+ version: '3.14'
69
69
  type: :development
70
70
  prerelease: false
71
71
  version_requirements: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: '3.13'
75
+ version: '3.14'
76
76
  description: |-
77
77
  sexp_processor branches from ParseTree bringing all the generic sexp
78
78
  processing tools with it. Sexp, SexpProcessor, Environment, etc... all
@@ -86,7 +86,6 @@ extra_rdoc_files:
86
86
  - Manifest.txt
87
87
  - README.txt
88
88
  files:
89
- - .gemtest
90
89
  - History.txt
91
90
  - Manifest.txt
92
91
  - README.txt
metadata.gz.sig CHANGED
Binary file
data/.gemtest DELETED
File without changes