luban-nginx 0.1.3 → 0.1.4

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: 4dab1f390b5006e32b5c2da4bca3545e88c9e9ae
4
- data.tar.gz: a8a1134e8a2ce9e796c4d8f3bbf33c93c031da4d
3
+ metadata.gz: 7154c4fcedaeffd7a49527422ba245413c64029f
4
+ data.tar.gz: 7ea2174b1d3f37a0cce2fad1e49520059de7e0ac
5
5
  SHA512:
6
- metadata.gz: 27e26c83b3129bfb375200e5dcea6a19d10aec8989727bb83cf8e1cc9aa41468ced1a13f9ff039e59b50ecbf9746b1a6f474f0c4903e3d01cb1967d4871b8724
7
- data.tar.gz: 366bdc306fc467225ec728f95db742bb68ae65117da3b7b30e19124fa2b0196f26697cd542f8cd907dae8f49e7ab98ba1598aa39bd88cd1b6b89e786275e4398
6
+ metadata.gz: 25065dda7c26ec32ef1d145ddb2586e8631ba066742f221d76c5d64d2832239c84772cfd90f0d5bb4d4521986843d229871a8448c05257695110aba813960fe2
7
+ data.tar.gz: 68a9c1c370d3fe473a428b86d9f794e3bc280c1e7062b5a6d2020d9a92ee65f366d4125079f6fe4ab06ee45a7de369a5ab334bd9849ca9f28cb1c507b1ce00f7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.1.4 (Jul 08, 2016)
4
+
5
+ Minor enhancements:
6
+ * Refactored method #default_templates_path in a DRY way
7
+
3
8
  ## Version 0.1.3 (Jun 17, 2016)
4
9
 
5
10
  Bug fixes:
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in nginx.gemspec
3
+ # Specify your gem's dependencies in luban-nginx.gemspec
4
4
  gemspec
data/README.md CHANGED
@@ -30,8 +30,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
30
30
 
31
31
  ## Contributing
32
32
 
33
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/nginx. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
34
-
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/lubanrb/nginx.
35
34
 
36
35
  ## License
37
36
 
@@ -10,7 +10,7 @@ module Luban
10
10
  end
11
11
 
12
12
  def default_templates_path
13
- @default_templates_path ||= Pathname.new(File.join(File.dirname(__FILE__), 'templates')).realpath
13
+ @default_templates_path ||= super(__FILE__)
14
14
  end
15
15
 
16
16
  %i(config_test quit_process reload_process reopen_logs).each do |action|
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Packages
4
4
  class Nginx
5
- VERSION = '0.1.3'
5
+ VERSION = '0.1.4'
6
6
  end
7
7
  end
8
8
  end
data/luban-nginx.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ["lib"]
21
21
 
22
22
  spec.required_ruby_version = ">= 2.1.0"
23
- spec.add_dependency 'luban'
23
+ spec.add_dependency 'luban', ">= 0.6.0"
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 1.11"
26
26
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban-nginx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Chi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-17 00:00:00.000000000 Z
11
+ date: 2016-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: luban
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.6.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 0.6.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement