a9n 0.4.8 → 0.4.9
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 +4 -4
- data/README.md +11 -11
- data/a9n.gemspec +2 -2
- data/lib/a9n/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0098af76cd2f7d4ef966f199e69290f296d7c9f9
|
|
4
|
+
data.tar.gz: 5418e6aa185d78aae952d04ab07aad0a547fb151
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f65b0e4e661af4e2d6a1c4280736ee188876b35d7c4d963ca334a096ee337eb7ca74957221d8ce70a5a1ac82af02d5c45ebb994f7e1c43dcbe16ce5de5f8efa0
|
|
7
|
+
data.tar.gz: 1d62c30001a4bfe78d24b2757b71be42e21b1ba59571fd778d206595f186e149de4c3e23ffece7aa482a982627fadbd0b5c55c4f4fc10c131cccda264067197f
|
data/README.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# A9n
|
|
2
2
|
|
|
3
3
|
[][gem_version]
|
|
4
|
-
[][travis]
|
|
5
|
+
[][codeclimate]
|
|
6
|
+
[][coverage]
|
|
7
7
|
|
|
8
8
|
[gem_version]: https://rubygems.org/gems/a9n
|
|
9
|
-
[travis]: http://travis-ci.org/
|
|
10
|
-
[codeclimate]: https://codeclimate.com/github/
|
|
11
|
-
[coverage]: https://codeclimate.com/github/
|
|
9
|
+
[travis]: http://travis-ci.org/kknapik/a9n
|
|
10
|
+
[codeclimate]: https://codeclimate.com/github/kknapik/a9n
|
|
11
|
+
[coverage]: https://codeclimate.com/github/kknapik/a9n
|
|
12
12
|
|
|
13
|
-
A9n is a simple tool to keep ruby/rails apps configuration maintanable and verifiable. It supports Rails 3.x, 4.x and Ruby 2.0. 2.1, 2.2. Ruby 1.8 and Rails 2.x are not supported since version 0.1.2. Ruby 1.9 is not supported since version 0.4.0.
|
|
13
|
+
A9n is a simple tool to keep ruby/rails apps configuration maintanable and verifiable. It supports Rails 3.x, 4.x and Ruby 2.0. 2.1, 2.2, 2.3. Ruby 1.8 and Rails 2.x are not supported since version 0.1.2. Ruby 1.9 is not supported since version 0.4.0.
|
|
14
14
|
|
|
15
15
|
Why it's named a9n? It's a numeronym for application (where 9 stands for the number of letters between the first **a** and last **n**, similar to i18n or l10n).
|
|
16
16
|
|
|
@@ -49,16 +49,16 @@ You can access any variable defined in configuration files by delegating it to
|
|
|
49
49
|
`A9n`. E.g:
|
|
50
50
|
|
|
51
51
|
defaults:
|
|
52
|
-
email_from: 'no-reply@
|
|
52
|
+
email_from: 'no-reply@knapik.cc'
|
|
53
53
|
production:
|
|
54
|
-
app_host: '
|
|
54
|
+
app_host: 'knapik.cc'
|
|
55
55
|
development:
|
|
56
56
|
app_host: 'localhost:3000'
|
|
57
57
|
|
|
58
58
|
is accessible by:
|
|
59
59
|
|
|
60
|
-
A9n.app_host # => `
|
|
61
|
-
A9n.email_from # => `no-reply@
|
|
60
|
+
A9n.app_host # => `knapik.cc` in production and `localhost:3000` in development
|
|
61
|
+
A9n.email_from # => `no-reply@knapik.cc` in both envs
|
|
62
62
|
|
|
63
63
|
## Custom and multiple configuration files
|
|
64
64
|
|
data/a9n.gemspec
CHANGED
|
@@ -3,10 +3,10 @@ require File.expand_path('../lib/a9n/version', __FILE__)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |gem|
|
|
5
5
|
gem.authors = ["Krzysztof Knapik"]
|
|
6
|
-
gem.email = ["
|
|
6
|
+
gem.email = ["k@knapik.cc"]
|
|
7
7
|
gem.description = %q{a9n - ruby/rails apps configuration manager}
|
|
8
8
|
gem.summary = %q{a9n is a tool to keep ruby/rails apps extra configuration easily maintainable and verifiable}
|
|
9
|
-
gem.homepage = "https://github.com/
|
|
9
|
+
gem.homepage = "https://github.com/kknapik/a9n"
|
|
10
10
|
gem.license = 'MIT'
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
|
12
12
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
data/lib/a9n/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: a9n
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Krzysztof Knapik
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-02-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: a9n - ruby/rails apps configuration manager
|
|
14
14
|
email:
|
|
15
|
-
-
|
|
15
|
+
- k@knapik.cc
|
|
16
16
|
executables: []
|
|
17
17
|
extensions: []
|
|
18
18
|
extra_rdoc_files: []
|
|
@@ -49,7 +49,7 @@ files:
|
|
|
49
49
|
- test_app/config/configuration.yml
|
|
50
50
|
- test_app/config/configuration.yml.example
|
|
51
51
|
- test_app/config/no_defaults.yml
|
|
52
|
-
homepage: https://github.com/
|
|
52
|
+
homepage: https://github.com/kknapik/a9n
|
|
53
53
|
licenses:
|
|
54
54
|
- MIT
|
|
55
55
|
metadata: {}
|