pixelforce_cms 0.9.1 → 0.9.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: 037ffbe77be770dba598fe0ccf8ffc4c24c7b88b
4
- data.tar.gz: 468d3c0d6efc80280fa4143d65b46df37394b93f
3
+ metadata.gz: 7ea5cd8b366d8975e62925ae04bff6459834741f
4
+ data.tar.gz: d9b04ff0f7e63b0d5f5578ea2bf5efb92a256723
5
5
  SHA512:
6
- metadata.gz: ddc96d447b222577656d62fb2abb141b9628c87a0246f45651569184556b05f58f8830e8fd96fcc34f3c84dcb42aeb8c8b0d8afb0b178baa85502f7a49248ea3
7
- data.tar.gz: c6cc2632087cfcc8c4e133810cee03d678868ac2869aaffbc42f7b3e6806e3405892ed598b8c413554435f54bd9e9d3569fa68034c5b2659076d08cb409b3c35
6
+ metadata.gz: b7f02a8eb9f2646fb2fd2ac6d2a86185b5724c2ceb2280996bac41a294c645f2b5007b86b3af62b8bc04030ccb6f1ef16a1c137736897be9a05e7b3cb99ea283
7
+ data.tar.gz: 78146c92ab36588703f7603ca8f228354d2ce21c4a613bb90718f9b1d4ea28d3047e4a60f057013043f8cfae4193ce5bc32c4a9d4eaa12fb3de25c1f0f1f8993
data/README.md CHANGED
@@ -19,9 +19,11 @@ Or install it yourself as:
19
19
  ## Usage
20
20
 
21
21
  Generate templates
22
+
22
23
  $ rails g pixelforce_cms:install
23
24
 
24
25
 
26
+
25
27
  TODO: Write usage instructions here
26
28
 
27
29
  ## Contributing
@@ -1,7 +1,11 @@
1
1
  require 'bundler/capistrano'
2
- set :rvm_ruby_string, '1.9.3'
2
+ set :rvm_ruby_string, '2.0.0'
3
3
  require "rvm/capistrano"
4
4
 
5
+ load "config/recipes/base"
6
+ load "config/recipes/unicorn"
7
+
8
+ default_run_options[:pty] = true
5
9
  set :application, '<%= @application_name %>'
6
10
  set :repository, 'git@bisplug.com:<%= @application_name %>.git'
7
11
  set :scm, :git
@@ -15,12 +19,13 @@ set :use_sudo, false
15
19
  set :deploy_via, :remote_cache
16
20
  set :db_local_clean, true
17
21
  set :locals_rails_env, "development"
22
+ set :server_address, "<%= @application_name %>.pixelforcesystems.com.au"
18
23
 
19
24
  # server "<%= @application_name %>.com.au", :app, :web, :db, :primary => true
20
- server "119.9.13.249", :app, :web, :db, :primary => true
21
25
 
22
26
  # if you want to clean up old releases on each deploy uncomment this:
23
- # after "deploy:restart", "deploy:cleanup"
27
+ after "deploy:restart", "deploy:cleanup"
28
+ after 'deploy:restart', 'unicorn:restart'
24
29
 
25
30
  # If you are using Passenger mod_rails uncomment this:
26
31
  namespace :deploy do
@@ -28,6 +33,5 @@ namespace :deploy do
28
33
  task :stop do ; end
29
34
  task :restart, :roles => :app, :except => { :no_release => true } do
30
35
  run "cd '/home/deploy/<%= @application_name %>/current' ; bundle exec rake db:migrate db:seed RAILS_ENV=production"
31
- run "touch #{File.join('/home/deploy/<%= @application_name %>/current','tmp','restart.txt')}"
32
36
  end
33
37
  end
@@ -16,7 +16,7 @@ namespace :unicorn do
16
16
  %w[start stop restart].each do |command|
17
17
  desc "#{command} unicorn"
18
18
  task command, roles: :web do
19
- run "#{sudo} service #{application} #{command}"
19
+ run "/etc/init.d/#{application} #{command}"
20
20
  end
21
21
  end
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module PixelforceCms
2
- VERSION = "0.9.1"
2
+ VERSION = "0.9.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pixelforce_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Zhang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-11 00:00:00.000000000 Z
11
+ date: 2013-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler