mina-puma 0.0.1 → 0.0.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: 3a250049aae0aa714f64469eb8fecbe5cd1d602d
4
- data.tar.gz: 8d7e298577edc8a715edaac8a33fd597f233f7d1
3
+ metadata.gz: 408d3d48674a553c92b3ab1d0cd63af0645ef776
4
+ data.tar.gz: 4171b4e13474abc07e454b14386df1a09dc87d9d
5
5
  SHA512:
6
- metadata.gz: 58f477f81b754df2c06ae6ada416b6391a81998cd5acb8d942f84c4bbca0c63db75be0338f04fae29538790fc7cf86de5671a98e6acdbd8c481d6bb65eb0c722
7
- data.tar.gz: ddba05cdfe892b3082082cd0b37d75222527d51c796b5f28432286c4d06c3f05ad572d5e9a0f0e847d22f755b01a268e7a9526c27e673dd1e1d8f7383e91ec21
6
+ metadata.gz: 685d7ac36e79f6dadf0a76aa7b30bc1da13ea392928e8d17c11d02dba27cfe536db6b33da1c8672a04fff93995da2c8aeb3fc1b180c561e249012b61ceb70a77
7
+ data.tar.gz: 0115371fed0ed3a8a804a5434d7e90c1fcadb00bb36ec69dbb62828f889e9098a5f0008dc9ed34297a0d698fc0579b7f42e8777af87c0e1c25c61c98f378f64d
data/README.md CHANGED
@@ -21,6 +21,9 @@ Or install it yourself as:
21
21
  # config/deploy.rb
22
22
  require 'mina/puma'
23
23
 
24
+ # Add pids and sockets to shared paths
25
+ set :shared_paths, %w(log tmp/pids tmp/sockets config/database.yml)
26
+
24
27
  ...
25
28
  task :setup do
26
29
  queue! %[mkdir -p "{deploy_to}/shared/tmp/pids/"]
@@ -22,8 +22,8 @@
22
22
  # end
23
23
  # end
24
24
 
25
- set_default :puma_pid, "#{deploy_to}/#{shared_path}/tmp/pids/puma.pid"
26
- set_default :puma_socket, "#{deploy_to}/#{shared_path}/tmp/sockets/puma.sock"
25
+ set_default :puma_pid, -> { "#{deploy_to}/#{shared_path}/tmp/pids/puma.pid" }
26
+ set_default :puma_socket, -> { "#{deploy_to}/#{shared_path}/tmp/sockets/puma.sock" }
27
27
 
28
28
  namespace :puma do
29
29
  desc 'Start puma'
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module Puma
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-puma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Sandelius