stw_engine 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +7 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +97 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +40 -0
- data/app/assets/images/stw_engine/.gitkeep +0 -0
- data/app/assets/javascripts/posts.js +2 -0
- data/app/assets/javascripts/stw.js +2 -0
- data/app/assets/javascripts/stw_engine/.gitkeep +0 -0
- data/app/assets/stylesheets/posts.css +4 -0
- data/app/assets/stylesheets/scaffold.css +56 -0
- data/app/assets/stylesheets/stw.css +14 -0
- data/app/assets/stylesheets/stw_engine/.gitkeep +0 -0
- data/app/controllers/.gitkeep +0 -0
- data/app/controllers/posts_controller.rb +83 -0
- data/app/controllers/stw_controller.rb +4 -0
- data/app/helpers/.gitkeep +0 -0
- data/app/helpers/posts_helper.rb +2 -0
- data/app/helpers/stw_helper.rb +2 -0
- data/app/mailers/.gitkeep +0 -0
- data/app/models/.gitkeep +0 -0
- data/app/models/post.rb +3 -0
- data/app/views/.gitkeep +0 -0
- data/app/views/posts/_form.html.erb +25 -0
- data/app/views/posts/edit.html.erb +6 -0
- data/app/views/posts/index.html.erb +25 -0
- data/app/views/posts/new.html.erb +5 -0
- data/app/views/posts/show.html.erb +15 -0
- data/app/views/stw/index.html.erb +13 -0
- data/config/routes.rb +6 -0
- data/db/migrate/20131103153222_create_posts.rb +10 -0
- data/lib/stw_engine/config.rb +91 -0
- data/lib/stw_engine/engine.rb +6 -0
- data/lib/stw_engine/helpers/common.rb +159 -0
- data/lib/stw_engine/rails.rb +3 -0
- data/lib/stw_engine/version.rb +3 -0
- data/lib/stw_engine.rb +7 -0
- data/lib/tasks/stw_engine_tasks.rake +4 -0
- data/script/rails +8 -0
- data/stw_engine.gemspec +25 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/.gitkeep +0 -0
- data/test/dummy/app/models/.gitkeep +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/lib/assets/.gitkeep +0 -0
- data/test/dummy/log/.gitkeep +0 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/fixtures/posts.yml +9 -0
- data/test/functional/posts_controller_test.rb +49 -0
- data/test/functional/stw_controller_test.rb +9 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/stw_engine_test.rb +7 -0
- data/test/test_helper.rb +15 -0
- data/test/unit/helpers/posts_helper_test.rb +4 -0
- data/test/unit/helpers/stw_helper_test.rb +4 -0
- data/test/unit/post_test.rb +7 -0
- metadata +186 -0
metadata
ADDED
@@ -0,0 +1,186 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: stw_engine
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Sabirul Mostofa
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-11-10 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: &85211150 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.13
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *85211150
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: sqlite3
|
27
|
+
requirement: &85210730 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *85210730
|
36
|
+
description: Show thumbnail from shrinktheweb
|
37
|
+
email:
|
38
|
+
- sabirmostofa@gmail.com
|
39
|
+
executables: []
|
40
|
+
extensions: []
|
41
|
+
extra_rdoc_files: []
|
42
|
+
files:
|
43
|
+
- .gitignore
|
44
|
+
- Gemfile
|
45
|
+
- Gemfile.lock
|
46
|
+
- MIT-LICENSE
|
47
|
+
- README.rdoc
|
48
|
+
- Rakefile
|
49
|
+
- app/assets/images/stw_engine/.gitkeep
|
50
|
+
- app/assets/javascripts/posts.js
|
51
|
+
- app/assets/javascripts/stw.js
|
52
|
+
- app/assets/javascripts/stw_engine/.gitkeep
|
53
|
+
- app/assets/stylesheets/posts.css
|
54
|
+
- app/assets/stylesheets/scaffold.css
|
55
|
+
- app/assets/stylesheets/stw.css
|
56
|
+
- app/assets/stylesheets/stw_engine/.gitkeep
|
57
|
+
- app/controllers/.gitkeep
|
58
|
+
- app/controllers/posts_controller.rb
|
59
|
+
- app/controllers/stw_controller.rb
|
60
|
+
- app/helpers/.gitkeep
|
61
|
+
- app/helpers/posts_helper.rb
|
62
|
+
- app/helpers/stw_helper.rb
|
63
|
+
- app/mailers/.gitkeep
|
64
|
+
- app/models/.gitkeep
|
65
|
+
- app/models/post.rb
|
66
|
+
- app/views/.gitkeep
|
67
|
+
- app/views/posts/_form.html.erb
|
68
|
+
- app/views/posts/edit.html.erb
|
69
|
+
- app/views/posts/index.html.erb
|
70
|
+
- app/views/posts/new.html.erb
|
71
|
+
- app/views/posts/show.html.erb
|
72
|
+
- app/views/stw/index.html.erb
|
73
|
+
- config/routes.rb
|
74
|
+
- db/migrate/20131103153222_create_posts.rb
|
75
|
+
- lib/stw_engine.rb
|
76
|
+
- lib/stw_engine/config.rb
|
77
|
+
- lib/stw_engine/engine.rb
|
78
|
+
- lib/stw_engine/helpers/common.rb
|
79
|
+
- lib/stw_engine/rails.rb
|
80
|
+
- lib/stw_engine/version.rb
|
81
|
+
- lib/tasks/stw_engine_tasks.rake
|
82
|
+
- script/rails
|
83
|
+
- stw_engine.gemspec
|
84
|
+
- test/dummy/README.rdoc
|
85
|
+
- test/dummy/Rakefile
|
86
|
+
- test/dummy/app/assets/javascripts/application.js
|
87
|
+
- test/dummy/app/assets/stylesheets/application.css
|
88
|
+
- test/dummy/app/controllers/application_controller.rb
|
89
|
+
- test/dummy/app/helpers/application_helper.rb
|
90
|
+
- test/dummy/app/mailers/.gitkeep
|
91
|
+
- test/dummy/app/models/.gitkeep
|
92
|
+
- test/dummy/app/views/layouts/application.html.erb
|
93
|
+
- test/dummy/config.ru
|
94
|
+
- test/dummy/config/application.rb
|
95
|
+
- test/dummy/config/boot.rb
|
96
|
+
- test/dummy/config/database.yml
|
97
|
+
- test/dummy/config/environment.rb
|
98
|
+
- test/dummy/config/environments/development.rb
|
99
|
+
- test/dummy/config/environments/production.rb
|
100
|
+
- test/dummy/config/environments/test.rb
|
101
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
102
|
+
- test/dummy/config/initializers/inflections.rb
|
103
|
+
- test/dummy/config/initializers/mime_types.rb
|
104
|
+
- test/dummy/config/initializers/secret_token.rb
|
105
|
+
- test/dummy/config/initializers/session_store.rb
|
106
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
107
|
+
- test/dummy/config/locales/en.yml
|
108
|
+
- test/dummy/config/routes.rb
|
109
|
+
- test/dummy/lib/assets/.gitkeep
|
110
|
+
- test/dummy/log/.gitkeep
|
111
|
+
- test/dummy/public/404.html
|
112
|
+
- test/dummy/public/422.html
|
113
|
+
- test/dummy/public/500.html
|
114
|
+
- test/dummy/public/favicon.ico
|
115
|
+
- test/dummy/script/rails
|
116
|
+
- test/fixtures/posts.yml
|
117
|
+
- test/functional/posts_controller_test.rb
|
118
|
+
- test/functional/stw_controller_test.rb
|
119
|
+
- test/integration/navigation_test.rb
|
120
|
+
- test/stw_engine_test.rb
|
121
|
+
- test/test_helper.rb
|
122
|
+
- test/unit/helpers/posts_helper_test.rb
|
123
|
+
- test/unit/helpers/stw_helper_test.rb
|
124
|
+
- test/unit/post_test.rb
|
125
|
+
homepage: http://shrinktheweb.com
|
126
|
+
licenses: []
|
127
|
+
post_install_message:
|
128
|
+
rdoc_options: []
|
129
|
+
require_paths:
|
130
|
+
- lib
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
133
|
+
requirements:
|
134
|
+
- - ! '>='
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
requirements: []
|
144
|
+
rubyforge_project:
|
145
|
+
rubygems_version: 1.8.11
|
146
|
+
signing_key:
|
147
|
+
specification_version: 3
|
148
|
+
summary: Shows thumbnail from the shrinktheweb.
|
149
|
+
test_files:
|
150
|
+
- test/unit/post_test.rb
|
151
|
+
- test/unit/helpers/stw_helper_test.rb
|
152
|
+
- test/unit/helpers/posts_helper_test.rb
|
153
|
+
- test/functional/posts_controller_test.rb
|
154
|
+
- test/functional/stw_controller_test.rb
|
155
|
+
- test/fixtures/posts.yml
|
156
|
+
- test/integration/navigation_test.rb
|
157
|
+
- test/test_helper.rb
|
158
|
+
- test/dummy/README.rdoc
|
159
|
+
- test/dummy/public/422.html
|
160
|
+
- test/dummy/public/404.html
|
161
|
+
- test/dummy/public/500.html
|
162
|
+
- test/dummy/public/favicon.ico
|
163
|
+
- test/dummy/config/routes.rb
|
164
|
+
- test/dummy/config/environments/development.rb
|
165
|
+
- test/dummy/config/environments/production.rb
|
166
|
+
- test/dummy/config/environments/test.rb
|
167
|
+
- test/dummy/config/locales/en.yml
|
168
|
+
- test/dummy/config/database.yml
|
169
|
+
- test/dummy/config/application.rb
|
170
|
+
- test/dummy/config/boot.rb
|
171
|
+
- test/dummy/config/environment.rb
|
172
|
+
- test/dummy/config/initializers/inflections.rb
|
173
|
+
- test/dummy/config/initializers/mime_types.rb
|
174
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
175
|
+
- test/dummy/config/initializers/secret_token.rb
|
176
|
+
- test/dummy/config/initializers/session_store.rb
|
177
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
178
|
+
- test/dummy/config.ru
|
179
|
+
- test/dummy/script/rails
|
180
|
+
- test/dummy/Rakefile
|
181
|
+
- test/dummy/app/views/layouts/application.html.erb
|
182
|
+
- test/dummy/app/assets/javascripts/application.js
|
183
|
+
- test/dummy/app/assets/stylesheets/application.css
|
184
|
+
- test/dummy/app/helpers/application_helper.rb
|
185
|
+
- test/dummy/app/controllers/application_controller.rb
|
186
|
+
- test/stw_engine_test.rb
|