inline_template_loader 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/.rspec CHANGED
@@ -1 +1 @@
1
- -c -fd
1
+ -fd -c --require=spec_helper
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # InlineTemplateLoader
2
2
 
3
+ [![Build Status](https://travis-ci.org/yuya-takeyama/inline_template_loader.png?branch=master)](https://travis-ci.org/yuya-takeyama/inline_template_loader)
4
+ [![Coverage Status](https://coveralls.io/repos/yuya-takeyama/inline_template_loader/badge.png?branch=master)](https://coveralls.io/r/yuya-takeyama/inline_template_loader)
5
+
3
6
  Loads Sinatraish inline template
4
7
 
5
8
  ## Installation
@@ -19,4 +19,5 @@ Gem::Specification.new do |gem|
19
19
  gem.add_development_dependency('guard-rspec', '~> 2.5.0')
20
20
  gem.add_development_dependency('rb-readline', '~> 0.4.2')
21
21
  gem.add_development_dependency('rb-fsevent', '~> 0.9')
22
+ gem.add_development_dependency "coveralls", "~> 0.6.4"
22
23
  end
@@ -4,7 +4,7 @@ module InlineTemplateLoader
4
4
  def self.load(arg = nil)
5
5
  if arg.is_a? ::Integer
6
6
  caller_pos = arg
7
- elsif
7
+ else
8
8
  caller_pos = 0
9
9
  end
10
10
 
@@ -1,3 +1,3 @@
1
1
  module InlineTemplateLoader
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -1,5 +1,3 @@
1
- require 'inline_template_loader'
2
-
3
1
  describe 'InlineTemplateLoader' do
4
2
  let(:fixtures_dir) { File.expand_path('../fixtures', File.dirname(__FILE__)) }
5
3
  let(:external_file) { fixtures_dir + '/external_file.rb' }
@@ -0,0 +1,3 @@
1
+ require 'coveralls'
2
+ Coveralls.wear!
3
+ require 'inline_template_loader'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_template_loader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-16 00:00:00.000000000 Z
12
+ date: 2013-04-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -75,6 +75,22 @@ dependencies:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0.9'
78
+ - !ruby/object:Gem::Dependency
79
+ name: coveralls
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 0.6.4
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.6.4
78
94
  description: Loads inline template as a Hash
79
95
  email:
80
96
  - sign.of.the.wolf.pentagram@gmail.com
@@ -98,6 +114,7 @@ files:
98
114
  - spec/fixtures/external_file.rb
99
115
  - spec/fixtures/external_file_without_templates.rb
100
116
  - spec/lib/inline_template_loader_spec.rb
117
+ - spec/spec_helper.rb
101
118
  homepage: ''
102
119
  licenses: []
103
120
  post_install_message:
@@ -112,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
129
  version: '0'
113
130
  segments:
114
131
  - 0
115
- hash: 2025653954573289953
132
+ hash: -2998869442783346883
116
133
  required_rubygems_version: !ruby/object:Gem::Requirement
117
134
  none: false
118
135
  requirements:
@@ -121,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
138
  version: '0'
122
139
  segments:
123
140
  - 0
124
- hash: 2025653954573289953
141
+ hash: -2998869442783346883
125
142
  requirements: []
126
143
  rubyforge_project:
127
144
  rubygems_version: 1.8.23
@@ -133,3 +150,4 @@ test_files:
133
150
  - spec/fixtures/external_file.rb
134
151
  - spec/fixtures/external_file_without_templates.rb
135
152
  - spec/lib/inline_template_loader_spec.rb
153
+ - spec/spec_helper.rb