blogmodule 0.0.1 → 1.0.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.
- data/app/assets/javascripts/comments.js +2 -0
- data/app/assets/stylesheets/comments.css +4 -0
- data/app/controllers/comments_controller.rb +10 -0
- data/app/helpers/comments_helper.rb +2 -0
- data/app/models/comment.rb +9 -0
- data/app/models/post.rb +2 -0
- data/app/views/comments/_comment.html.erb +6 -0
- data/app/views/comments/_form.html.erb +38 -0
- data/app/views/posts/show.html.erb +3 -7
- data/config/routes.rb +5 -1
- data/db/migrate/20120102163952_create_comments.rb +17 -0
- data/lib/blogmodule/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +11 -1
- data/test/dummy/log/development.log +2371 -0
- data/test/dummy/tmp/pids/server.pid +1 -0
- data/test/fixtures/comments.yml +11 -0
- data/test/functional/comments_controller_test.rb +9 -0
- data/test/unit/comment_test.rb +7 -0
- data/test/unit/helpers/comments_helper_test.rb +4 -0
- metadata +25 -7
@@ -0,0 +1 @@
|
|
1
|
+
3830
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blogmodule
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-01-
|
12
|
+
date: 2012-01-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &18046800 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.1.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *18046800
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: sqlite3
|
27
|
-
requirement: &
|
27
|
+
requirement: &18045840 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *18045840
|
36
36
|
description: Description of Blogmodule.
|
37
37
|
email:
|
38
38
|
- pedrohenriqueacruz@gmail.com
|
@@ -40,6 +40,8 @@ executables: []
|
|
40
40
|
extensions: []
|
41
41
|
extra_rdoc_files: []
|
42
42
|
files:
|
43
|
+
- app/views/comments/_form.html.erb
|
44
|
+
- app/views/comments/_comment.html.erb
|
43
45
|
- app/views/categories/new.html.erb
|
44
46
|
- app/views/categories/show.html.erb
|
45
47
|
- app/views/categories/index.html.erb
|
@@ -55,21 +57,27 @@ files:
|
|
55
57
|
- app/views/posts/edit.html.erb
|
56
58
|
- app/views/posts/_form.html.erb
|
57
59
|
- app/views/posts/_categories.html.erb
|
60
|
+
- app/helpers/comments_helper.rb
|
58
61
|
- app/helpers/categories_helper.rb
|
59
62
|
- app/helpers/posts_helper.rb
|
63
|
+
- app/models/comment.rb
|
60
64
|
- app/models/category.rb
|
61
65
|
- app/models/category.rb~
|
62
66
|
- app/models/post.rb~
|
63
67
|
- app/models/post.rb
|
68
|
+
- app/assets/javascripts/comments.js
|
64
69
|
- app/assets/javascripts/categories.js
|
65
70
|
- app/assets/javascripts/posts.js
|
66
71
|
- app/assets/stylesheets/scaffold.css
|
72
|
+
- app/assets/stylesheets/comments.css
|
67
73
|
- app/assets/stylesheets/categories.css
|
68
74
|
- app/controllers/posts_controller.rb~
|
75
|
+
- app/controllers/comments_controller.rb
|
69
76
|
- app/controllers/posts_controller.rb
|
70
77
|
- app/controllers/categories_controller.rb
|
71
78
|
- config/routes.rb
|
72
79
|
- db/migrate/20111231183528_create_categories_posts.rb
|
80
|
+
- db/migrate/20120102163952_create_comments.rb
|
73
81
|
- db/migrate/20111231181111_create_posts.rb
|
74
82
|
- db/migrate/20111231181111_create_posts.rb~
|
75
83
|
- db/migrate/20111231183528_add_categories_to_post.rb~
|
@@ -85,9 +93,11 @@ files:
|
|
85
93
|
- README.rdoc
|
86
94
|
- test/integration/navigation_test.rb
|
87
95
|
- test/test_helper.rb
|
96
|
+
- test/unit/helpers/comments_helper_test.rb
|
88
97
|
- test/unit/helpers/categories_helper_test.rb
|
89
98
|
- test/unit/helpers/posts_helper_test.rb
|
90
99
|
- test/unit/category_test.rb
|
100
|
+
- test/unit/comment_test.rb
|
91
101
|
- test/unit/post_test.rb
|
92
102
|
- test/dummy/config.ru
|
93
103
|
- test/dummy/db/schema.rb
|
@@ -119,6 +129,7 @@ files:
|
|
119
129
|
- test/dummy/public/favicon.ico
|
120
130
|
- test/dummy/public/404.html
|
121
131
|
- test/dummy/Rakefile
|
132
|
+
- test/dummy/tmp/pids/server.pid
|
122
133
|
- test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384
|
123
134
|
- test/dummy/tmp/cache/assets/CD1/FE0/sprockets%2Fa933373e0504e8cd28ab26932e144bb1
|
124
135
|
- test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4
|
@@ -131,8 +142,10 @@ files:
|
|
131
142
|
- test/dummy/tmp/cache/assets/E2C/A10/sprockets%2F9accda57c2c3dd81f1fadc6e19c55c90
|
132
143
|
- test/fixtures/posts.yml
|
133
144
|
- test/fixtures/categories.yml
|
145
|
+
- test/fixtures/comments.yml
|
134
146
|
- test/blogmodule_test.rb
|
135
147
|
- test/functional/categories_controller_test.rb
|
148
|
+
- test/functional/comments_controller_test.rb
|
136
149
|
- test/functional/posts_controller_test.rb
|
137
150
|
homepage: http://tecnobest.heroku.com
|
138
151
|
licenses: []
|
@@ -154,16 +167,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
167
|
version: '0'
|
155
168
|
requirements: []
|
156
169
|
rubyforge_project:
|
157
|
-
rubygems_version: 1.8.
|
170
|
+
rubygems_version: 1.8.13
|
158
171
|
signing_key:
|
159
172
|
specification_version: 3
|
160
173
|
summary: Summary of Blogmodule.
|
161
174
|
test_files:
|
162
175
|
- test/integration/navigation_test.rb
|
163
176
|
- test/test_helper.rb
|
177
|
+
- test/unit/helpers/comments_helper_test.rb
|
164
178
|
- test/unit/helpers/categories_helper_test.rb
|
165
179
|
- test/unit/helpers/posts_helper_test.rb
|
166
180
|
- test/unit/category_test.rb
|
181
|
+
- test/unit/comment_test.rb
|
167
182
|
- test/unit/post_test.rb
|
168
183
|
- test/dummy/config.ru
|
169
184
|
- test/dummy/db/schema.rb
|
@@ -195,6 +210,7 @@ test_files:
|
|
195
210
|
- test/dummy/public/favicon.ico
|
196
211
|
- test/dummy/public/404.html
|
197
212
|
- test/dummy/Rakefile
|
213
|
+
- test/dummy/tmp/pids/server.pid
|
198
214
|
- test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384
|
199
215
|
- test/dummy/tmp/cache/assets/CD1/FE0/sprockets%2Fa933373e0504e8cd28ab26932e144bb1
|
200
216
|
- test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4
|
@@ -207,6 +223,8 @@ test_files:
|
|
207
223
|
- test/dummy/tmp/cache/assets/E2C/A10/sprockets%2F9accda57c2c3dd81f1fadc6e19c55c90
|
208
224
|
- test/fixtures/posts.yml
|
209
225
|
- test/fixtures/categories.yml
|
226
|
+
- test/fixtures/comments.yml
|
210
227
|
- test/blogmodule_test.rb
|
211
228
|
- test/functional/categories_controller_test.rb
|
229
|
+
- test/functional/comments_controller_test.rb
|
212
230
|
- test/functional/posts_controller_test.rb
|