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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 552dab9651e6e6fb7732220f14ab9c1efd5b92a0
4
- data.tar.gz: 60ec95cc675a2e7f68d5e2e06d7cfffa0ffa9c40
3
+ metadata.gz: 9508b52673e0c49694898de05274d5fd1a9b0ca9
4
+ data.tar.gz: 166c7ab5082b86422fcfce27522b6cfe4e08b2e9
5
5
  SHA512:
6
- metadata.gz: 17f64c2e0948369a0004e058a0fb6f131f832f8a43f9ff601a34ba74f6855dd63b93ef6da3a711170c21d485e598763e303bbeb929596e44e0e5cbc831b5d21b
7
- data.tar.gz: f7d4ad0f7ee1b41f97e2d50da16f6fdd1abdcde2f3ba354c5423052d912398f8a391b5b48c25ca5f1fbbd1dd1ae03aaef50d2400b73c7a453ae3ad7f6c7e3ca3
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
- @configured = true
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)
@@ -1,3 +1,3 @@
1
1
  module Vernacular
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.0.2'.freeze
3
3
  end
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.1
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-09 00:00:00.000000000 Z
11
+ date: 2017-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser