vernacular 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vernacular.rb +5 -3
- data/lib/vernacular/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9508b52673e0c49694898de05274d5fd1a9b0ca9
|
4
|
+
data.tar.gz: 166c7ab5082b86422fcfce27522b6cfe4e08b2e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec927a7f7f7afa393b0a196b5f5aa10771fbb18a9384b290bdc3d49e2730c2feb5d638fa2aea769f564b92117def186faf69c6a2e856ffc0f2cf108b32593c30
|
7
|
+
data.tar.gz: abe8027ee48689dc06e0d20b509ea32cd0759009c062b269909c5b8e79c6909985c7593a374d336753a57ba2d3b2f4b91048dbfcdc08799be446107f6c583cfd
|
data/lib/vernacular.rb
CHANGED
@@ -38,8 +38,6 @@ module Vernacular
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def configure
|
41
|
-
return if @configured
|
42
|
-
|
43
41
|
@modifiers = []
|
44
42
|
yield self
|
45
43
|
|
@@ -50,8 +48,12 @@ module Vernacular
|
|
50
48
|
class << RubyVM::InstructionSequence
|
51
49
|
prepend ::Vernacular::InstructionSequenceMixin
|
52
50
|
end
|
51
|
+
end
|
53
52
|
|
54
|
-
|
53
|
+
# Use every available pre-configured modifier
|
54
|
+
def give_me_all_the_things!
|
55
|
+
@modifiers =
|
56
|
+
Modifiers.constants.map { |constant| Modifiers.const_get(constant).new }
|
55
57
|
end
|
56
58
|
|
57
59
|
def iseq_path_for(source_path)
|
data/lib/vernacular/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vernacular
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Deisz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parser
|