tumblr_rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +40 -0
  4. data/app/controllers/tumblr_rails/application_controller.rb +4 -0
  5. data/app/controllers/tumblr_rails/auth_controller.rb +14 -0
  6. data/config/routes.rb +5 -0
  7. data/lib/generators/tumblr/initialize/initialize_generator.rb +31 -0
  8. data/lib/generators/tumblr/initialize/templates/tumblr.yml +3 -0
  9. data/lib/generators/tumblr/initialize/templates/tumblr_omniauth.rb +12 -0
  10. data/lib/tumblr.rb +18 -0
  11. data/lib/tumblr/app/auth.rb +33 -0
  12. data/lib/tumblr/app/config.rb +24 -0
  13. data/lib/tumblr/blog/info.rb +100 -0
  14. data/lib/tumblr/blog/posts.rb +195 -0
  15. data/lib/tumblr/user.rb +108 -0
  16. data/lib/tumblr_rails.rb +5 -0
  17. data/lib/tumblr_rails/engine.rb +5 -0
  18. data/lib/tumblr_rails/version.rb +3 -0
  19. data/test/dummy/README.rdoc +261 -0
  20. data/test/dummy/Rakefile +7 -0
  21. data/test/dummy/app/assets/javascripts/application.js +15 -0
  22. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  23. data/test/dummy/app/controllers/application_controller.rb +3 -0
  24. data/test/dummy/app/helpers/application_helper.rb +2 -0
  25. data/test/dummy/app/views/auth/callback.html.erb +1 -0
  26. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  27. data/test/dummy/config.ru +4 -0
  28. data/test/dummy/config/application.rb +59 -0
  29. data/test/dummy/config/boot.rb +10 -0
  30. data/test/dummy/config/database.yml +25 -0
  31. data/test/dummy/config/environment.rb +5 -0
  32. data/test/dummy/config/environments/development.rb +37 -0
  33. data/test/dummy/config/environments/production.rb +67 -0
  34. data/test/dummy/config/environments/test.rb +37 -0
  35. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  36. data/test/dummy/config/initializers/inflections.rb +15 -0
  37. data/test/dummy/config/initializers/mime_types.rb +5 -0
  38. data/test/dummy/config/initializers/secret_token.rb +7 -0
  39. data/test/dummy/config/initializers/session_store.rb +8 -0
  40. data/test/dummy/config/initializers/tumblr_omniauth.rb +12 -0
  41. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  42. data/test/dummy/config/locales/en.yml +5 -0
  43. data/test/dummy/config/routes.rb +5 -0
  44. data/test/dummy/config/tumblr.yml +3 -0
  45. data/test/dummy/db/development.sqlite3 +0 -0
  46. data/test/dummy/db/test.sqlite3 +0 -0
  47. data/test/dummy/log/development.log +3975 -0
  48. data/test/dummy/log/test.log +6263 -0
  49. data/test/dummy/public/404.html +26 -0
  50. data/test/dummy/public/422.html +26 -0
  51. data/test/dummy/public/500.html +25 -0
  52. data/test/dummy/public/favicon.ico +0 -0
  53. data/test/dummy/script/rails +6 -0
  54. data/test/dummy/tmp/cache/assets/C8B/860/sprockets%2F9a20309f30129a77feb31838f098f297 +0 -0
  55. data/test/dummy/tmp/cache/assets/C9F/370/sprockets%2F6d84b4834154a897f9797341f84c5d8a +0 -0
  56. data/test/dummy/tmp/cache/assets/D05/7B0/sprockets%2F9b922795f4e391b09eba001e060eda70 +0 -0
  57. data/test/dummy/tmp/cache/assets/D0B/440/sprockets%2F8565a250a235aa89c1e7d2dd313c967c +0 -0
  58. data/test/dummy/tmp/cache/assets/D0C/C80/sprockets%2F7560d6986bb7c0abc7eb0208d606d067 +0 -0
  59. data/test/dummy/tmp/cache/assets/D3E/5E0/sprockets%2F68f0148a7ae28d9035be6f074ea24bd4 +0 -0
  60. data/test/dummy/tmp/cache/assets/D64/630/sprockets%2F3a23de71fb0a2645e5c65e06ecfa9360 +0 -0
  61. data/test/dummy/tmp/cache/assets/D78/ED0/sprockets%2F2f4b319ee6fe66da46d03f44f260f8c7 +0 -0
  62. data/test/dummy/tmp/cache/assets/D85/C90/sprockets%2F988d81085a8363a9c7fee1fd6d856aac +0 -0
  63. data/test/dummy/tmp/cache/assets/D91/F30/sprockets%2Fc64d4adf0095e72bffcfbb3121f28610 +0 -0
  64. data/test/dummy/tmp/cache/assets/DA9/650/sprockets%2F8b9579b0e82dafaca76292c40b9af7a9 +0 -0
  65. data/test/dummy/tmp/cache/assets/DE1/BF0/sprockets%2F3f2f9e1f8922bad79bbe6a1df99ea691 +0 -0
  66. data/test/dummy/tmp/cache/assets/DE9/970/sprockets%2Fb043399a2cb9c64dfaa06b50affd5aa0 +0 -0
  67. data/test/dummy/tmp/cache/assets/DFB/530/sprockets%2Fdf9ec58f799cb8403abdad62a30fa2b1 +0 -0
  68. data/test/dummy/tmp/config/initializers/tumblr_omniauth.rb +12 -0
  69. data/test/dummy/tmp/config/tumblr.yml +3 -0
  70. data/test/functional/tumblr_rails/auth_controller_test.rb +9 -0
  71. data/test/test_helper.rb +15 -0
  72. data/test/unit/generators/tumblr/initialize_generator_test.rb +22 -0
  73. data/test/unit/tumblr/app_auth_test.rb +32 -0
  74. data/test/unit/tumblr/app_config_test.rb +28 -0
  75. data/test/unit/tumblr/blog_info_test.rb +70 -0
  76. data/test/unit/tumblr/blog_posts_test.rb +104 -0
  77. data/test/unit/tumblr/user_test.rb +27 -0
  78. metadata +251 -0
metadata ADDED
@@ -0,0 +1,251 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tumblr_rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Florian Nitschmann
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-02-04 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.2'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.2'
30
+ - !ruby/object:Gem::Dependency
31
+ name: omniauth
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: omniauth-tumblr
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: sqlite3
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ description: Tumblr API v2 Gem for Ruby on Rails
79
+ email:
80
+ - f.nitschmann@visionred.org
81
+ executables: []
82
+ extensions: []
83
+ extra_rdoc_files: []
84
+ files:
85
+ - app/controllers/tumblr_rails/application_controller.rb
86
+ - app/controllers/tumblr_rails/auth_controller.rb
87
+ - config/routes.rb
88
+ - lib/generators/tumblr/initialize/initialize_generator.rb
89
+ - lib/generators/tumblr/initialize/templates/tumblr.yml
90
+ - lib/generators/tumblr/initialize/templates/tumblr_omniauth.rb
91
+ - lib/tumblr/app/auth.rb
92
+ - lib/tumblr/app/config.rb
93
+ - lib/tumblr/blog/info.rb
94
+ - lib/tumblr/blog/posts.rb
95
+ - lib/tumblr/user.rb
96
+ - lib/tumblr.rb
97
+ - lib/tumblr_rails/engine.rb
98
+ - lib/tumblr_rails/version.rb
99
+ - lib/tumblr_rails.rb
100
+ - MIT-LICENSE
101
+ - Rakefile
102
+ - README.rdoc
103
+ - test/dummy/app/assets/javascripts/application.js
104
+ - test/dummy/app/assets/stylesheets/application.css
105
+ - test/dummy/app/controllers/application_controller.rb
106
+ - test/dummy/app/helpers/application_helper.rb
107
+ - test/dummy/app/views/auth/callback.html.erb
108
+ - test/dummy/app/views/layouts/application.html.erb
109
+ - test/dummy/config/application.rb
110
+ - test/dummy/config/boot.rb
111
+ - test/dummy/config/database.yml
112
+ - test/dummy/config/environment.rb
113
+ - test/dummy/config/environments/development.rb
114
+ - test/dummy/config/environments/production.rb
115
+ - test/dummy/config/environments/test.rb
116
+ - test/dummy/config/initializers/backtrace_silencers.rb
117
+ - test/dummy/config/initializers/inflections.rb
118
+ - test/dummy/config/initializers/mime_types.rb
119
+ - test/dummy/config/initializers/secret_token.rb
120
+ - test/dummy/config/initializers/session_store.rb
121
+ - test/dummy/config/initializers/tumblr_omniauth.rb
122
+ - test/dummy/config/initializers/wrap_parameters.rb
123
+ - test/dummy/config/locales/en.yml
124
+ - test/dummy/config/routes.rb
125
+ - test/dummy/config/tumblr.yml
126
+ - test/dummy/config.ru
127
+ - test/dummy/db/development.sqlite3
128
+ - test/dummy/db/test.sqlite3
129
+ - test/dummy/log/development.log
130
+ - test/dummy/log/test.log
131
+ - test/dummy/public/404.html
132
+ - test/dummy/public/422.html
133
+ - test/dummy/public/500.html
134
+ - test/dummy/public/favicon.ico
135
+ - test/dummy/Rakefile
136
+ - test/dummy/README.rdoc
137
+ - test/dummy/script/rails
138
+ - test/dummy/tmp/cache/assets/C8B/860/sprockets%2F9a20309f30129a77feb31838f098f297
139
+ - test/dummy/tmp/cache/assets/C9F/370/sprockets%2F6d84b4834154a897f9797341f84c5d8a
140
+ - test/dummy/tmp/cache/assets/D05/7B0/sprockets%2F9b922795f4e391b09eba001e060eda70
141
+ - test/dummy/tmp/cache/assets/D0B/440/sprockets%2F8565a250a235aa89c1e7d2dd313c967c
142
+ - test/dummy/tmp/cache/assets/D0C/C80/sprockets%2F7560d6986bb7c0abc7eb0208d606d067
143
+ - test/dummy/tmp/cache/assets/D3E/5E0/sprockets%2F68f0148a7ae28d9035be6f074ea24bd4
144
+ - test/dummy/tmp/cache/assets/D64/630/sprockets%2F3a23de71fb0a2645e5c65e06ecfa9360
145
+ - test/dummy/tmp/cache/assets/D78/ED0/sprockets%2F2f4b319ee6fe66da46d03f44f260f8c7
146
+ - test/dummy/tmp/cache/assets/D85/C90/sprockets%2F988d81085a8363a9c7fee1fd6d856aac
147
+ - test/dummy/tmp/cache/assets/D91/F30/sprockets%2Fc64d4adf0095e72bffcfbb3121f28610
148
+ - test/dummy/tmp/cache/assets/DA9/650/sprockets%2F8b9579b0e82dafaca76292c40b9af7a9
149
+ - test/dummy/tmp/cache/assets/DE1/BF0/sprockets%2F3f2f9e1f8922bad79bbe6a1df99ea691
150
+ - test/dummy/tmp/cache/assets/DE9/970/sprockets%2Fb043399a2cb9c64dfaa06b50affd5aa0
151
+ - test/dummy/tmp/cache/assets/DFB/530/sprockets%2Fdf9ec58f799cb8403abdad62a30fa2b1
152
+ - test/dummy/tmp/config/initializers/tumblr_omniauth.rb
153
+ - test/dummy/tmp/config/tumblr.yml
154
+ - test/functional/tumblr_rails/auth_controller_test.rb
155
+ - test/test_helper.rb
156
+ - test/unit/generators/tumblr/initialize_generator_test.rb
157
+ - test/unit/tumblr/app_auth_test.rb
158
+ - test/unit/tumblr/app_config_test.rb
159
+ - test/unit/tumblr/blog_info_test.rb
160
+ - test/unit/tumblr/blog_posts_test.rb
161
+ - test/unit/tumblr/user_test.rb
162
+ homepage: https://github.com/visionred/tumblr_rails
163
+ licenses: []
164
+ post_install_message:
165
+ rdoc_options: []
166
+ require_paths:
167
+ - lib
168
+ required_ruby_version: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ segments:
175
+ - 0
176
+ hash: -61022493068315184
177
+ required_rubygems_version: !ruby/object:Gem::Requirement
178
+ none: false
179
+ requirements:
180
+ - - ! '>='
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ segments:
184
+ - 0
185
+ hash: -61022493068315184
186
+ requirements: []
187
+ rubyforge_project:
188
+ rubygems_version: 1.8.23
189
+ signing_key:
190
+ specification_version: 3
191
+ summary: Tumblr API v2 Gem for Ruby on Rails
192
+ test_files:
193
+ - test/dummy/app/assets/javascripts/application.js
194
+ - test/dummy/app/assets/stylesheets/application.css
195
+ - test/dummy/app/controllers/application_controller.rb
196
+ - test/dummy/app/helpers/application_helper.rb
197
+ - test/dummy/app/views/auth/callback.html.erb
198
+ - test/dummy/app/views/layouts/application.html.erb
199
+ - test/dummy/config/application.rb
200
+ - test/dummy/config/boot.rb
201
+ - test/dummy/config/database.yml
202
+ - test/dummy/config/environment.rb
203
+ - test/dummy/config/environments/development.rb
204
+ - test/dummy/config/environments/production.rb
205
+ - test/dummy/config/environments/test.rb
206
+ - test/dummy/config/initializers/backtrace_silencers.rb
207
+ - test/dummy/config/initializers/inflections.rb
208
+ - test/dummy/config/initializers/mime_types.rb
209
+ - test/dummy/config/initializers/secret_token.rb
210
+ - test/dummy/config/initializers/session_store.rb
211
+ - test/dummy/config/initializers/tumblr_omniauth.rb
212
+ - test/dummy/config/initializers/wrap_parameters.rb
213
+ - test/dummy/config/locales/en.yml
214
+ - test/dummy/config/routes.rb
215
+ - test/dummy/config/tumblr.yml
216
+ - test/dummy/config.ru
217
+ - test/dummy/db/development.sqlite3
218
+ - test/dummy/db/test.sqlite3
219
+ - test/dummy/log/development.log
220
+ - test/dummy/log/test.log
221
+ - test/dummy/public/404.html
222
+ - test/dummy/public/422.html
223
+ - test/dummy/public/500.html
224
+ - test/dummy/public/favicon.ico
225
+ - test/dummy/Rakefile
226
+ - test/dummy/README.rdoc
227
+ - test/dummy/script/rails
228
+ - test/dummy/tmp/cache/assets/C8B/860/sprockets%2F9a20309f30129a77feb31838f098f297
229
+ - test/dummy/tmp/cache/assets/C9F/370/sprockets%2F6d84b4834154a897f9797341f84c5d8a
230
+ - test/dummy/tmp/cache/assets/D05/7B0/sprockets%2F9b922795f4e391b09eba001e060eda70
231
+ - test/dummy/tmp/cache/assets/D0B/440/sprockets%2F8565a250a235aa89c1e7d2dd313c967c
232
+ - test/dummy/tmp/cache/assets/D0C/C80/sprockets%2F7560d6986bb7c0abc7eb0208d606d067
233
+ - test/dummy/tmp/cache/assets/D3E/5E0/sprockets%2F68f0148a7ae28d9035be6f074ea24bd4
234
+ - test/dummy/tmp/cache/assets/D64/630/sprockets%2F3a23de71fb0a2645e5c65e06ecfa9360
235
+ - test/dummy/tmp/cache/assets/D78/ED0/sprockets%2F2f4b319ee6fe66da46d03f44f260f8c7
236
+ - test/dummy/tmp/cache/assets/D85/C90/sprockets%2F988d81085a8363a9c7fee1fd6d856aac
237
+ - test/dummy/tmp/cache/assets/D91/F30/sprockets%2Fc64d4adf0095e72bffcfbb3121f28610
238
+ - test/dummy/tmp/cache/assets/DA9/650/sprockets%2F8b9579b0e82dafaca76292c40b9af7a9
239
+ - test/dummy/tmp/cache/assets/DE1/BF0/sprockets%2F3f2f9e1f8922bad79bbe6a1df99ea691
240
+ - test/dummy/tmp/cache/assets/DE9/970/sprockets%2Fb043399a2cb9c64dfaa06b50affd5aa0
241
+ - test/dummy/tmp/cache/assets/DFB/530/sprockets%2Fdf9ec58f799cb8403abdad62a30fa2b1
242
+ - test/dummy/tmp/config/initializers/tumblr_omniauth.rb
243
+ - test/dummy/tmp/config/tumblr.yml
244
+ - test/functional/tumblr_rails/auth_controller_test.rb
245
+ - test/test_helper.rb
246
+ - test/unit/generators/tumblr/initialize_generator_test.rb
247
+ - test/unit/tumblr/app_auth_test.rb
248
+ - test/unit/tumblr/app_config_test.rb
249
+ - test/unit/tumblr/blog_info_test.rb
250
+ - test/unit/tumblr/blog_posts_test.rb
251
+ - test/unit/tumblr/user_test.rb