heroku_config_vars 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -26,6 +26,13 @@ otherwise the url_helper will raise a `ActionController::RoutingError`. e.g.
26
26
  end
27
27
  ```
28
28
 
29
+ ## Security
30
+
31
+ HerokuConfigVars aims to be secure by default.
32
+
33
+ * Every request needs to be authorized by your application.
34
+ * Non SSL requests are confirmed by the user before they're loaded.
35
+
29
36
  ## Setup
30
37
 
31
38
  0. (Test it works in development)
@@ -1,5 +1,5 @@
1
1
  module HerokuConfigVars
2
- class HerokuAppsController < ApplicationController
2
+ class HerokuAppsController < HerokuConfigVars::ApplicationController
3
3
 
4
4
  before_filter :require_heroku_app, :only => [:show, :edit, :update]
5
5
 
@@ -1,3 +1,3 @@
1
1
  module HerokuConfigVars
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -13225,3 +13225,195 @@ Processing by HerokuConfigVars::HerokuAppsController#edit as HTML
13225
13225
  Connecting to Heroku
13226
13226
  Loading config
13227
13227
  Completed 200 OK in 4ms (Views: 2.4ms)
13228
+ Started GET "/heroku_config_vars/heroku_app" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13229
+ Processing by HerokuConfigVars::HerokuAppsController#show as HTML
13230
+ Connecting to Heroku
13231
+ Loading config
13232
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/show.html.erb within layouts/heroku_config_vars/application (2.0ms)
13233
+ Completed 200 OK in 13ms (Views: 10.3ms)
13234
+ Started GET "/heroku_config_vars/" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13235
+ Processing by HerokuConfigVars::HerokuAppsController#show as HTML
13236
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/application/recommend_https.html.erb within layouts/heroku_config_vars/application (1.0ms)
13237
+ Filter chain halted as :recommend_https rendered or redirected
13238
+ Completed 200 OK in 9ms (Views: 8.4ms)
13239
+ Started GET "/heroku_config_vars/heroku_app" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13240
+ Processing by HerokuConfigVars::HerokuAppsController#show as HTML
13241
+ Redirected to https://www.example.com/heroku_config_vars/heroku_app/new
13242
+ Filter chain halted as :require_heroku_app rendered or redirected
13243
+ Completed 302 Found in 6ms
13244
+ Started GET "/heroku_config_vars/heroku_app/new" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13245
+ Processing by HerokuConfigVars::HerokuAppsController#new as HTML
13246
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/_errors.html.erb (1.0ms)
13247
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/new.html.erb within layouts/heroku_config_vars/application (6.1ms)
13248
+ Completed 200 OK in 9ms (Views: 8.3ms)
13249
+ Started GET "/heroku_config_vars/" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13250
+ Processing by HerokuConfigVars::HerokuAppsController#show as HTML
13251
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/application/recommend_https.html.erb within layouts/heroku_config_vars/application (0.4ms)
13252
+ Filter chain halted as :recommend_https rendered or redirected
13253
+ Completed 200 OK in 2ms (Views: 1.8ms)
13254
+ Started GET "/heroku_config_vars/heroku_app?insecure=ok" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13255
+ Processing by HerokuConfigVars::HerokuAppsController#show as HTML
13256
+ Parameters: {"insecure"=>"ok"}
13257
+ Redirected to http://www.example.com/heroku_config_vars/heroku_app/new
13258
+ Filter chain halted as :require_heroku_app rendered or redirected
13259
+ Completed 302 Found in 1ms
13260
+ Started GET "/heroku_config_vars/heroku_app/new" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13261
+ Processing by HerokuConfigVars::HerokuAppsController#new as HTML
13262
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/_errors.html.erb (0.4ms)
13263
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/new.html.erb within layouts/heroku_config_vars/application (1.3ms)
13264
+ Completed 200 OK in 3ms (Views: 2.3ms)
13265
+ Started GET "/heroku_config_vars/" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13266
+ Processing by HerokuConfigVars::HerokuAppsController#show as HTML
13267
+ Redirected to http://www.example.com/heroku_config_vars/heroku_app/new
13268
+ Filter chain halted as :require_heroku_app rendered or redirected
13269
+ Completed 302 Found in 1ms
13270
+ Started GET "/heroku_config_vars/heroku_app/new" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13271
+ Processing by HerokuConfigVars::HerokuAppsController#new as HTML
13272
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/_errors.html.erb (0.4ms)
13273
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/new.html.erb within layouts/heroku_config_vars/application (1.1ms)
13274
+ Completed 200 OK in 3ms (Views: 2.0ms)
13275
+ Started GET "/heroku_config_vars/heroku_app" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13276
+ Processing by HerokuConfigVars::HerokuAppsController#show as HTML
13277
+ Connecting to Heroku
13278
+ Loading config
13279
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/show.html.erb within layouts/heroku_config_vars/application (0.3ms)
13280
+ Completed 200 OK in 3ms (Views: 1.5ms)
13281
+ Started GET "/heroku_config_vars/heroku_app/edit" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13282
+ Processing by HerokuConfigVars::HerokuAppsController#edit as HTML
13283
+ Connecting to Heroku
13284
+ Loading config
13285
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/edit.html.erb within layouts/heroku_config_vars/application (2.3ms)
13286
+ Completed 200 OK in 6ms (Views: 4.0ms)
13287
+ Started PUT "/heroku_config_vars/heroku_app" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13288
+ Processing by HerokuConfigVars::HerokuAppsController#update as HTML
13289
+ Parameters: {"utf8"=>"✓", "heroku_app"=>{"vars"=>{"VAR1"=>"value 1", "VAR2"=>"value 2 updated", "VAR3"=>"value 3", "VAR4"=>"value 4"}}, "remove"=>{"VAR1"=>"1"}, "add"=>[{"key"=>"NEW_KEY", "value"=>"a new value"}], "commit"=>"Prepare..."}
13290
+ Connecting to Heroku
13291
+ Loading config
13292
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/confirmation.html.erb within layouts/heroku_config_vars/application (1.9ms)
13293
+ Completed 200 OK in 6ms (Views: 4.2ms)
13294
+ Started PUT "/heroku_config_vars/heroku_app?confirmation=true" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13295
+ Processing by HerokuConfigVars::HerokuAppsController#update as HTML
13296
+ Parameters: {"utf8"=>"✓", "heroku_app"=>{"vars"=>{"VAR2"=>"value 2 updated", "VAR3"=>"value 3", "VAR4"=>"value 4", "NEW_KEY"=>"a new value"}}, "commit"=>"Update and restart app", "confirmation"=>"true"}
13297
+ Connecting to Heroku
13298
+ Loading config
13299
+ Updating config
13300
+ Connecting to Heroku
13301
+ deleting VAR1
13302
+ Connecting to Heroku
13303
+ Redirected to https://www.example.com/heroku_config_vars/heroku_app/edit
13304
+ Completed 302 Found in 5ms
13305
+ Started GET "/heroku_config_vars/heroku_app/edit" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13306
+ Processing by HerokuConfigVars::HerokuAppsController#edit as HTML
13307
+ Connecting to Heroku
13308
+ Loading config
13309
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/edit.html.erb within layouts/heroku_config_vars/application (1.5ms)
13310
+ Completed 200 OK in 4ms (Views: 2.6ms)
13311
+ Started GET "/heroku_config_vars/heroku_app/edit" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13312
+ Processing by HerokuConfigVars::HerokuAppsController#edit as HTML
13313
+ Connecting to Heroku
13314
+ Loading config
13315
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/edit.html.erb within layouts/heroku_config_vars/application (1.6ms)
13316
+ Completed 200 OK in 5ms (Views: 3.1ms)
13317
+ Started GET "/heroku_config_vars/heroku_app" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13318
+ Processing by HerokuConfigVars::HerokuAppsController#show as HTML
13319
+ Connecting to Heroku
13320
+ Loading config
13321
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/show.html.erb within layouts/heroku_config_vars/application (16.3ms)
13322
+ Completed 200 OK in 19ms (Views: 17.8ms)
13323
+ Started GET "/heroku_config_vars/heroku_app/edit" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13324
+ Processing by HerokuConfigVars::HerokuAppsController#edit as HTML
13325
+ Connecting to Heroku
13326
+ Loading config
13327
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/edit.html.erb within layouts/heroku_config_vars/application (1.7ms)
13328
+ Completed 200 OK in 5ms (Views: 2.9ms)
13329
+ Started PUT "/heroku_config_vars/heroku_app" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13330
+ Processing by HerokuConfigVars::HerokuAppsController#update as HTML
13331
+ Parameters: {"utf8"=>"✓", "heroku_app"=>{"vars"=>{"VAR1"=>"value 1", "VAR2"=>"value 2 updated", "VAR3"=>"value 3", "VAR4"=>"value 4"}}, "remove"=>{"VAR1"=>"1"}, "add"=>[{"key"=>"NEW_KEY", "value"=>"a new value"}], "commit"=>"Prepare..."}
13332
+ Connecting to Heroku
13333
+ Loading config
13334
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/confirmation.html.erb within layouts/heroku_config_vars/application (0.9ms)
13335
+ Completed 200 OK in 4ms (Views: 2.1ms)
13336
+ Started GET "/heroku_config_vars/heroku_app/edit" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13337
+ Processing by HerokuConfigVars::HerokuAppsController#edit as HTML
13338
+ Connecting to Heroku
13339
+ Loading config
13340
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/edit.html.erb within layouts/heroku_config_vars/application (1.5ms)
13341
+ Completed 200 OK in 4ms (Views: 2.7ms)
13342
+ Started GET "/heroku_config_vars/heroku_app" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13343
+ Processing by HerokuConfigVars::HerokuAppsController#show as HTML
13344
+ Connecting to Heroku
13345
+ Loading config
13346
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/show.html.erb within layouts/heroku_config_vars/application (0.2ms)
13347
+ Completed 200 OK in 3ms (Views: 1.4ms)
13348
+ Started GET "/heroku_config_vars/heroku_app/edit" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13349
+ Processing by HerokuConfigVars::HerokuAppsController#edit as HTML
13350
+ Connecting to Heroku
13351
+ Loading config
13352
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/edit.html.erb within layouts/heroku_config_vars/application (1.5ms)
13353
+ Completed 200 OK in 4ms (Views: 2.6ms)
13354
+ Started GET "/heroku_config_vars/heroku_app" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13355
+ Processing by HerokuConfigVars::HerokuAppsController#show as HTML
13356
+ Connecting to Heroku
13357
+ Loading config
13358
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/show.html.erb within layouts/heroku_config_vars/application (0.3ms)
13359
+ Completed 200 OK in 3ms (Views: 1.4ms)
13360
+ Connecting to Heroku
13361
+ Loading config
13362
+ Connecting to Heroku
13363
+ Loading config
13364
+ Connecting to Heroku
13365
+ Loading config
13366
+ Connecting to Heroku
13367
+ Loading config
13368
+ Started GET "/heroku_config_vars/heroku_app/new" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13369
+ Processing by HerokuConfigVars::HerokuAppsController#new as HTML
13370
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/_errors.html.erb (0.5ms)
13371
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/new.html.erb within layouts/heroku_config_vars/application (1.3ms)
13372
+ Completed 200 OK in 4ms (Views: 2.6ms)
13373
+ Started POST "/heroku_config_vars/heroku_app" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13374
+ Processing by HerokuConfigVars::HerokuAppsController#create as HTML
13375
+ Parameters: {"utf8"=>"✓", "heroku_app"=>{"app_name"=>"", "api_key"=>""}, "commit"=>"Save"}
13376
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/_errors.html.erb (0.5ms)
13377
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/new.html.erb within layouts/heroku_config_vars/application (1.5ms)
13378
+ Completed 200 OK in 4ms (Views: 2.9ms)
13379
+ Started GET "/heroku_config_vars/" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13380
+ Processing by HerokuConfigVars::HerokuAppsController#show as HTML
13381
+ Redirected to https://www.example.com/heroku_config_vars/heroku_app/new
13382
+ Filter chain halted as :require_heroku_app rendered or redirected
13383
+ Completed 302 Found in 1ms
13384
+ Started GET "/heroku_config_vars/heroku_app/new" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13385
+ Processing by HerokuConfigVars::HerokuAppsController#new as HTML
13386
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/_errors.html.erb (0.4ms)
13387
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/new.html.erb within layouts/heroku_config_vars/application (1.4ms)
13388
+ Completed 200 OK in 4ms (Views: 2.6ms)
13389
+ Started GET "/heroku_config_vars/heroku_app/new" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13390
+ Processing by HerokuConfigVars::HerokuAppsController#new as HTML
13391
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/_errors.html.erb (0.4ms)
13392
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/new.html.erb within layouts/heroku_config_vars/application (1.3ms)
13393
+ Completed 200 OK in 3ms (Views: 2.5ms)
13394
+ Started POST "/heroku_config_vars/heroku_app" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13395
+ Processing by HerokuConfigVars::HerokuAppsController#create as HTML
13396
+ Parameters: {"utf8"=>"✓", "heroku_app"=>{"app_name"=>"valid_app_name", "api_key"=>"valid_api_key"}, "commit"=>"Save"}
13397
+ Updating config
13398
+ Connecting to Heroku
13399
+ Redirected to https://www.example.com/heroku_config_vars/heroku_app
13400
+ Completed 302 Found in 2ms
13401
+ Started GET "/heroku_config_vars/heroku_app" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13402
+ Processing by HerokuConfigVars::HerokuAppsController#show as HTML
13403
+ Connecting to Heroku
13404
+ Loading config
13405
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/show.html.erb within layouts/heroku_config_vars/application (0.3ms)
13406
+ Completed 200 OK in 3ms (Views: 1.7ms)
13407
+ Started GET "/heroku_config_vars/heroku_app/new" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13408
+ Processing by HerokuConfigVars::HerokuAppsController#new as HTML
13409
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/_errors.html.erb (0.5ms)
13410
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/heroku_apps/new.html.erb within layouts/heroku_config_vars/application (1.4ms)
13411
+ Completed 200 OK in 4ms (Views: 2.7ms)
13412
+ Started GET "/heroku_config_vars/env" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13413
+ Processing by HerokuConfigVars::ApplicationController#env as HTML
13414
+ Rendered /Users/danielfone/Production/personal/heroku_config_vars/app/views/heroku_config_vars/application/env.html.erb within layouts/heroku_config_vars/application (1.2ms)
13415
+ Completed 200 OK in 4ms (Views: 3.8ms)
13416
+ Started GET "/heroku_config_vars/?admin=false" for 127.0.0.1 at 2013-03-21 20:44:49 +1300
13417
+ Processing by HerokuConfigVars::HerokuAppsController#show as HTML
13418
+ Parameters: {"admin"=>"false"}
13419
+ Completed 404 Not Found in 0ms
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: heroku_config_vars
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.1
5
+ version: 1.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Fone
@@ -234,7 +234,6 @@ files:
234
234
  - spec/dummy/tmp/capybara/capybara-201302200948319507521481.html
235
235
  - spec/dummy/tmp/capybara/capybara-20130220094839395273181.html
236
236
  - spec/dummy/tmp/capybara/capybara-201303191317084976807424.html
237
- - spec/dummy/tmp/pids/server.pid
238
237
  - spec/features/config_vars/edit_spec.rb
239
238
  - spec/features/config_vars/show_spec.rb
240
239
  - spec/features/env/show_spec.rb
@@ -260,7 +259,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
260
259
  version: '0'
261
260
  segments:
262
261
  - 0
263
- hash: 2445428095043158372
262
+ hash: 3022254310143536717
264
263
  none: false
265
264
  required_rubygems_version: !ruby/object:Gem::Requirement
266
265
  requirements:
@@ -269,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
268
  version: '0'
270
269
  segments:
271
270
  - 0
272
- hash: 2445428095043158372
271
+ hash: 3022254310143536717
273
272
  none: false
274
273
  requirements: []
275
274
  rubyforge_project:
@@ -340,7 +339,6 @@ test_files:
340
339
  - spec/dummy/tmp/capybara/capybara-201302200948319507521481.html
341
340
  - spec/dummy/tmp/capybara/capybara-20130220094839395273181.html
342
341
  - spec/dummy/tmp/capybara/capybara-201303191317084976807424.html
343
- - spec/dummy/tmp/pids/server.pid
344
342
  - spec/features/config_vars/edit_spec.rb
345
343
  - spec/features/config_vars/show_spec.rb
346
344
  - spec/features/env/show_spec.rb
@@ -1 +0,0 @@
1
- 42902