sinatra-mustache 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,36 +1,39 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sinatra-mustache (0.0.2)
5
- mustache (~> 0.99.3)
6
- sinatra (~> 1.2.3)
7
- tilt (~> 1.2.2)
4
+ sinatra-mustache (0.0.3)
5
+ mustache (~> 0.99)
6
+ sinatra (~> 1.3, ~> 1.2)
7
+ tilt (~> 1.3, ~> 1.2)
8
8
 
9
9
  GEM
10
10
  remote: http://rubygems.org/
11
11
  specs:
12
- diff-lcs (1.1.2)
13
- mustache (0.99.3)
14
- rack (1.2.1)
15
- rack-test (0.5.6)
12
+ diff-lcs (1.1.3)
13
+ mustache (0.99.4)
14
+ rack (1.4.1)
15
+ rack-protection (1.2.0)
16
+ rack
17
+ rack-test (0.6.1)
16
18
  rack (>= 1.0)
17
- rspec (2.2.0)
18
- rspec-core (~> 2.2)
19
- rspec-expectations (~> 2.2)
20
- rspec-mocks (~> 2.2)
21
- rspec-core (2.2.1)
22
- rspec-expectations (2.2.0)
19
+ rspec (2.8.0)
20
+ rspec-core (~> 2.8.0)
21
+ rspec-expectations (~> 2.8.0)
22
+ rspec-mocks (~> 2.8.0)
23
+ rspec-core (2.8.0)
24
+ rspec-expectations (2.8.0)
23
25
  diff-lcs (~> 1.1.2)
24
- rspec-mocks (2.2.0)
25
- sinatra (1.2.3)
26
- rack (~> 1.1)
27
- tilt (< 2.0, >= 1.2.2)
28
- tilt (1.2.2)
26
+ rspec-mocks (2.8.0)
27
+ sinatra (1.3.2)
28
+ rack (~> 1.3, >= 1.3.6)
29
+ rack-protection (~> 1.2)
30
+ tilt (~> 1.3, >= 1.3.3)
31
+ tilt (1.3.3)
29
32
 
30
33
  PLATFORMS
31
34
  ruby
32
35
 
33
36
  DEPENDENCIES
34
- rack-test (~> 0.5.6)
35
- rspec (~> 2.2.0)
37
+ rack-test (~> 0.6)
38
+ rspec (~> 2.8)
36
39
  sinatra-mustache!
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module Mustache
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -20,7 +20,7 @@ module Tilt
20
20
  yaml = $2.strip
21
21
  template = data.sub($1, '')
22
22
 
23
- YAML.each_document(yaml) do |front_matter|
23
+ YAML.load_documents(yaml) do |front_matter|
24
24
  # allows partials to override locals defined higher up
25
25
  front_matter.delete_if { |key,value| locals.has_key?(key)}
26
26
  locals.merge!(front_matter)
@@ -19,10 +19,10 @@ Gem::Specification.new do |s|
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_dependency 'sinatra', '~> 1.2.3'
23
- s.add_dependency 'mustache', '~> 0.99.3'
24
- s.add_dependency 'tilt', '~> 1.2.2'
22
+ s.add_dependency 'sinatra', '~> 1.2', '~> 1.3'
23
+ s.add_dependency 'mustache', '~> 0.99'
24
+ s.add_dependency 'tilt', '~> 1.2', '~> 1.3'
25
25
 
26
- s.add_development_dependency 'rspec', '~> 2.2.0'
27
- s.add_development_dependency 'rack-test', '~> 0.5.6'
26
+ s.add_development_dependency 'rspec', '~> 2.8'
27
+ s.add_development_dependency 'rack-test', '~> 0.6'
28
28
  end
metadata CHANGED
@@ -1,83 +1,84 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sinatra-mustache
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.4
4
5
  prerelease:
5
- version: 0.0.3
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Jason Campbell
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-04-18 00:00:00 -07:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2012-03-02 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: sinatra
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70361526468220 !ruby/object:Gem::Requirement
20
17
  none: false
21
- requirements:
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '1.2'
22
22
  - - ~>
