capistrano-simple_systemd 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 4ad107438dc47d0e0e3d7836a650c9e01872de82ba39779f446376d8389f7829
4
- data.tar.gz: 102cd883ec4fcb1532a738aa6bafd0462d96a76ece0e28f66f545818a152500a
3
+ metadata.gz: cda40e1475446c76a2540b874302e2d10390000568f0a1f74674dfbe27115d6d
4
+ data.tar.gz: 2eeaee0344715bc9bbfbe385ce7f09208d071675afb9692d4ead02bd1b4e7a97
5
5
  SHA512:
6
- metadata.gz: d98c57cbfb516d45fe82c7b8e977acea67aaf61a9e43cdab2b9fbc1a76ae3114573587d7fca708c65e6369ded23b3231a643a36f14c86ec04bef108f6325219a
7
- data.tar.gz: ac10230dc31e647bbf19c835ba58ba9a2a6bb0bb5dc7b0a3d55051a5ffa91b73b8ab998ad7c9a0e7b3415f0f93e28f0750d0527b18a70634d80d2d24af658df1
6
+ metadata.gz: e12110fc85a12e817f1a84acc501f11ad0cbac0a36563baae8cfafc8a175120237ddb15979e65c0c47903795a9db8cbb6ddcab30d5b2b30ea6f990b6f7a293e7
7
+ data.tar.gz: 97272c579d7f5055a80de64cbc55cb6b12d37e5b6a3b90306c7b389f9235b0445367ed5f43a3d2cf97bf9af5990ba3635c2b06b125b191700268a62f3fd6cbc1
@@ -1,4 +1,7 @@
1
1
  # Changelog
2
+ ### v0.1.1, 2019-10-26 (Maintenance release)
3
+ - Moved gem to new repository (https://github.com/gkosae/capistrano-simple_systemd.git)
4
+ - Added sample service file template to README
2
5
 
3
6
  ### v0.1.0, 2019-09-20 (Feature Release)
4
7
  - Initial release
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-simple_systemd (0.1.0)
4
+ capistrano-simple_systemd (0.1.1)
5
5
  capistrano (~> 3.7)
6
6
  sshkit (~> 1.2)
7
7
  sshkit-sudo (~> 0.1)
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2019 DarkWasp
3
+ Copyright (c) 2019 George Osae
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -27,6 +27,27 @@ require "capistrano/simple_systemd"
27
27
  ```
28
28
 
29
29
  Service files are defined as ERB templates ending with `.service.erb` in `config/systemd`. <br>
30
+ Sample erb template
31
+ ```
32
+ [Unit]
33
+ Description=SMS Service
34
+ After=network.target
35
+
36
+ [Service]
37
+ Type=simple
38
+ User=deploy
39
+ Environment=RACK_ENV=<%= fetch(:stage) %>
40
+ WorkingDirectory=<%= current_path %>
41
+ ExecStart=<%= "#{fetch(:home_dir)}/.rvm/bin/rvm #{fetch(:rvm_ruby_version)} do bundle exec #{current_path}/bin/sms_service"%>
42
+ TimeoutSec=10
43
+ Restart=always
44
+ StandardOutput=syslog
45
+ StandardError=syslog
46
+ SyslogIdentifier=sms-service
47
+
48
+ [Install]
49
+ WantedBy=multi-user.target
50
+ ```
30
51
  PLEASE NOTE: Currently only files with the `.service.erb` extension are considered as service file templates. Others like `.target.erb` aren't supported yet
31
52
 
32
53
  The following tasks are provided out of the box
@@ -86,7 +107,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
86
107
 
87
108
  ## Contributing
88
109
 
89
- Bug reports and pull requests are welcome on GitHub at https://github.com/darkwasp99/capistrano-simple_systemd.
110
+ Bug reports and pull requests are welcome on GitHub at https://github.com/gkosae/capistrano-simple_systemd.git.
90
111
 
91
112
  ## License
92
113
 
@@ -5,18 +5,18 @@ require "capistrano/simple_systemd/version"
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "capistrano-simple_systemd"
7
7
  spec.version = Capistrano::SimpleSystemd::VERSION
8
- spec.authors = ["DarkWasp"]
8
+ spec.authors = ["George Osae"]
9
9
  spec.email = ["coderwasp@gmail.com"]
10
10
 
11
11
  spec.summary = "Simple systemd integration for Capistrano."
12
- spec.description = "Simple systemd integration for Capistrano. Uploads service files"
13
- spec.homepage = "https://github.com/darkwasp99/capistrano-simple_systemd"
12
+ spec.description = "Simple systemd integration for Capistrano. Uploads service files and provides rake tasks for managing these services"
13
+ spec.homepage = "https://github.com/gkosae/capistrano-simple_systemd.git"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
17
17
 
18
18
  spec.metadata["homepage_uri"] = spec.homepage
19
- spec.metadata["source_code_uri"] = "https://github.com/darkwasp99/capistrano-simple_systemd"
19
+ spec.metadata["source_code_uri"] = "https://github.com/gkosae/capistrano-simple_systemd.git"
20
20
 
21
21
  # Specify which files should be added to the gem when it is released.
22
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module SimpleSystemd
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-simple_systemd
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
- - DarkWasp
7
+ - George Osae
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-20 00:00:00.000000000 Z
11
+ date: 2019-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -80,7 +80,8 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '10.0'
83
- description: Simple systemd integration for Capistrano. Uploads service files
83
+ description: Simple systemd integration for Capistrano. Uploads service files and
84
+ provides rake tasks for managing these services
84
85
  email:
85
86
  - coderwasp@gmail.com
86
87
  executables: []
@@ -103,13 +104,13 @@ files:
103
104
  - lib/capistrano/tasks/simple_systemd/global_tasks.rake
104
105
  - lib/capistrano/tasks/simple_systemd/specific_tasks.rake
105
106
  - lib/capistrano/tasks/simple_systemd/task_defaults.rake
106
- homepage: https://github.com/darkwasp99/capistrano-simple_systemd
107
+ homepage: https://github.com/gkosae/capistrano-simple_systemd.git
107
108
  licenses:
108
109
  - MIT
109
110
  metadata:
110
111
  allowed_push_host: https://rubygems.org
111
- homepage_uri: https://github.com/darkwasp99/capistrano-simple_systemd
112
- source_code_uri: https://github.com/darkwasp99/capistrano-simple_systemd
112
+ homepage_uri: https://github.com/gkosae/capistrano-simple_systemd.git
113
+ source_code_uri: https://github.com/gkosae/capistrano-simple_systemd.git
113
114
  post_install_message:
114
115
  rdoc_options: []
115
116
  require_paths: