sexpistol 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/{ruby.yml → build.yml} +0 -0
- data/README.md +1 -1
- data/lib/sexpistol/parser.rb +2 -2
- data/lib/sexpistol/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c36941d9da82ca386be18aaba9fcea89d742b28a6a6ff9617967187bf99f88ed
|
4
|
+
data.tar.gz: a2c621597fa0fff8217e7f1a5f85d5b87c2888b8ccb4a8b54bc0f48618785872
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eba95203d5f768aa0cbf5be24fa4d23a86adad03eb00e2bc7191dc08bf049788fdd306fde8c97bd13f47136bc3deb91670a37d5e48421ac9e2b94a7fe644ed8
|
7
|
+
data.tar.gz: 61938f7c6826683bd3514a51941a45d01ca514ea2bd153329185da7604213e7ce12b3585bee666ea48196e3c8d0150c53b7536e1a5093e30e67f700e73564c9d
|
File without changes
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
[![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop)
|
2
|
-
![Actions Status](https://github.com/aarongough/sexpistol/actions/workflows/
|
2
|
+
[![Actions Status](https://github.com/aarongough/sexpistol/actions/workflows/build.yml/badge.svg)](https://github.com/aarongough/sexpistol/actions/workflows/build.yml)
|
3
3
|
[![Maintainability](https://api.codeclimate.com/v1/badges/a5ce9269a7b23614103c/maintainability)](https://codeclimate.com/github/aarongough/sexpistol/maintainability)
|
4
4
|
[![Test Coverage](https://api.codeclimate.com/v1/badges/a5ce9269a7b23614103c/test_coverage)](https://codeclimate.com/github/aarongough/sexpistol/test_coverage)
|
5
5
|
[![Gem Version](https://badge.fury.io/rb/sexpistol.svg)](https://badge.fury.io/rb/sexpistol)
|
data/lib/sexpistol/parser.rb
CHANGED
@@ -6,8 +6,8 @@ class Sexpistol
|
|
6
6
|
class Parser < StringScanner
|
7
7
|
PARANTHESES = /[()]/.freeze
|
8
8
|
STRING = /"([^"\\]|\\.)*"/.freeze
|
9
|
-
FLOAT = /[\-+]? [0-9]+ ((e[0-9]+) | (\.[0-9]+(e[0-9]+)?)) [\s()]/x.freeze
|
10
|
-
INTEGER = /[\-+]?[0-9]+[\s()]/.freeze
|
9
|
+
FLOAT = /[\-+]? [0-9]+ ((e[0-9]+) | (\.[0-9]+(e[0-9]+)?)) (?=[\s()])/x.freeze
|
10
|
+
INTEGER = /([\-+]?[0-9]+)(?=[\s()])/.freeze
|
11
11
|
SYMBOL = /[^0-9()\s]+[^()\s]*/.freeze
|
12
12
|
|
13
13
|
def initialize(string)
|
data/lib/sexpistol/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sexpistol
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Gough
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -60,7 +60,7 @@ executables: []
|
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
-
- ".github/workflows/
|
63
|
+
- ".github/workflows/build.yml"
|
64
64
|
- ".gitignore"
|
65
65
|
- ".rspec"
|
66
66
|
- ".rubocop.yml"
|