yampla 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/bin/yampla CHANGED
@@ -38,6 +38,8 @@ files = Dir['*']
38
38
 
39
39
  yaml = opts[:yaml] || files.detect { |f| f.match /\w+\.(yaml|yml)$/ }
40
40
 
41
+ abort "YAML file not found" unless yaml
42
+
41
43
  ya = Yampla::Build.new(yaml)
42
44
  ya.set_template(:index, opts[:index])
43
45
  ya.set_template(:items, opts[:item])
@@ -1,3 +1,3 @@
1
1
  module Yampla
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/yampla.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.email = ["postagie@gmail.com"]
11
11
  gem.description = %q{Build List & Item pages from YAML data with a template engine}
12
12
  gem.summary = %q{Build List & Item pages from YAML data with a template engine}
13
- gem.homepage = ""
13
+ gem.homepage = "https://github.com/melborne/yampla"
14
14
 
15
15
  gem.files = `git ls-files`.split($/)
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yampla
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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-01-14 00:00:00.000000000 Z
12
+ date: 2013-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -116,7 +116,7 @@ files:
116
116
  - spec/build_spec.rb
117
117
  - spec/spec_helper.rb
118
118
  - yampla.gemspec
119
- homepage: ''
119
+ homepage: https://github.com/melborne/yampla
120
120
  licenses: []
121
121
  post_install_message:
122
122
  rdoc_options: []