epos 0.9.0 → 0.9.1

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: 679e7c68c7be68aa97960e0f8733b4fa5f4f2cfd
4
- data.tar.gz: e18c4cbb778da59d4a49eaccfa5fc0c2202215c5
3
+ metadata.gz: 3cbf146806e3244059db95495a438431ef768545
4
+ data.tar.gz: fc3d8f544f4eb79c45c5996584865a9618d0f026
5
5
  SHA512:
6
- metadata.gz: cf51f607cb716337b9a9bb654cb2b85b619749824ccd5821023ccab82b708c147fa12872b3a1d972c26b7918009bd5ed86b0657026806f4b663eac6aea9644f2
7
- data.tar.gz: 7c73d4934a136731d6bbe375cc6ad73ce7d516d5bfb87de724f3d60b492e6e692dc8b13864b8f9f839858269ce4de59ee2b8590b48a869eb09b80dbad6452013
6
+ metadata.gz: 7e70b0fbca1be37fadb0db6dab88bbf0b2af12d97c7e3457fad180a27b8a5dcb9e01691cefa9d9d6f84141bf805c8cd57fc98619ceb0346bb4af874f5b4df996
7
+ data.tar.gz: e0e7166bf7b34983023f5535011a7e75b42d3dcb855fb25bca5eb1cf74475229458e0039174d4aec47a64ced69e41aaf03a6ed3d267d9a7fe75b130cd65dbfb2
data/epos.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'epos'
4
- s.version = '0.9.0'
4
+ s.version = '0.9.1'
5
5
  s.date = '2014-09-05'
6
6
  s.summary = "Access to the Houaiss dictionary data files"
7
7
  s.description = "Provides access to the Houaiss dictionary data files. Entries can be exported as HTML."
@@ -16,5 +16,8 @@ Gem::Specification.new do |s|
16
16
  Dir["lib/**/*.css"] +
17
17
  Dir["examples/**/*.rb"]
18
18
 
19
- s.add_dependency 'slim', '>= 2.0.0'
19
+ s.required_ruby_version = '~> 2.0'
20
+
21
+ s.add_runtime_dependency 'slim', '~> 2.0', '>= 2.0.0'
22
+ s.add_runtime_dependency 'tilt', '< 2'
20
23
  end
@@ -29,7 +29,8 @@ module Epos
29
29
  slim = Tilt["slim"]
30
30
 
31
31
  @templates = [:extra_tab, :symbols_tab, :idioms_tab, :senses_tab, :defins, :defin_body, :attrs, :headword, :entry]
32
- @templates = @templates.map{|sym| [sym, slim.new(File.join(@html_base, sym.to_s.gsub(/_/, "-") + ".slim"))]}.to_h
32
+ @templates = @templates.map{|sym| [sym, slim.new(File.join(@html_base, sym.to_s.gsub(/_/, "-") + ".slim"))]}
33
+ @templates = Hash[@templates]
33
34
  end
34
35
 
35
36
  def render(item, data)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adiel Mittmann
@@ -14,6 +14,9 @@ dependencies:
14
14
  name: slim
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
17
20
  - - ">="
18
21
  - !ruby/object:Gem::Version
19
22
  version: 2.0.0
@@ -21,9 +24,26 @@ dependencies:
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '2.0'
24
30
  - - ">="
25
31
  - !ruby/object:Gem::Version
26
32
  version: 2.0.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: tilt
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "<"
38
+ - !ruby/object:Gem::Version
39
+ version: '2'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '2'
27
47
  description: Provides access to the Houaiss dictionary data files. Entries can be
28
48
  exported as HTML.
29
49
  email: adiel@mittmann.net.br
@@ -80,9 +100,9 @@ require_paths:
80
100
  - lib
81
101
  required_ruby_version: !ruby/object:Gem::Requirement
82
102
  requirements:
83
- - - ">="
103
+ - - "~>"
84
104
  - !ruby/object:Gem::Version
85
- version: '0'
105
+ version: '2.0'
86
106
  required_rubygems_version: !ruby/object:Gem::Requirement
87
107
  requirements:
88
108
  - - ">="