23
- - !ruby/object:Gem::Version
24
- version: 1.2.3
23
+ - !ruby/object:Gem::Version
24
+ version: '1.3'
25
25
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: mustache
29
26
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
27
+ version_requirements: *70361526468220
28
+ - !ruby/object:Gem::Dependency
29
+ name: mustache
30
+ requirement: &70361526467140 !ruby/object:Gem::Requirement
31
31
  none: false
32
- requirements:
32
+ requirements:
33
33
  - - ~>
34
- - !ruby/object:Gem::Version
35
- version: 0.99.3
34
+ - !ruby/object:Gem::Version
35
+ version: '0.99'
36
36
  type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: tilt
40
37
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
38
+ version_requirements: *70361526467140
39
+ - !ruby/object:Gem::Dependency
40
+ name: tilt
41
+ requirement: &70361526466500 !ruby/object:Gem::Requirement
42
42
  none: false
43
- requirements:
43
+ requirements:
44
44
  - - ~>
45
- - !ruby/object:Gem::Version
46
- version: 1.2.2
45
+ - !ruby/object:Gem::Version
46
+ version: '1.2'
47
+ - - ~>
48
+ - !ruby/object:Gem::Version
49
+ version: '1.3'
47
50
  type: :runtime
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: rspec
51
51
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
52
+ version_requirements: *70361526466500
53
+ - !ruby/object:Gem::Dependency
54
+ name: rspec
55
+ requirement: &70361526465620 !ruby/object:Gem::Requirement
53
56
  none: false
54
- requirements:
57
+ requirements:
55
58
  - - ~>
56
- - !ruby/object:Gem::Version
57
- version: 2.2.0
59
+ - !ruby/object:Gem::Version
60
+ version: '2.8'
58
61
  type: :development
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: rack-test
62
62
  prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
63
+ version_requirements: *70361526465620
64
+ - !ruby/object:Gem::Dependency
65
+ name: rack-test
66
+ requirement: &70361526465020 !ruby/object:Gem::Requirement
64
67
  none: false
65
- requirements:
68
+ requirements:
66
69
  - - ~>
67
- - !ruby/object:Gem::Version
68
- version: 0.5.6
70
+ - !ruby/object:Gem::Version
71
+ version: '0.6'
69
72
  type: :development
70
- version_requirements: *id005
73
+ prerelease: false
74
+ version_requirements: *70361526465020
71
75
  description: Use Mustache in your Sinatra app without the extra view classes
72
- email:
76
+ email:
73
77
  - jason@greatergood.cc
74
78
  executables: []
75
-
76
79
  extensions: []
77
-
78
80
  extra_rdoc_files: []
79
-
80
- files:
81
+ files:
81
82
  - .gitignore
82
83
  - Gemfile
83
84
  - Gemfile.lock
@@ -98,35 +99,31 @@ files:
98
99
  - spec/views/layout_too.mustache
99
100
  - spec/views/needs_partial.mustache
100
101
  - spec/views/yaml.mustache
101
- has_rdoc: true
102
102
  homepage: http://github.com/jxson/sinatra-mustache
103
103
  licenses: []
104
-
105
104
  post_install_message:
106
105
  rdoc_options: []
107
-
108
- require_paths:
106
+ require_paths:
109
107
  - lib
110
- required_ruby_version: !ruby/object:Gem::Requirement
108
+ required_ruby_version: !ruby/object:Gem::Requirement
111
109
  none: false
112
- requirements:
113
- - - ">="
114
- - !ruby/object:Gem::Version
115
- version: "0"
116
- required_rubygems_version: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ! '>='
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
117
115
  none: false
118
- requirements:
119
- - - ">="
120
- - !ruby/object:Gem::Version
121
- version: "0"
116
+ requirements:
117
+ - - ! '>='
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
122
120
  requirements: []
123
-
124
121
  rubyforge_project: sinatra-mustache
125
- rubygems_version: 1.6.2
122
+ rubygems_version: 1.8.6
126
123
  signing_key:
127
124
  specification_version: 3
128
125
  summary: Use Mustache in your Sinatra app without the extra view classes
129
- test_files:
126
+ test_files:
130
127
  - spec/mustache_spec.rb
131
128
  - spec/mustache_template_spec.rb
132
129
  - spec/request_helper.rb