bitballoon 0.0.5 → 0.0.6
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/lib/bitballoon/site.rb +2 -2
- data/lib/bitballoon/version.rb +1 -1
- metadata +1 -1
data/lib/bitballoon/site.rb
CHANGED
@@ -4,7 +4,7 @@ module BitBalloon
|
|
4
4
|
class Site < Model
|
5
5
|
fields :id, :state, :premium, :claimed, :name, :custom_domain, :url,
|
6
6
|
:admin_url, :deploy_url, :screenshot_url, :created_at, :updated_at,
|
7
|
-
:user_id, :required, :error_message
|
7
|
+
:password, :notification_email, :user_id, :required, :error_message
|
8
8
|
|
9
9
|
def upload_dir(dir)
|
10
10
|
return unless state == "uploading"
|
@@ -78,7 +78,7 @@ module BitBalloon
|
|
78
78
|
|
79
79
|
private
|
80
80
|
def mutable_attributes(attributes)
|
81
|
-
Hash[*[:name, :custom_domain, :notification_email].map {|key|
|
81
|
+
Hash[*[:name, :custom_domain, :password, :notification_email].map {|key|
|
82
82
|
if attributes.has_key?(key) || attributes.has_key?(key.to_s)
|
83
83
|
[key, attributes[key] || attributes[key.to_s]]
|
84
84
|
end
|
data/lib/bitballoon/version.rb
CHANGED