bushido 0.0.31 → 0.0.32

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module Bushido
2
2
  class EnvsController < ApplicationController
3
3
  # PUT /bushido/envs/:id
4
4
  def update
5
- if ENV["BUSHIDO_KEY"] != params[:key] or params[:id] == "BUSHIDO_KEY"
5
+ if ENV["BUSHIDO_APP_KEY"] != params[:key] or params[:id] == "BUSHIDO_KEY"
6
6
  respond_to do |format|
7
7
  format.html { render :layout => false, :text => true, :status => :forbidden }
8
8
  format.json { render :status => :unprocessable_entity }
@@ -1,4 +1,4 @@
1
1
  module Bushido
2
2
  # Current version of the Bushido gem
3
- VERSION = "0.0.31"
3
+ VERSION = "0.0.32"
4
4
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bushido
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.31
5
+ version: 0.0.32
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sean Grove