indentation-parser 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "indentation-parser"
5
- gem.version = "1.0.1"
5
+ gem.version = "1.0.2"
6
6
 
7
7
  gem.authors = ["Samuel Müller"]
8
8
  gem.email = ["mueller.samu@gmail.com"]
@@ -1,4 +1,3 @@
1
- require "indentation-parser/version"
2
1
  require "indentation-parser/node"
3
2
  require "indentation-parser/hooks"
4
3
  require "indentation-parser/handlers"
@@ -40,7 +39,7 @@ class IndentationParser
40
39
 
41
40
  elsif new_node.indentation() - 1 > previous_node.indentation
42
41
  #too large indentation -> raise an error
43
- raise "ou neei"
42
+ raise "Invalid indentation"
44
43
 
45
44
  else
46
45
  #indentation is less than previous node.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indentation-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: