soapbox 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.5
1
+ 0.2.6
@@ -14,7 +14,11 @@
14
14
 
15
15
  <%= form.inputs do -%>
16
16
  <%= form.input :name %>
17
- <%= form.input :value %>
17
+ <% if @setting.name.index("password") %>
18
+ <%= form.input :value, :as => :password %>
19
+ <% else %>
20
+ <%= form.input :value %>
21
+ <% end %>
18
22
  <%= form.input :note %>
19
23
  <%- end -%>
20
24
 
@@ -26,7 +26,9 @@
26
26
  end %>
27
27
  <% val = eval(field_values[field.to_sym]) rescue row.send(field.to_sym) rescue "" %>
28
28
  <% ftype = row.column_for_attribute(field.to_s) ? row.column_for_attribute(field.to_s).sql_type : nil %>
29
- <% if ftype == "tinyint(1)" || ftype == "boolean" %>
29
+ <% if ((row.name.index("password") && field.to_s == "value") rescue false) %>
30
+ <td>****</td>
31
+ <% elsif ftype == "tinyint(1)" || ftype == "boolean" %>
30
32
  <td>
31
33
  <%= check_box_tag "#{row.class.to_s.underscore}[#{field}]", 'true', val,
32
34
  :"data-remote" => true, :method => "put",
@@ -236,12 +236,12 @@ class CreateSoapboxTables < ActiveRecord::Migration
236
236
  Plugin.create(:title => "Users", :route => "admin_users_path", :active => true)
237
237
  Plugin.create(:title => "Files", :route => "admin_attachments_path", :active => true)
238
238
 
239
- Plugin.create(:title => "Menus", :route => "admin_menus_path", :active => true, :parent_id => Page.find_by_title("Page").id)
240
- Plugin.create(:title => "Redirects", :route => "admin_redirects_path", :active => true, :parent_id => Page.find_by_title("Page").id)
241
- Plugin.create(:title => "Organize", :route => "tree_admin_pages_path", :active => true, :parent_id => Page.find_by_title("Page").id)
239
+ Plugin.create(:title => "Menus", :route => "admin_menus_path", :active => true, :parent_id => Plugin.find_by_title("Pages").id)
240
+ Plugin.create(:title => "Redirects", :route => "admin_redirects_path", :active => true, :parent_id => Plugin.find_by_title("Pages").id)
241
+ Plugin.create(:title => "Organize", :route => "tree_admin_pages_path", :active => true, :parent_id => Plugin.find_by_title("Pages").id)
242
242
 
243
- Plugin.create(:title => "Groups", :route => "admin_groups_path", :active => true, :parent_id => Page.find_by_title("Users").id)
244
- Plugin.create(:title => "Members", :route => "admin_members_path", :active => true, :parent_id => Page.find_by_title("Users").id)
243
+ Plugin.create(:title => "Groups", :route => "admin_groups_path", :active => true, :parent_id => Plugin.find_by_title("Users").id)
244
+ Plugin.create(:title => "Members", :route => "admin_members_path", :active => true, :parent_id => Plugin.find_by_title("Users").id)
245
245
 
246
246
  Setting.create({:name => "site_name", :value => "Soapbox Site"})
247
247
  Setting.create({:name => "admin_email", :value => "info@mydomain.com"})
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{soapbox}
8
- s.version = "0.2.5"
8
+ s.version = "0.2.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Gabe Coyne}, %q{Killit Creative}]
12
- s.date = %q{2011-09-27}
12
+ s.date = %q{2011-10-11}
13
13
  s.description = %q{manage pages, users, permissions, settings, analytics, files, users, and extend}
14
14
  s.email = %q{gabe@killitcreative.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soapbox
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 5
10
- version: 0.2.5
9
+ - 6
10
+ version: 0.2.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gabe Coyne
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-09-27 00:00:00 Z
19
+ date: 2011-10-11 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  version_requirements: &id001 !ruby/object:Gem::Requirement
@@ -32,8 +32,8 @@ dependencies:
32
32
  version: 3.0.0
33
33
  type: :runtime
34
34
  requirement: *id001
35
- name: rails
36
35
  prerelease: false
36
+ name: rails
37
37
  - !ruby/object:Gem::Dependency
38
38
  version_requirements: &id002 !ruby/object:Gem::Requirement
39
39
  none: false
@@ -48,8 +48,8 @@ dependencies:
48
48
  version: 1.1.2
49
49
  type: :runtime
50
50
  requirement: *id002
51
- name: devise
52
51
  prerelease: false
52
+ name: devise
53
53
  - !ruby/object:Gem::Dependency
54
54
  version_requirements: &id003 !ruby/object:Gem::Requirement
55
55
  none: false
@@ -64,8 +64,8 @@ dependencies:
64
64
  version: 1.2.3
65
65
  type: :runtime
66
66
  requirement: *id003
67
- name: formtastic
68
67
  prerelease: false
68
+ name: formtastic
69
69
  - !ruby/object:Gem::Dependency
70
70
  version_requirements: &id004 !ruby/object:Gem::Requirement
71
71
  none: false
@@ -80,8 +80,8 @@ dependencies:
80
80
  version: 0.1.13
81
81
  type: :runtime
82
82
  requirement: *id004
83
- name: polypaperclip
84
83
  prerelease: false
84
+ name: polypaperclip
85
85
  - !ruby/object:Gem::Dependency
86
86
  version_requirements: &id005 !ruby/object:Gem::Requirement
87
87
  none: false
@@ -94,8 +94,8 @@ dependencies:
94
94
  version: "2"
95
95
  type: :runtime
96
96
  requirement: *id005
97
- name: paper_trail
98
97
  prerelease: false
98
+ name: paper_trail
99
99
  - !ruby/object:Gem::Dependency
100
100
  version_requirements: &id006 !ruby/object:Gem::Requirement
101
101
  none: false
@@ -110,8 +110,8 @@ dependencies:
110
110
  version: 2.3.15
111
111
  type: :runtime
112
112
  requirement: *id006
113
- name: will_paginate
114
113
  prerelease: false
114
+ name: will_paginate
115
115
  - !ruby/object:Gem::Dependency
116
116
  version_requirements: &id007 !ruby/object:Gem::Requirement
117
117
  none: false
@@ -124,8 +124,8 @@ dependencies:
124
124
  version: "0"
125
125
  type: :runtime
126
126
  requirement: *id007
127
- name: acts-as-taggable-on
128
127
  prerelease: false
128
+ name: acts-as-taggable-on
129
129
  - !ruby/object:Gem::Dependency
130
130
  version_requirements: &id008 !ruby/object:Gem::Requirement
131
131
  none: false
@@ -139,8 +139,8 @@ dependencies:
139
139
  version: "3.1"
140
140
  type: :runtime
141
141
  requirement: *id008
142
- name: friendly_id
143
142
  prerelease: false
143
+ name: friendly_id
144
144
  - !ruby/object:Gem::Dependency
145
145
  version_requirements: &id009 !ruby/object:Gem::Requirement
146
146
  none: false
@@ -155,8 +155,8 @@ dependencies:
155
155
  version: 1.2.2
156
156
  type: :runtime
157
157
  requirement: *id009
158
- name: inherited_resources
159
158
  prerelease: false
159
+ name: inherited_resources
160
160
  - !ruby/object:Gem::Dependency
161
161
  version_requirements: &id010 !ruby/object:Gem::Requirement
162
162
  none: false
@@ -169,8 +169,8 @@ dependencies:
169
169
  version: "0"
170
170
  type: :runtime
171
171
  requirement: *id010
172
- name: acts_as_indexed
173
172
  prerelease: false
173
+ name: acts_as_indexed
174
174
  - !ruby/object:Gem::Dependency
175
175
  version_requirements: &id011 !ruby/object:Gem::Requirement
176
176
  none: false
@@ -183,8 +183,8 @@ dependencies:
183
183
  version: "0"
184
184
  type: :runtime
185
185
  requirement: *id011
186
- name: aws-s3
187
186
  prerelease: false
187
+ name: aws-s3
188
188
  - !ruby/object:Gem::Dependency
189
189
  version_requirements: &id012 !ruby/object:Gem::Requirement
190
190
  none: false
@@ -197,8 +197,8 @@ dependencies:
197
197
  version: "0"
198
198
  type: :runtime
199
199
  requirement: *id012
200
- name: acts_as_tree
201
200
  prerelease: false
201
+ name: acts_as_tree
202
202
  - !ruby/object:Gem::Dependency
203
203
  version_requirements: &id013 !ruby/object:Gem::Requirement
204
204
  none: false
@@ -211,8 +211,8 @@ dependencies:
211
211
  version: "0"
212
212
  type: :runtime
213
213
  requirement: *id013
214
- name: acts_as_list
215
214
  prerelease: false
215
+ name: acts_as_list
216
216
  - !ruby/object:Gem::Dependency
217
217
  version_requirements: &id014 !ruby/object:Gem::Requirement
218
218
  none: false
@@ -225,8 +225,8 @@ dependencies:
225
225
  version: "0"
226
226
  type: :runtime
227
227
  requirement: *id014
228
- name: garb
229
228
  prerelease: false
229
+ name: garb
230
230
  - !ruby/object:Gem::Dependency
231
231
  version_requirements: &id015 !ruby/object:Gem::Requirement
232
232
  none: false
@@ -239,8 +239,8 @@ dependencies:
239
239
  version: "0"
240
240
  type: :runtime
241
241
  requirement: *id015
242
- name: bartt-ssl_requirement
243
242
  prerelease: false
243
+ name: bartt-ssl_requirement
244
244
  - !ruby/object:Gem::Dependency
245
245
  version_requirements: &id016 !ruby/object:Gem::Requirement
246
246
  none: false
@@ -253,8 +253,8 @@ dependencies:
253
253
  version: "0"
254
254
  type: :development
255
255
  requirement: *id016
256
- name: shoulda
257
256
  prerelease: false
257
+ name: shoulda
258
258
  - !ruby/object:Gem::Dependency
259
259
  version_requirements: &id017 !ruby/object:Gem::Requirement
260
260
  none: false
@@ -269,8 +269,8 @@ dependencies:
269
269
  version: 1.0.0
270
270
  type: :development
271
271
  requirement: *id017
272
- name: bundler
273
272
  prerelease: false
273
+ name: bundler
274
274
  - !ruby/object:Gem::Dependency
275
275
  version_requirements: &id018 !ruby/object:Gem::Requirement
276
276
  none: false
@@ -285,8 +285,8 @@ dependencies:
285
285
  version: 1.6.0
286
286
  type: :development
287
287
  requirement: *id018
288
- name: jeweler
289
288
  prerelease: false
289
+ name: jeweler
290
290
  - !ruby/object:Gem::Dependency
291
291
  version_requirements: &id019 !ruby/object:Gem::Requirement
292
292
  none: false
@@ -299,8 +299,8 @@ dependencies:
299
299
  version: "0"
300
300
  type: :development
301
301
  requirement: *id019
302
- name: rcov
303
302
  prerelease: false
303
+ name: rcov
304
304
  description: manage pages, users, permissions, settings, analytics, files, users, and extend
305
305
  email: gabe@killitcreative.com
306
306
  executables: []