proc_source 1.0.0 → 1.0.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: 6fe8043cfcce870c3509c2e56c6cb51cc0eb44be
4
- data.tar.gz: b34817a31ce5bf8a07f4789afd8b0e9ba884b4e7
3
+ metadata.gz: f0a72a30c5bb96b63cedff39df7f3185c94d14c7
4
+ data.tar.gz: 12f58ec38d082537c32001a838a716ef2f85ec2c
5
5
  SHA512:
6
- metadata.gz: 5f8a1f34b39b1205e9d4457b159c8711e0ece409a861e3ab2342705730f1d4d9a80102dbe0c857fc2385d6c5ba76f1df4734cffd95debae79e44b82984fca647
7
- data.tar.gz: d09852136f0e14c73950bab3629623a71af2339c302ebd8f95f56c9351f5a8c01859961380f68513263b1d262b55168699e1ff4a608dbb561f2c602c7276583c
6
+ metadata.gz: f035a92a0ce37e10e97e130763a508ccb7b1110a5ff9e0bf3602e58803c9f0bc639b1fbed45d881c3fbb1684d03c861f1624442a7edb5aa61ece0f5948ff9641
7
+ data.tar.gz: f6711768bba6ba61758af85031a9a2eb6f79a6496813e47080ef596823501a130b7182f2f62be511c958b4f90fc435c5f6f1732433a13cfa3d320cd935da8a9b
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/.travis.yml CHANGED
@@ -1,5 +1,7 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
+ - 2.2.7
5
+ - 2.3.5
4
6
  - 2.4.2
5
7
  before_install: gem install bundler -v 1.15.4
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status](https://travis-ci.org/siman-man/proc_source.svg?branch=master)](https://travis-ci.org/siman-man/proc_source)
2
+
1
3
  # proc_source
2
4
 
3
5
  get the sourcecode for a Proc object
data/lib/proc_source.rb CHANGED
@@ -27,6 +27,7 @@ class Proc
27
27
  _pos, event, ident = *token
28
28
  return true if event == :on_const && ident == "Proc"
29
29
  return true if event == :on_ident && ident == "lambda"
30
+ return true if event == :on_ident && ident == "proc"
30
31
  return true if event == :on_kw && ident == "do"
31
32
  return true if event == :on_lbrace
32
33
  return true if event == :on_tlambda
@@ -1,3 +1,3 @@
1
1
  module ProcSource
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proc_source
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - siman-man
metadata.gz.sig CHANGED
Binary file