utopia 1.2.3 → 1.2.4

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: 015ec482d8717b045b3d2cc12802afaf93b65560
4
- data.tar.gz: 4a96d5699bc6bdb5398417dd518232a6b7798214
3
+ metadata.gz: 64d5f1e4253c9897c60653875847c8c0b7497f8a
4
+ data.tar.gz: 7f5274d1ecaaa468bc18540064eb90264308a5eb
5
5
  SHA512:
6
- metadata.gz: 5e7f158a4aa3a175b9fc0c0b5686a1b7bb190e2d66018ca7f6f56523ba9d136ef373bd9089ec9ed0999503ba37815dbe3d6c3967a5f5e1bc5da7cca91ab78090
7
- data.tar.gz: 4ee41e67fa41687bcd379b534c8c2a04947c9838da952aa3b93d448b674d0d059423f239ee6ce8ace1507ae67947ebab61d21be2c663a8f7c1b87913170759a9
6
+ metadata.gz: 0cfe6d3f1de41eb4b130c260f8887b3d0999a34adcc2f21d536911c7b0cf45248e9144667ba3e49801dda4a00d3233361b99e4fdf8dfadeaf9bef33a577d8261
7
+ data.tar.gz: 143c2122e743a6e0bba403011319482a85275e6c442ca381306e19314ec34e66b9d8f1104010be209aad5ea16b368e88a00cc184003498e8fa0ff3e39d5f5e13
@@ -39,8 +39,8 @@ module Utopia
39
39
  @current_tag = current_tag
40
40
  @closing_tag = closing_tag
41
41
 
42
- @starting_line = Trenni::Parser.line_at_offset(@scanner.string, @start_position)
43
- @ending_line = Trenni::Parser.line_at_offset(@scanner.string, @scanner.pos)
42
+ @starting_line = Trenni::Parser::Location.new(@scanner.string, @start_position)
43
+ @ending_line = Trenni::Parser::Location.new(@scanner.string, @scanner.pos)
44
44
  end
45
45
 
46
46
  attr :scanner
@@ -49,7 +49,7 @@ module Utopia
49
49
  attr :closing_tag
50
50
 
51
51
  def to_s
52
- "Unbalanced Tag Error. Line #{@starting_line[:line_number]}: #{@current_tag} has been closed by #{@closing_tag} on line #{@ending_line[:line_number]}!"
52
+ "Unbalanced Tag Error. Line #{@starting_line}: #{@current_tag} has been closed by #{@closing_tag} on line #{@ending_line}!"
53
53
  end
54
54
  end
55
55
 
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Utopia
22
- VERSION = "1.2.3"
22
+ VERSION = "1.2.4"
23
23
  end
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.required_ruby_version = '~> 2.0'
26
26
 
27
- spec.add_dependency 'trenni', '~> 1.4.1'
27
+ spec.add_dependency 'trenni', '~> 1.4.5'
28
28
  spec.add_dependency 'mime-types', '~> 2.0'
29
29
 
30
30
  spec.add_dependency 'rack', '~> 1.6'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utopia
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-10 00:00:00.000000000 Z
11
+ date: 2016-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trenni
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.4.1
19
+ version: 1.4.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.4.1
26
+ version: 1.4.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mime-types
29
29
  requirement: !ruby/object:Gem::Requirement