smartguard 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,6 +64,15 @@ module Smartguard
64
64
  FileUtils.mkdir_p "#{release}/tmp/pids"
65
65
 
66
66
  FileUtils.cd(release) do
67
+ Logging.logger.info "Symlinking"
68
+ FileUtils.rm_rf "config/services"
69
+ FileUtils.rm_rf "public/uploads"
70
+ FileUtils.ln_s "#{@shared_path.join 'config'}", "config/services"
71
+ FileUtils.ln_s "#{@shared_path.join 'uploads'}", "public/uploads"
72
+
73
+ FileUtils.rm_f "config/database.yml"
74
+ FileUtils.ln_s "services/database.yml", "config/database.yml"
75
+
67
76
  Logging.logger.info "Installing release gems"
68
77
  if !system("bundle", "install", "--local")
69
78
  raise "bundle failed"
@@ -78,15 +87,6 @@ module Smartguard
78
87
  if !system("bundle", "exec", "rake", "assets:precompile", "--trace", "RAILS_ENV=production")
79
88
  raise "asset precompilation failed"
80
89
  end
81
-
82
- Logging.logger.info "Symlinking"
83
- FileUtils.rm_rf "config/services"
84
- FileUtils.rm_rf "public/uploads"
85
- FileUtils.ln_s "#{@shared_path.join 'config'}", "config/services"
86
- FileUtils.ln_s "#{@shared_path.join 'uploads'}", "public/uploads"
87
-
88
- FileUtils.rm "config/database.yml"
89
- FileUtils.ln_s "services/database.yml", "config/database.yml"
90
90
  end
91
91
 
92
92
  self.stop_services
@@ -1,3 +1,3 @@
1
1
  module Smartguard
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartguard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-01-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: smartkiosk-common
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &70094018706080 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
24
+ version_requirements: *70094018706080
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: i18n
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &70094018705200 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ! '>='
@@ -37,15 +32,10 @@ dependencies:
37
32
  version: '0'
38
33
  type: :runtime
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
35
+ version_requirements: *70094018705200
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: activesupport
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &70094018704020 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ! '>='
@@ -53,15 +43,10 @@ dependencies:
53
43
  version: '0'
54
44
  type: :runtime
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
46
+ version_requirements: *70094018704020
62
47
  - !ruby/object:Gem::Dependency
63
48
  name: trollop
64
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &70094018719440 !ruby/object:Gem::Requirement
65
50
  none: false
66
51
  requirements:
67
52
  - - ! '>='
@@ -69,15 +54,10 @@ dependencies:
69
54
  version: '0'
70
55
  type: :runtime
71
56
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
57
+ version_requirements: *70094018719440
78
58
  - !ruby/object:Gem::Dependency
79
59
  name: colored
80
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &70094018718920 !ruby/object:Gem::Requirement
81
61
  none: false
82
62
  requirements:
83
63
  - - ! '>='
@@ -85,15 +65,10 @@ dependencies:
85
65
  version: '0'
86
66
  type: :runtime
87
67
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
68
+ version_requirements: *70094018718920
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: pry
96
- requirement: !ruby/object:Gem::Requirement
71
+ requirement: &70094018718220 !ruby/object:Gem::Requirement
97
72
  none: false
98
73
  requirements:
99
74
  - - ! '>='
@@ -101,12 +76,7 @@ dependencies:
101
76
  version: '0'
102
77
  type: :development
103
78
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
79
+ version_requirements: *70094018718220
110
80
  description: Smartguard is the Smartkiosk services control daemon
111
81
  email:
112
82
  - boris@roundlake.ru
@@ -156,8 +126,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
126
  version: '0'
157
127
  requirements: []
158
128
  rubyforge_project:
159
- rubygems_version: 1.8.24
129
+ rubygems_version: 1.8.15
160
130
  signing_key:
161
131
  specification_version: 3
162
132
  summary: Smartguard is the Smartkiosk services control daemon
163
133
  test_files: []
134
+ has_rdoc: