sinatra_more 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- # $ rake version:bump:patch release
1
+ # $ rake version:bump:patch release
2
2
 
3
3
  require 'rubygems'
4
4
  require 'rake'
@@ -12,13 +12,14 @@ begin
12
12
  gem.email = "nesquena@gmail.com"
13
13
  gem.homepage = "http://github.com/nesquena/sinatra_more"
14
14
  gem.authors = ["Nathan Esquenazi"]
15
- gem.add_runtime_dependency "sinatra", ">= 0.9.2"
16
- gem.add_runtime_dependency "activesupport", ">= 2.2.2"
17
- gem.add_runtime_dependency "warden", ">= 0.5.0"
18
- gem.add_development_dependency "shoulda", ">= 2.10.2"
19
- gem.add_development_dependency "mocha", ">= 0.9.8"
20
- gem.add_development_dependency "rack-test", ">= 0.5.0"
21
- gem.add_development_dependency "webrat", ">= 0.5.3"
15
+ gem.add_runtime_dependency "sinatra", ">= 0.9.2"
16
+ gem.add_runtime_dependency "activesupport", ">= 2.2.2"
17
+ gem.add_runtime_dependency "warden", ">= 0.4.0"
18
+ gem.add_development_dependency "haml", ">= 2.2.1"
19
+ gem.add_development_dependency "shoulda", ">= 2.10.2"
20
+ gem.add_development_dependency "mocha", ">= 0.9.7"
21
+ gem.add_development_dependency "rack-test", ">= 0.5.0"
22
+ gem.add_development_dependency "webrat", ">= 0.5.1"
22
23
  end
23
24
  Jeweler::GemcutterTasks.new
24
25
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -14,7 +14,7 @@ module SinatraMore
14
14
  # Outputs the given text to the templates buffer directly
15
15
  # concat_content("This will be output to the template buffer in erb or haml")
16
16
  def concat_content(text="")
17
- if is_haml?
17
+ if self.respond_to?(:is_haml?) && is_haml?
18
18
  haml_concat(text)
19
19
  else
20
20
  @_out_buf << text
data/sinatra_more.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sinatra_more}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nathan Esquenazi"]
@@ -90,28 +90,31 @@ Gem::Specification.new do |s|
90
90
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
91
91
  s.add_runtime_dependency(%q<sinatra>, [">= 0.9.2"])
92
92
  s.add_runtime_dependency(%q<activesupport>, [">= 2.2.2"])
93
- s.add_runtime_dependency(%q<warden>, [">= 0.5.0"])
93
+ s.add_runtime_dependency(%q<warden>, [">= 0.4.0"])
94
+ s.add_development_dependency(%q<haml>, [">= 2.2.1"])
94
95
  s.add_development_dependency(%q<shoulda>, [">= 2.10.2"])
95
- s.add_development_dependency(%q<mocha>, [">= 0.9.8"])
96
+ s.add_development_dependency(%q<mocha>, [">= 0.9.7"])
96
97
  s.add_development_dependency(%q<rack-test>, [">= 0.5.0"])
97
- s.add_development_dependency(%q<webrat>, [">= 0.5.3"])
98
+ s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
98
99
  else
99
100
  s.add_dependency(%q<sinatra>, [">= 0.9.2"])
100
101
  s.add_dependency(%q<activesupport>, [">= 2.2.2"])
101
- s.add_dependency(%q<warden>, [">= 0.5.0"])
102
+ s.add_dependency(%q<warden>, [">= 0.4.0"])
103
+ s.add_dependency(%q<haml>, [">= 2.2.1"])
102
104
  s.add_dependency(%q<shoulda>, [">= 2.10.2"])
103
- s.add_dependency(%q<mocha>, [">= 0.9.8"])
105
+ s.add_dependency(%q<mocha>, [">= 0.9.7"])
104
106
  s.add_dependency(%q<rack-test>, [">= 0.5.0"])
105
- s.add_dependency(%q<webrat>, [">= 0.5.3"])
107
+ s.add_dependency(%q<webrat>, [">= 0.5.1"])
106
108
  end
107
109
  else
108
110
  s.add_dependency(%q<sinatra>, [">= 0.9.2"])
109
111
  s.add_dependency(%q<activesupport>, [">= 2.2.2"])
110
- s.add_dependency(%q<warden>, [">= 0.5.0"])
112
+ s.add_dependency(%q<warden>, [">= 0.4.0"])
113
+ s.add_dependency(%q<haml>, [">= 2.2.1"])
111
114
  s.add_dependency(%q<shoulda>, [">= 2.10.2"])
112
- s.add_dependency(%q<mocha>, [">= 0.9.8"])
115
+ s.add_dependency(%q<mocha>, [">= 0.9.7"])
113
116
  s.add_dependency(%q<rack-test>, [">= 0.5.0"])
114
- s.add_dependency(%q<webrat>, [">= 0.5.3"])
117
+ s.add_dependency(%q<webrat>, [">= 0.5.1"])
115
118
  end
116
119
  end
117
120
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra_more
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Esquenazi
@@ -40,7 +40,17 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: 0.5.0
43
+ version: 0.4.0
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: haml
47
+ type: :development
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 2.2.1
44
54
  version:
45
55
  - !ruby/object:Gem::Dependency
46
56
  name: shoulda
@@ -60,7 +70,7 @@ dependencies:
60
70
  requirements:
61
71
  - - ">="
62
72
  - !ruby/object:Gem::Version
63
- version: 0.9.8
73
+ version: 0.9.7
64
74
  version:
65
75
  - !ruby/object:Gem::Dependency
66
76
  name: rack-test
@@ -80,7 +90,7 @@ dependencies:
80
90
  requirements:
81
91
  - - ">="
82
92
  - !ruby/object:Gem::Version
83
- version: 0.5.3
93
+ version: 0.5.1
84
94
  version:
85
95
  description: Expands sinatra with standard helpers and tools to allow for complex applications
86
96
  email: nesquena@gmail.com