capistrano-websocket-rails 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 247d733c9f8f6fab2a696025e7b3ffc64e3d6001
4
- data.tar.gz: 67da028d4ec8ef17cb58d02eb7534a5ab9081e05
3
+ metadata.gz: 7fadcc0d4c6901f44da4dc7b48909b4294bb260a
4
+ data.tar.gz: 8fbeae605aee44ef1fd320b8d926eef835f426db
5
5
  SHA512:
6
- metadata.gz: d484475fe10a32e66dcda619d5cde7a08c55e316da538812aaf4a4fe3c90c866c811526f5c859f959eebc40c4a8cc54d43bbd75ef62ba044521182c893d4aa9e
7
- data.tar.gz: c174fa6167f154c08ef06d00a0ed32310441ea304f0a983de0aed28ff8a4e8fc851d8133db950d6062163f0e5dcbcc0f29109aca1de7b7d136e2a43101825197
6
+ metadata.gz: 9490fff58e806189b4100b4fbbb5ea29554c007f3193c73d7aff47d088e97142e0864c747caa76baf8b56d127dade16d23844f27361e889b431b1675dee25688
7
+ data.tar.gz: 829457aaed0398b27019c212039247a7be6b20b55e206b323840ab6aad0be14d6af94482c3cc150ae534b7baf47794243fbc73cd6efa0fb40b990bf29cbc3134
data/README.md CHANGED
@@ -1,41 +1,43 @@
1
- # Capistrano::Websocket::Rails
1
+ # Capistrano::WebsocketRails
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/capistrano/websocket/rails`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ WebsocketRails integration for Capistrano
6
4
 
7
5
  ## Installation
8
6
 
9
7
  Add this line to your application's Gemfile:
10
8
 
11
9
  ```ruby
12
- gem 'capistrano-websocket-rails'
10
+ gem 'capistrano-websocket-rails', group: :development
13
11
  ```
14
12
 
15
13
  And then execute:
16
14
 
17
15
  $ bundle
18
16
 
19
- Or install it yourself as:
20
-
21
- $ gem install capistrano-websocket-rails
22
-
23
17
  ## Usage
24
18
 
25
- TODO: Write usage instructions here
19
+ Add the following to your Capfile.
26
20
 
27
- ## Development
21
+ ```ruby
22
+ require 'capistrano/websocket-rails'
23
+ ```
28
24
 
29
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
25
+ Configurable options, shown here with defaults:
30
26
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
27
+ ```ruby
28
+ :websocket_rails_pid => current_path.join('tmp', 'pids', 'websocket_rails.pid')
29
+ :websocket_rails_env => fetch(:rack_env, fetch(:rails_env, fetch(:stage)))
30
+ :websocket_rails_role => :app
31
+ ```
32
32
 
33
33
  ## Contributing
34
34
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/capistrano-websocket-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
36
-
35
+ 1. Fork it
36
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
37
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
38
+ 4. Push to the branch (`git push origin my-new-feature`)
39
+ 5. Create new Pull Request
37
40
 
38
41
  ## License
39
42
 
40
43
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
-
@@ -1,5 +1,5 @@
1
1
  namespace :load do
2
- set :websocket_rails_pid, -> { current_path.join 'tmp', 'pids', 'websocket_rails.pid' }
2
+ set :websocket_rails_pid, -> { shared_path.join 'tmp', 'pids', 'websocket_rails.pid' }
3
3
  set :websocket_rails_env, -> { fetch :rack_env, fetch(:rails_env, fetch(:stage)) }
4
4
  set :websocket_rails_role, -> { :app }
5
5
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module WebsocketRails
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-websocket-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - MacKinley Smith