smartkiosk-server 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -5,6 +5,7 @@
5
5
  # git config --global core.excludesfile ~/.gitignore_global
6
6
 
7
7
  .DS_Store
8
+ /pkg/*
8
9
 
9
10
  # Ignore bundler config
10
11
  /.bundle
data/Gemfile CHANGED
@@ -68,4 +68,4 @@ group :development do
68
68
  gem 'i18n_yaml_sorter'
69
69
  end
70
70
 
71
- gem 'iso8583-mkb', :git => 'git://github.com/smartkiosk/iso8583-mkb.git'
71
+ gem 'iso8583-mkb', '0.0.1'
data/Gemfile.lock CHANGED
@@ -1,11 +1,3 @@
1
- GIT
2
- remote: git://github.com/smartkiosk/iso8583-mkb.git
3
- revision: dbeffaa276e763ddff20651a87e930e360f88640
4
- specs:
5
- iso8583-mkb (0.0.1)
6
- eventmachine
7
- iso8583
8
-
9
1
  GIT
10
2
  remote: https://github.com/guard/guard-spork.git
11
3
  revision: dbaa8531850347474d5a7ee626a9a2a64f7e653c
@@ -177,6 +169,9 @@ GEM
177
169
  has_scope (~> 0.5.0)
178
170
  responders (~> 0.6)
179
171
  iso8583 (0.1.4)
172
+ iso8583-mkb (0.0.1)
173
+ eventmachine
174
+ iso8583
180
175
  jdbc-postgres (9.2.1002)
181
176
  jdbc-sqlite3 (3.7.2)
182
177
  journey (1.0.4)
@@ -402,7 +397,7 @@ DEPENDENCIES
402
397
  guard-spork!
403
398
  haml
404
399
  i18n_yaml_sorter
405
- iso8583-mkb!
400
+ iso8583-mkb (= 0.0.1)
406
401
  jquery-rails
407
402
  jruby-openssl
408
403
  liquid
@@ -16,14 +16,11 @@ class TerminalProfile < ActiveRecord::Base
16
16
  accepts_nested_attributes_for :terminal_profile_provider_groups
17
17
 
18
18
  def actualize_links!
19
- group_ids = [-1] + terminal_profile_provider_groups.map{|x| x.provider_group_id}
20
- prov_ids = [-1] + terminal_profile_providers.map{|x| x.provider_id}
21
-
22
- ProviderGroup.where(ProviderGroup.arel_table[:id].not_in group_ids).each do |pg|
19
+ ProviderGroup.where(ProviderGroup.arel_table[:id].not_in TerminalProfileProviderGroup.arel_table.project(:provider_group_id)).each do |pg|
23
20
  terminal_profile_provider_groups << TerminalProfileProviderGroup.new(:provider_group_id => pg.id, :terminal_profile_id => id)
24
21
  end
25
22
 
26
- Provider.where(Provider.arel_table[:id].not_in prov_ids).each do |p|
23
+ Provider.where(Provider.arel_table[:id].not_in TerminalProfileProvider.arel_table.project(:provider_id)).each do |p|
27
24
  terminal_profile_providers << TerminalProfileProvider.new(:provider_id => p.id, :terminal_profile_id => id)
28
25
  end
29
26
  end
@@ -1,5 +1,5 @@
1
1
  module Smartkiosk
2
2
  module Server
3
- VERSION = '0.9.1'
3
+ VERSION = '0.9.2'
4
4
  end
5
5
  end
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.9.1
4
+ version: 0.9.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-02-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70109942827260 !ruby/object:Gem::Requirement
16
+ requirement: &70341322666080 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.2.11
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70109942827260
24
+ version_requirements: *70341322666080
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: matrioshka
27
- requirement: &70109942826720 !ruby/object:Gem::Requirement
27
+ requirement: &70341322665540 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 0.1.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70109942826720
35
+ version_requirements: *70341322665540
36
36
  description: Smartkiosk server application
37
37
  email:
38
38
  - boris@roundlake.ru
@@ -307,16 +307,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
307
307
  version: '0'
308
308
  segments:
309
309
  - 0
310
- hash: 3459367265776858922
310
+ hash: -3398683662999276899
311
311
  required_rubygems_version: !ruby/object:Gem::Requirement
312
312
  none: false
313
313
  requirements:
314
314
  - - ! '>='
315
315
  - !ruby/object:Gem::Version
316
316
  version: '0'
317
- segments:
318
- - 0
319
- hash: 3459367265776858922
320
317
  requirements: []
321
318
  rubyforge_project:
322
319
  rubygems_version: 1.8.15