renee 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +6 -0
- data/Rakefile +6 -0
- data/examples/blog/config.ru +1 -1
- data/lib/renee.rb +0 -1
- data/lib/renee/version.rb +1 -1
- data/renee.gemspec +1 -0
- data/test/rich_core_test.rb +11 -0
- metadata +45 -71
data/.yardopts
ADDED
data/Rakefile
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
2
|
require 'rake/testtask'
|
3
|
+
require 'yard'
|
3
4
|
|
4
5
|
Rake::TestTask.new do |t|
|
5
6
|
t.libs.push "lib"
|
6
7
|
t.test_files = FileList[File.expand_path('../test/**/*_test.rb', __FILE__)]
|
7
8
|
t.verbose = true
|
8
9
|
end
|
10
|
+
|
11
|
+
desc "Generate documentation for the Padrino framework"
|
12
|
+
task :doc do
|
13
|
+
YARD::CLI::Yardoc.new.run
|
14
|
+
end
|
data/examples/blog/config.ru
CHANGED
data/lib/renee.rb
CHANGED
data/lib/renee/version.rb
CHANGED
data/renee.gemspec
CHANGED
@@ -0,0 +1,11 @@
|
|
1
|
+
require File.expand_path('../test_helper', __FILE__)
|
2
|
+
|
3
|
+
describe Renee::RichCore do
|
4
|
+
it "should allow the inclusion of arbitrary modules" do
|
5
|
+
r = Renee{
|
6
|
+
respond_to?(:some_method) or raise
|
7
|
+
}.setup { include Module.new { def some_method; end } }
|
8
|
+
r.call(Rack::MockRequest.env_for('/'))
|
9
|
+
assert true
|
10
|
+
end
|
11
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: renee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 29
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 1
|
10
|
-
version: 0.0.1
|
5
|
+
version: 0.1.0
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Josh Hull
|
@@ -17,132 +12,107 @@ autorequire:
|
|
17
12
|
bindir: bin
|
18
13
|
cert_chain: []
|
19
14
|
|
20
|
-
date: 2011-10-
|
15
|
+
date: 2011-10-19 00:00:00 Z
|
21
16
|
dependencies:
|
22
17
|
- !ruby/object:Gem::Dependency
|
23
|
-
|
18
|
+
name: renee-core
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
20
|
none: false
|
25
21
|
requirements:
|
26
22
|
- - "="
|
27
23
|
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 0
|
32
|
-
- 1
|
33
|
-
version: 0.0.1
|
34
|
-
requirement: *id001
|
24
|
+
version: 0.1.0
|
35
25
|
type: :runtime
|
36
26
|
prerelease: false
|
37
|
-
|
27
|
+
version_requirements: *id001
|
38
28
|
- !ruby/object:Gem::Dependency
|
39
|
-
|
29
|
+
name: renee-render
|
30
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
31
|
none: false
|
41
32
|
requirements:
|
42
33
|
- - "="
|
43
34
|
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
segments:
|
46
|
-
- 0
|
47
|
-
- 0
|
48
|
-
- 1
|
49
|
-
version: 0.0.1
|
50
|
-
requirement: *id002
|
35
|
+
version: 0.1.0
|
51
36
|
type: :runtime
|
52
37
|
prerelease: false
|
53
|
-
|
38
|
+
version_requirements: *id002
|
54
39
|
- !ruby/object:Gem::Dependency
|
55
|
-
|
40
|
+
name: minitest
|
41
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
42
|
none: false
|
57
43
|
requirements:
|
58
44
|
- - ~>
|
59
45
|
- !ruby/object:Gem::Version
|
60
|
-
hash: 21
|
61
|
-
segments:
|
62
|
-
- 2
|
63
|
-
- 6
|
64
|
-
- 1
|
65
46
|
version: 2.6.1
|
66
|
-
requirement: *id003
|
67
47
|
type: :development
|
68
48
|
prerelease: false
|
69
|
-
|
49
|
+
version_requirements: *id003
|
70
50
|
- !ruby/object:Gem::Dependency
|
71
|
-
|
51
|
+
name: rake
|
52
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
72
53
|
none: false
|
73
54
|
requirements:
|
74
55
|
- - ">="
|
75
56
|
- !ruby/object:Gem::Version
|
76
|
-
hash: 3
|
77
|
-
segments:
|
78
|
-
- 0
|
79
57
|
version: "0"
|
80
|
-
requirement: *id004
|
81
58
|
type: :development
|
82
59
|
prerelease: false
|
83
|
-
|
60
|
+
version_requirements: *id004
|
84
61
|
- !ruby/object:Gem::Dependency
|
85
|
-
|
62
|
+
name: bundler
|
63
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
86
64
|
none: false
|
87
65
|
requirements:
|
88
66
|
- - ~>
|
89
67
|
- !ruby/object:Gem::Version
|
90
|
-
hash: 3
|
91
|
-
segments:
|
92
|
-
- 1
|
93
|
-
- 0
|
94
|
-
- 10
|
95
68
|
version: 1.0.10
|
96
|
-
requirement: *id005
|
97
69
|
type: :development
|
98
70
|
prerelease: false
|
99
|
-
|
71
|
+
version_requirements: *id005
|
100
72
|
- !ruby/object:Gem::Dependency
|
101
|
-
|
73
|
+
name: rack-test
|
74
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
102
75
|
none: false
|
103
76
|
requirements:
|
104
77
|
- - ">="
|
105
78
|
- !ruby/object:Gem::Version
|
106
|
-
hash: 11
|
107
|
-
segments:
|
108
|
-
- 0
|
109
|
-
- 5
|
110
|
-
- 0
|
111
79
|
version: 0.5.0
|
112
|
-
requirement: *id006
|
113
80
|
type: :development
|
114
81
|
prerelease: false
|
115
|
-
|
82
|
+
version_requirements: *id006
|
116
83
|
- !ruby/object:Gem::Dependency
|
117
|
-
|
84
|
+
name: haml
|
85
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
118
86
|
none: false
|
119
87
|
requirements:
|
120
88
|
- - ">="
|
121
89
|
- !ruby/object:Gem::Version
|
122
|
-
hash: 7
|
123
|
-
segments:
|
124
|
-
- 2
|
125
|
-
- 2
|
126
|
-
- 0
|
127
90
|
version: 2.2.0
|
128
|
-
requirement: *id007
|
129
91
|
type: :development
|
130
92
|
prerelease: false
|
131
|
-
|
93
|
+
version_requirements: *id007
|
132
94
|
- !ruby/object:Gem::Dependency
|
133
|
-
|
95
|
+
name: json
|
96
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
134
97
|
none: false
|
135
98
|
requirements:
|
136
99
|
- - ">="
|
137
100
|
- !ruby/object:Gem::Version
|
138
|
-
hash: 3
|
139
|
-
segments:
|
140
|
-
- 0
|
141
101
|
version: "0"
|
142
|
-
requirement: *id008
|
143
102
|
type: :development
|
144
103
|
prerelease: false
|
145
|
-
|
104
|
+
version_requirements: *id008
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: yard
|
107
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: "0"
|
113
|
+
type: :development
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: *id009
|
146
116
|
description: The super-friendly web framework.
|
147
117
|
email:
|
148
118
|
- joshbuddy@gmail.com
|
@@ -155,6 +125,7 @@ extensions: []
|
|
155
125
|
extra_rdoc_files: []
|
156
126
|
|
157
127
|
files:
|
128
|
+
- .yardopts
|
158
129
|
- Rakefile
|
159
130
|
- examples/blog/blog.rb
|
160
131
|
- examples/blog/config.ru
|
@@ -165,6 +136,7 @@ files:
|
|
165
136
|
- lib/renee/version.rb
|
166
137
|
- renee.gemspec
|
167
138
|
- test/blog_test.rb
|
139
|
+
- test/rich_core_test.rb
|
168
140
|
- test/test_helper.rb
|
169
141
|
homepage: ""
|
170
142
|
licenses: []
|
@@ -179,7 +151,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
179
151
|
requirements:
|
180
152
|
- - ">="
|
181
153
|
- !ruby/object:Gem::Version
|
182
|
-
hash:
|
154
|
+
hash: 3712971163071630654
|
183
155
|
segments:
|
184
156
|
- 0
|
185
157
|
version: "0"
|
@@ -188,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
160
|
requirements:
|
189
161
|
- - ">="
|
190
162
|
- !ruby/object:Gem::Version
|
191
|
-
hash:
|
163
|
+
hash: 3712971163071630654
|
192
164
|
segments:
|
193
165
|
- 0
|
194
166
|
version: "0"
|
@@ -201,4 +173,6 @@ specification_version: 3
|
|
201
173
|
summary: The super-friendly web framework
|
202
174
|
test_files:
|
203
175
|
- test/blog_test.rb
|
176
|
+
- test/rich_core_test.rb
|
204
177
|
- test/test_helper.rb
|
178
|
+
has_rdoc:
|