padrino 0.1.0

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.
@@ -0,0 +1,5 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
@@ -0,0 +1,21 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+
21
+ ## PROJECT::SPECIFIC
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2009 Padrino
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,7 @@
1
+ = padrino-framework
2
+
3
+ Is the metagem
4
+
5
+ == Copyright
6
+
7
+ Copyright (c) 2009 Padrino. See LICENSE for details.
@@ -0,0 +1,86 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ GEM_VERSION = File.read(File.dirname(__FILE__) + '/VERSION')
5
+ subgems = [
6
+ ["padrino-core", "= #{GEM_VERSION}"],
7
+ ["padrino-helpers", "= #{GEM_VERSION}"],
8
+ ["padrino-mailer", "= #{GEM_VERSION}"],
9
+ ["padrino-routing", "= #{GEM_VERSION}"],
10
+ # ["padrino-gen", "= #{GEM_VERSION}"],
11
+ # ["padrino-cache", "= #{GEM_VERSION}"],
12
+ # ["padrino-admin", "= #{GEM_VERSION}"],
13
+ ]
14
+
15
+ begin
16
+ require 'jeweler'
17
+ Jeweler::Tasks.new do |gem|
18
+ gem.name = "padrino"
19
+ gem.summary = "The Godfather of Sinatra"
20
+ gem.description = "The Godfather of Sinatra provides a full-stack agnostic framework on top of Sinatra"
21
+ gem.email = "nesquena@gmail.com"
22
+ gem.homepage = "http://github.com/padrino/padrino-framework"
23
+ gem.authors = ["Padrino Team", "Nathan Esquenazi", "Davide D'Agostino", "Arthur Chiu"]
24
+ gem.add_runtime_dependency "sinatra", ">= 0.9.2"
25
+ gem.add_development_dependency "haml", ">= 2.2.1"
26
+ gem.add_development_dependency "shoulda", ">= 0"
27
+ gem.add_development_dependency "mocha", ">= 0.9.7"
28
+ gem.add_development_dependency "rack-test", ">= 0.5.0"
29
+ gem.add_development_dependency "webrat", ">= 0.5.1"
30
+ subgems.each { |subgem_data| gem.add_runtime_dependency *subgem_data }
31
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
32
+ end
33
+ Jeweler::GemcutterTasks.new
34
+ rescue LoadError
35
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
36
+ end
37
+
38
+ require 'rake/testtask'
39
+ Rake::TestTask.new(:test) do |test|
40
+ test.libs << 'lib' << 'test'
41
+ test.pattern = 'test/**/test_*.rb'
42
+ test.verbose = true
43
+ end
44
+
45
+ begin
46
+ require 'rcov/rcovtask'
47
+ Rcov::RcovTask.new do |test|
48
+ test.libs << 'test'
49
+ test.pattern = 'test/**/test_*.rb'
50
+ test.verbose = true
51
+ end
52
+ rescue LoadError
53
+ task :rcov do
54
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
55
+ end
56
+ end
57
+
58
+ task :test => :check_dependencies
59
+
60
+ task :default => :test
61
+
62
+ require 'rake/rdoctask'
63
+ Rake::RDocTask.new do |rdoc|
64
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
65
+
66
+ rdoc.rdoc_dir = 'rdoc'
67
+ rdoc.title = "padrino #{version}"
68
+ rdoc.rdoc_files.include('README*')
69
+ rdoc.rdoc_files.include('lib/**/*.rb')
70
+ end
71
+
72
+ ########### CUSTOM TASKS ##########
73
+
74
+ task :build => "lib/padrino.rb"
75
+
76
+ desc "Create padrino.rb"
77
+ task "lib/padrino.rb" do
78
+ mkdir_p "lib"
79
+ File.open("lib/padrino.rb","w+") do |file|
80
+ file.puts "### AUTOMATICALLY GENERATED. DO NOT EDIT!"
81
+ subgems.each do |pair|
82
+ g, _ = pair
83
+ file.puts "require '#{g}'"
84
+ end
85
+ end
86
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
@@ -0,0 +1,5 @@
1
+ ### AUTOMATICALLY GENERATED. DO NOT EDIT!
2
+ require 'padrino-core'
3
+ require 'padrino-helpers'
4
+ require 'padrino-mailer'
5
+ require 'padrino-routing'
@@ -0,0 +1,81 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{padrino}
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Padrino Team", "Nathan Esquenazi", "Davide D'Agostino", "Arthur Chiu"]
12
+ s.date = %q{2009-11-16}
13
+ s.description = %q{The Godfather of Sinatra provides a full-stack agnostic framework on top of Sinatra}
14
+ s.email = %q{nesquena@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "lib/padrino.rb",
27
+ "padrino.gemspec",
28
+ "test/helper.rb",
29
+ "test/test_padrino.rb"
30
+ ]
31
+ s.homepage = %q{http://github.com/padrino/padrino-framework}
32
+ s.rdoc_options = ["--charset=UTF-8"]
33
+ s.require_paths = ["lib"]
34
+ s.rubygems_version = %q{1.3.5}
35
+ s.summary = %q{The Godfather of Sinatra}
36
+ s.test_files = [
37
+ "test/helper.rb",
38
+ "test/test_padrino.rb"
39
+ ]
40
+
41
+ if s.respond_to? :specification_version then
42
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
43
+ s.specification_version = 3
44
+
45
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
46
+ s.add_runtime_dependency(%q<sinatra>, [">= 0.9.2"])
47
+ s.add_development_dependency(%q<haml>, [">= 2.2.1"])
48
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
49
+ s.add_development_dependency(%q<mocha>, [">= 0.9.7"])
50
+ s.add_development_dependency(%q<rack-test>, [">= 0.5.0"])
51
+ s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
52
+ s.add_runtime_dependency(%q<padrino-core>, ["= 0.1.0"])
53
+ s.add_runtime_dependency(%q<padrino-helpers>, ["= 0.1.0"])
54
+ s.add_runtime_dependency(%q<padrino-mailer>, ["= 0.1.0"])
55
+ s.add_runtime_dependency(%q<padrino-routing>, ["= 0.1.0"])
56
+ else
57
+ s.add_dependency(%q<sinatra>, [">= 0.9.2"])
58
+ s.add_dependency(%q<haml>, [">= 2.2.1"])
59
+ s.add_dependency(%q<shoulda>, [">= 0"])
60
+ s.add_dependency(%q<mocha>, [">= 0.9.7"])
61
+ s.add_dependency(%q<rack-test>, [">= 0.5.0"])
62
+ s.add_dependency(%q<webrat>, [">= 0.5.1"])
63
+ s.add_dependency(%q<padrino-core>, ["= 0.1.0"])
64
+ s.add_dependency(%q<padrino-helpers>, ["= 0.1.0"])
65
+ s.add_dependency(%q<padrino-mailer>, ["= 0.1.0"])
66
+ s.add_dependency(%q<padrino-routing>, ["= 0.1.0"])
67
+ end
68
+ else
69
+ s.add_dependency(%q<sinatra>, [">= 0.9.2"])
70
+ s.add_dependency(%q<haml>, [">= 2.2.1"])
71
+ s.add_dependency(%q<shoulda>, [">= 0"])
72
+ s.add_dependency(%q<mocha>, [">= 0.9.7"])
73
+ s.add_dependency(%q<rack-test>, [">= 0.5.0"])
74
+ s.add_dependency(%q<webrat>, [">= 0.5.1"])
75
+ s.add_dependency(%q<padrino-core>, ["= 0.1.0"])
76
+ s.add_dependency(%q<padrino-helpers>, ["= 0.1.0"])
77
+ s.add_dependency(%q<padrino-mailer>, ["= 0.1.0"])
78
+ s.add_dependency(%q<padrino-routing>, ["= 0.1.0"])
79
+ end
80
+ end
81
+
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ require 'test/unit'
3
+ require 'shoulda'
4
+
5
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
6
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
7
+ require 'padrino'
8
+
9
+ class Test::Unit::TestCase
10
+ end
@@ -0,0 +1,7 @@
1
+ require File.dirname(__FILE__) + '/helper'
2
+
3
+ class TestPadrino < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,168 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: padrino
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Padrino Team
8
+ - Nathan Esquenazi
9
+ - Davide D'Agostino
10
+ - Arthur Chiu
11
+ autorequire:
12
+ bindir: bin
13
+ cert_chain: []
14
+
15
+ date: 2009-11-16 00:00:00 -08:00
16
+ default_executable:
17
+ dependencies:
18
+ - !ruby/object:Gem::Dependency
19
+ name: sinatra
20
+ type: :runtime
21
+ version_requirement:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.9.2
27
+ version:
28
+ - !ruby/object:Gem::Dependency
29
+ name: haml
30
+ type: :development
31
+ version_requirement:
32
+ version_requirements: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 2.2.1
37
+ version:
38
+ - !ruby/object:Gem::Dependency
39
+ name: shoulda
40
+ type: :development
41
+ version_requirement:
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: "0"
47
+ version:
48
+ - !ruby/object:Gem::Dependency
49
+ name: mocha
50
+ type: :development
51
+ version_requirement:
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.9.7
57
+ version:
58
+ - !ruby/object:Gem::Dependency
59
+ name: rack-test
60
+ type: :development
61
+ version_requirement:
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 0.5.0
67
+ version:
68
+ - !ruby/object:Gem::Dependency
69
+ name: webrat
70
+ type: :development
71
+ version_requirement:
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 0.5.1
77
+ version:
78
+ - !ruby/object:Gem::Dependency
79
+ name: padrino-core
80
+ type: :runtime
81
+ version_requirement:
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - "="
85
+ - !ruby/object:Gem::Version
86
+ version: 0.1.0
87
+ version:
88
+ - !ruby/object:Gem::Dependency
89
+ name: padrino-helpers
90
+ type: :runtime
91
+ version_requirement:
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "="
95
+ - !ruby/object:Gem::Version
96
+ version: 0.1.0
97
+ version:
98
+ - !ruby/object:Gem::Dependency
99
+ name: padrino-mailer
100
+ type: :runtime
101
+ version_requirement:
102
+ version_requirements: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - "="
105
+ - !ruby/object:Gem::Version
106
+ version: 0.1.0
107
+ version:
108
+ - !ruby/object:Gem::Dependency
109
+ name: padrino-routing
110
+ type: :runtime
111
+ version_requirement:
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "="
115
+ - !ruby/object:Gem::Version
116
+ version: 0.1.0
117
+ version:
118
+ description: The Godfather of Sinatra provides a full-stack agnostic framework on top of Sinatra
119
+ email: nesquena@gmail.com
120
+ executables: []
121
+
122
+ extensions: []
123
+
124
+ extra_rdoc_files:
125
+ - LICENSE
126
+ - README.rdoc
127
+ files:
128
+ - .document
129
+ - .gitignore
130
+ - LICENSE
131
+ - README.rdoc
132
+ - Rakefile
133
+ - VERSION
134
+ - lib/padrino.rb
135
+ - padrino.gemspec
136
+ - test/helper.rb
137
+ - test/test_padrino.rb
138
+ has_rdoc: true
139
+ homepage: http://github.com/padrino/padrino-framework
140
+ licenses: []
141
+
142
+ post_install_message:
143
+ rdoc_options:
144
+ - --charset=UTF-8
145
+ require_paths:
146
+ - lib
147
+ required_ruby_version: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: "0"
152
+ version:
153
+ required_rubygems_version: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: "0"
158
+ version:
159
+ requirements: []
160
+
161
+ rubyforge_project:
162
+ rubygems_version: 1.3.5
163
+ signing_key:
164
+ specification_version: 3
165
+ summary: The Godfather of Sinatra
166
+ test_files:
167
+ - test/helper.rb
168
+ - test/test_padrino.rb