hash_rocket 0.3.6 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module HashRocket
2
- VERSION = "0.3.6"
2
+ VERSION = "0.3.7"
3
3
  end
data/lib/hash_rocket.rb CHANGED
@@ -44,7 +44,7 @@ private
44
44
  end
45
45
 
46
46
  def self.organize_symbols(text, verbose)
47
- # TODO replace the duplicated regez part to include first_liner symbol to parse
47
+ # TODO replace regex to match "first_line" without duplicated expression (remove OR / flatten )
48
48
  result = text.scan(/([^:]:\w{1,}(\ {1,}|[\ {1,}]?)=>(\ {1,}|[\ ]?))|(^:\w{1,}(\ {1,}|[\ {1,}]?)=>(\ {1,}|[\ ]?))/).flatten
49
49
  text = match_symbols(text, result, verbose) if result
50
50
  text
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hash_rocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-04-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70232002470340 !ruby/object:Gem::Requirement
16
+ requirement: &70364697560380 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70232002470340
24
+ version_requirements: *70364697560380
25
25
  description: find and replace old hash rocket
26
26
  email:
27
27
  - mathieub@4nkh.com