smartkiosk-server 0.11.10 → 0.11.11
Sign up to get free protection for your applications and to get access to all the features.
data/app/admin/providers.rb
CHANGED
@@ -179,6 +179,7 @@ ActiveAdmin.register Provider do
|
|
179
179
|
:style => ('display:none' unless fpf.object.kind == 'string')
|
180
180
|
},
|
181
181
|
:hint => I18n.t('smartkiosk.admin.messages.provider_fields.mask_hint')
|
182
|
+
fpf.input :groupping
|
182
183
|
fpf.input :regexp
|
183
184
|
fpf.input :values, :as => :string,
|
184
185
|
:wrapper_html => {
|
data/app/models/provider.rb
CHANGED
@@ -52,6 +52,6 @@ class Provider < ActiveRecord::Base
|
|
52
52
|
# METHODS
|
53
53
|
#
|
54
54
|
def fields_dump
|
55
|
-
provider_fields.as_json(:only => [:keyword, :title, :kind, :mask, :values, :priority])
|
55
|
+
provider_fields.as_json(:only => [:keyword, :title, :kind, :mask, :values, :priority, :regexp, :groupping])
|
56
56
|
end
|
57
57
|
end
|
data/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended to check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(:version =>
|
14
|
+
ActiveRecord::Schema.define(:version => 20130410085714) do
|
15
15
|
|
16
16
|
create_table "active_admin_comments", :force => true do |t|
|
17
17
|
t.string "resource_id", :null => false
|
@@ -215,6 +215,7 @@ ActiveRecord::Schema.define(:version => 20130325154559) do
|
|
215
215
|
t.integer "priority"
|
216
216
|
t.datetime "created_at", :null => false
|
217
217
|
t.datetime "updated_at", :null => false
|
218
|
+
t.string "groupping"
|
218
219
|
end
|
219
220
|
|
220
221
|
create_table "provider_gateways", :force => true do |t|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smartkiosk-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -261,6 +261,7 @@ files:
|
|
261
261
|
- db/migrate/20130217113617_add_last_session_started_at_to_terminals.rb
|
262
262
|
- db/migrate/20130217113740_create_session_records.rb
|
263
263
|
- db/migrate/20130325154559_add_externally_paid_to_payments.rb
|
264
|
+
- db/migrate/20130410085714_add_groupping_to_provider_fields.rb
|
264
265
|
- db/schema.rb
|
265
266
|
- db/seeds.rb
|
266
267
|
- db/seeds/receipt_templates/payment.txt
|
@@ -333,7 +334,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
333
334
|
version: '0'
|
334
335
|
segments:
|
335
336
|
- 0
|
336
|
-
hash:
|
337
|
+
hash: 1269099127532595486
|
337
338
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
338
339
|
none: false
|
339
340
|
requirements:
|