tram-page 0.1.1 → 0.1.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: 375d5937b0f9c997aa2cd574e06c8f8899310e17
4
- data.tar.gz: 629dd6b504f6ba91a71a52a4e33dd665ff1cfaee
3
+ metadata.gz: 3e6f890492190b88aa4e356208fab524e810fd85
4
+ data.tar.gz: a4ee37fe4e2cc9ecbc9998015c8bff2b8c42bcba
5
5
  SHA512:
6
- metadata.gz: a4b84cb6c46012e27c73d637abcce63a78c915210ffa93e923bec41314f546daaafaf84af668a4671c26c6be9676755ebf1de42ef722f0d4dc1e924e2f562b34
7
- data.tar.gz: ec1fd25fba5e7e5aa0b74f94b0b20361c237b8e7a48c817857c655ac8e690f88a8d48678f9cd5525f68bbf6b262683fee5820a687e252b0e17a22c07eb1788ed
6
+ metadata.gz: 740b34535c4e5084d0683bf5b6d8a99b1b2938ba8ba97f25e1cc118d2bdc026f38262f3113db21f46e8d35d5fdb74edc93add3234782d3691ba62450ec75649e
7
+ data.tar.gz: 5ee8db1856d0e06a39d71101ef2758c86a3374af212e6b856b99b7cb0f233a78b8b552eccc274f620ef97f497cb18b92c74fbd8255142a59ba1a5c6579bf8980
@@ -3,6 +3,6 @@
3
3
  # rubocop:disable Style/ClassAndModuleChildren
4
4
  module Tram
5
5
  class Page
6
- VERSION = "0.1.1"
6
+ VERSION = "0.1.2"
7
7
  end
8
8
  end
data/lib/tram/page.rb CHANGED
@@ -9,7 +9,7 @@ class Tram::Page
9
9
  def section(name, options = {})
10
10
  @__sections ||= []
11
11
 
12
- n = name.dup.to_sym
12
+ n = name.to_sym
13
13
  if @__sections.map(&:first).include?(n)
14
14
  raise "Section #{n} already exists"
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tram-page
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Viktor Sokolov