fontana_client_support 0.8.1 → 0.8.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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd1df0580d18385443b09b58a9e84e912c86ae3b
4
- data.tar.gz: a16226f93506b90fa281cd84d9f0c631d5bcc2c4
3
+ metadata.gz: b1e0eaee551b52935db2ca937c66dfc967885e68
4
+ data.tar.gz: ee41bfa52d5daca6d1a95c83caca2e84c9f798ec
5
5
  SHA512:
6
- metadata.gz: 6c20ca74ea7432989b4483dd21e568c512c3ba7a9d7c12c52d93e856da3969c38cdd2854fe732d543e44e055c19c2feabdecddfd26d036998b88bc266ec7c737
7
- data.tar.gz: 5ed88c5ee9328d00aaa374a80b2567b4ae75cf97e3a8b53af5d9ef59747c228da94f515d2de1a8a2f34e80c6a7749dcadad30e46bb9b732758fcfcd3075dfe48
6
+ metadata.gz: 834f2c77e2c8aad990b4927bc91db09245ab5c500831c310ca9674e97edf68dad2f8ca0553b14919f66a36be3aa14544d9e0dd673fe25214ca65dd24f715b240
7
+ data.tar.gz: 33833900e67a517676f7b52591723433ece9e31835d5f985d39568e0bb7ddc1fbeed19caf83e380967ac4fba51e2966531a90fb30649d9e2bb2c49893eff11cb
@@ -7,9 +7,6 @@ namespace :deploy do
7
7
  # このタスク群は sync:* と対になっています。
8
8
  namespace_with_fontana :scm, :"app:scm" do
9
9
 
10
- set_url_and_branch = ->{
11
- }
12
-
13
10
  desc "deploy:scm:setup + clone (+ checkout branch) + deploy:scm:update."
14
11
  fontana_task :reset, env: {
15
12
  'URL' => FontanaClientSupport.repo_url,
@@ -19,6 +16,9 @@ namespace :deploy do
19
16
  desc "drop DB, initialize, clear runtime workspace."
20
17
  fontana_task :setup
21
18
 
19
+ desc "update files to scm"
20
+ fontana_task :update_files
21
+
22
22
  desc "fetch, checkout, build app_seed and migrate."
23
23
  fontana_task :update
24
24
 
@@ -7,19 +7,21 @@ namespace :deploy do
7
7
  # このタスク群は scm:* と対になっています。
8
8
  namespace_with_fontana :sync, :"app:sync" do
9
9
 
10
- runtime_source = ->{
11
- ENV["RUNTIME_SOURCE"] = File.expand_path(".", FontanaClientSupport.root_dir)
10
+ env = {
11
+ "RUNTIME_SOURCE" => File.expand_path(".", FontanaClientSupport.root_dir)
12
12
  }
13
13
 
14
-
15
14
  desc "deploy:sync:setup + deploy:sync:update"
16
- fontana_task :reset, before: runtime_source
15
+ fontana_task :reset, env: env
17
16
 
18
17
  desc "drop DB + initialize DB + clear runtime workspace. same as app:sync:setup"
19
18
  fontana_task :setup
20
19
 
21
- desc "update runtime + app_seed:build_from_runtime + migrate."
22
- fontana_task :update, before: runtime_source
20
+ desc "update files to untime"
21
+ fontana_task :update_files, env: env
22
+
23
+ desc "update files to runtime + app_seed:build_from_runtime + migrate."
24
+ fontana_task :update, env: env
23
25
 
24
26
  desc "db:drop, db:seed, app_seed:build_from_runtime + migrate."
25
27
  fontana_task :reset_db
@@ -1,3 +1,3 @@
1
1
  module FontanaClientSupport
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
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.8.1
4
+ version: 0.8.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-09-26 00:00:00.000000000 Z
11
+ date: 2013-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler