sinatra_more 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.rdoc +12 -1
  2. data/Rakefile +7 -2
  3. data/VERSION +1 -1
  4. data/sinatra_more.gemspec +22 -4
  5. metadata +63 -3
data/README.rdoc CHANGED
@@ -30,10 +30,21 @@ Keep in mind, the user will be able to pull in components as necessary and leave
30
30
  Obviously the project isn't ready for primetime yet but please help me brainstorm and
31
31
  fork the project if you have any ideas that will help flesh out this project!
32
32
 
33
+ == Installation
34
+
35
+ This gem has very few runtime dependencies. Primarily, you just need the 'sinatra' gem installed
36
+ and right now active_support. If you want to use the WardenPlugin, then you also need the 'warden' gem.
37
+
38
+ To install this gem, simply grab the latest version from gemcutter:
39
+
40
+ $ sudo gem install sinatra_more --source http://gemcutter.org
41
+
42
+ Now you are ready to use the gem in your sinatra project.
43
+
33
44
  == Usage
34
45
 
35
46
  This extension can be easily registered into any existing sinatra application. You can require
36
- different components based on which pieces are useful for your application.
47
+ different components based on which pieces are useful for your particular application.
37
48
 
38
49
  # app.rb
39
50
  require 'sinatra/base'
data/Rakefile CHANGED
@@ -12,8 +12,13 @@ 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_development_dependency "thoughtbot-shoulda", ">= 0"
16
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
+ gem.add_runtime_dependency "sinatra", ">= 0.9.2"
16
+ gem.add_runtime_dependency "active_support", ">= 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"
17
22
  end
18
23
  Jeweler::GemcutterTasks.new
19
24
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
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.1"
8
+ s.version = "0.1.2"
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"]
@@ -88,12 +88,30 @@ Gem::Specification.new do |s|
88
88
  s.specification_version = 3
89
89
 
90
90
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
91
- s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
91
+ s.add_runtime_dependency(%q<sinatra>, [">= 0.9.2"])
92
+ s.add_runtime_dependency(%q<active_support>, [">= 2.2.2"])
93
+ s.add_runtime_dependency(%q<warden>, [">= 0.5.0"])
94
+ 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<rack-test>, [">= 0.5.0"])
97
+ s.add_development_dependency(%q<webrat>, [">= 0.5.3"])
92
98
  else
93
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
99
+ s.add_dependency(%q<sinatra>, [">= 0.9.2"])
100
+ s.add_dependency(%q<active_support>, [">= 2.2.2"])
101
+ s.add_dependency(%q<warden>, [">= 0.5.0"])
102
+ s.add_dependency(%q<shoulda>, [">= 2.10.2"])
103
+ s.add_dependency(%q<mocha>, [">= 0.9.8"])
104
+ s.add_dependency(%q<rack-test>, [">= 0.5.0"])
105
+ s.add_dependency(%q<webrat>, [">= 0.5.3"])
94
106
  end
95
107
  else
96
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
108
+ s.add_dependency(%q<sinatra>, [">= 0.9.2"])
109
+ s.add_dependency(%q<active_support>, [">= 2.2.2"])
110
+ s.add_dependency(%q<warden>, [">= 0.5.0"])
111
+ s.add_dependency(%q<shoulda>, [">= 2.10.2"])
112
+ s.add_dependency(%q<mocha>, [">= 0.9.8"])
113
+ s.add_dependency(%q<rack-test>, [">= 0.5.0"])
114
+ s.add_dependency(%q<webrat>, [">= 0.5.3"])
97
115
  end
98
116
  end
99
117
 
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Esquenazi
@@ -13,14 +13,74 @@ date: 2009-10-26 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: thoughtbot-shoulda
16
+ name: sinatra
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 0.9.2
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: active_support
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.2.2
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: warden
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 0.5.0
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: shoulda
47
+ type: :development
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 2.10.2
54
+ version:
55
+ - !ruby/object:Gem::Dependency
56
+ name: mocha
57
+ type: :development
58
+ version_requirement:
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 0.9.8
64
+ version:
65
+ - !ruby/object:Gem::Dependency
66
+ name: rack-test
67
+ type: :development
68
+ version_requirement:
69
+ version_requirements: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: 0.5.0
74
+ version:
75
+ - !ruby/object:Gem::Dependency
76
+ name: webrat
17
77
  type: :development
18
78
  version_requirement:
19
79
  version_requirements: !ruby/object:Gem::Requirement
20
80
  requirements:
21
81
  - - ">="
22
82
  - !ruby/object:Gem::Version
23
- version: "0"
83
+ version: 0.5.3
24
84
  version:
25
85
  description: Expands sinatra with standard helpers and tools to allow for complex applications
26
86
  email: nesquena@gmail.com