fontana_client_support 0.6.1 → 0.6.2
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.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2IxYjNkNjhmOTg5ZTgwMzQ4YjU3ZjdhYTJkMzI1MDU5NTdmNzQ5NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTdjMGY5MTQ3YjJhZDZkZjk1MDE2ZTllNzgyYWY4MTFmMDNjMGZlZA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGM1Y2Q2YjJlZDhiOTY4MjZiNjZmZjNjNGQ2OTU1NGZmOGZmZDcxOGZjZTgx
|
10
|
+
Yzk0M2ZiMDg3MDljZWZkNmMwYmE0ZmRkNTZjM2MzOGUwYTQ4NjJhNWNmZjY0
|
11
|
+
YzI2ZjBjOTcxYjAyMGNkZjNkNTliNmYxYTEyODRjNTdiYWJmOTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODhkMmUxZDVjMDIxNzVkZGE0NmQ3OTI4NjU0NGQ4NzM5OWI1OGRiZGI4OThi
|
14
|
+
MGJiMDYzMmY4ZTM1ZWVjOWMwZTMyNTA4NTYxNmJmNTQzOGUxMzQzN2VlMjJl
|
15
|
+
MjQyMTMxNzY0NTlmMGQ1ZGJjN2VhZTVhOWU2ZGMzN2Y1YjViODY=
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
require 'fontana_client_support'
|
3
|
+
|
4
|
+
namespace :app_mode do
|
5
|
+
|
6
|
+
# desc "show app_mode"
|
7
|
+
task :show do
|
8
|
+
puts Fontana.app_mode.inspect
|
9
|
+
end
|
10
|
+
|
11
|
+
# 以下に:productionがありませんが、rakeタスクでproductionに設定することは想定できないので、敢えて作っていません。
|
12
|
+
|
13
|
+
# desc "set app_mode test"
|
14
|
+
task :test do
|
15
|
+
Fontana.app_mode = "test"
|
16
|
+
end
|
17
|
+
|
18
|
+
# desc "set app_mode development"
|
19
|
+
task :development do
|
20
|
+
Fontana.app_mode = "development"
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
|
25
|
+
desc "show app_mode"
|
26
|
+
task :app_model => :"app_mode:show"
|
@@ -27,7 +27,7 @@ end
|
|
27
27
|
http_env_str = build_env_str(http_env)
|
28
28
|
https_env_str = build_env_str(https_env)
|
29
29
|
|
30
|
-
desc "update VersionSet entries' versions and copy collections"
|
30
|
+
# desc "update VersionSet entries' versions and copy collections"
|
31
31
|
task(:update_version_set_entries) do
|
32
32
|
if ENV["GSS_VERSION_SET_FIXTURE_FILEPATH"]
|
33
33
|
system_at_vendor_fontana!(http_env_str + " rake version_set:update_entry_versions")
|
@@ -90,13 +90,13 @@ end
|
|
90
90
|
end
|
91
91
|
end
|
92
92
|
|
93
|
-
desc "error on ports listened by some server"
|
93
|
+
# desc "error on ports listened by some server"
|
94
94
|
task :error_on_ports_listened => [
|
95
95
|
:error_on_http_listened,
|
96
96
|
:error_on_https_listened,
|
97
97
|
]
|
98
98
|
|
99
|
-
desc "wait to listen ports"
|
99
|
+
# desc "wait to listen ports"
|
100
100
|
task :wait_to_listen_ports => [
|
101
101
|
:wait_to_listen_http,
|
102
102
|
:wait_to_listen_https,
|
@@ -127,7 +127,7 @@ end
|
|
127
127
|
end
|
128
128
|
end
|
129
129
|
|
130
|
-
desc "check #{app_mode} daemon alive"
|
130
|
+
# desc "check #{app_mode} daemon alive"
|
131
131
|
task :check_daemon_alive do
|
132
132
|
pids = Dir.glob(File.join(pid_dir, "#{app_mode}_*.pid")).to_a
|
133
133
|
unless pids.empty?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fontana_client_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akima
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -106,6 +106,7 @@ files:
|
|
106
106
|
- lib/fontana_client_support.rb
|
107
107
|
- lib/fontana_client_support/config_server.rb
|
108
108
|
- lib/fontana_client_support/tasks.rb
|
109
|
+
- lib/fontana_client_support/tasks/app_mode.rake
|
109
110
|
- lib/fontana_client_support/tasks/app_seed.rake
|
110
111
|
- lib/fontana_client_support/tasks/config_server.rake
|
111
112
|
- lib/fontana_client_support/tasks/deploy/scm.rake
|