info_hub 0.0.1 → 0.0.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 +5 -5
- data/README.md +4 -6
- data/lib/info_hub/version.rb +1 -1
- metadata +9 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 95a41e7c04095ca441361bf3efa529843ce56a57f11dac00a47595b5545df6c9
|
|
4
|
+
data.tar.gz: 8a4f9df20bf2a51dde568cf6ead2ae4d55c77e39aaea1dd25a4e7b83e134c70f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91b965d0e4edfce27b05d450e5fa5ecdc9aac217afbf9213a294522ec10b1a686c21e202082a9c99fc09ef0ae92ac4530da5af461e8e043e10af2d1cf398d8f5
|
|
7
|
+
data.tar.gz: 7ca5efd40cef18884d32665720af487cb5be8506b7fb9fd193ec798f37ecf25c4fc7072f29fba6ae87caaf7b461ef44159609504ba12f6778b25a14b87955e00
|
data/README.md
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
[gem]: https://rubygems.org/gems/info_hub
|
|
2
|
-
[travis]: https://travis-ci.org/OnApp/info_hub
|
|
3
2
|
|
|
4
3
|
# InfoHub
|
|
5
4
|
|
|
6
5
|
[][gem]
|
|
7
|
-
[][travis]
|
|
8
6
|
|
|
9
|
-
This gem delivers a simple DSL to read data from YAML files
|
|
7
|
+
This gem delivers a simple DSL to read data from YAML files. It might be useful for storing some basic knowledge around the application.
|
|
10
8
|
|
|
11
9
|
### Installation
|
|
12
|
-
Add to your `Gemfile
|
|
10
|
+
Add the following code to your `Gemfile` and run bundle install
|
|
13
11
|
|
|
14
12
|
```ruby
|
|
15
13
|
# Gemfile
|
|
@@ -25,7 +23,7 @@ percentage:
|
|
|
25
23
|
max: 100
|
|
26
24
|
```
|
|
27
25
|
|
|
28
|
-
Then add
|
|
26
|
+
Then add path to that file to `InfoHub` paths (in `config/initializers/info_hub.rb`)
|
|
29
27
|
```ruby
|
|
30
28
|
# config/initializers/info_hub.rb
|
|
31
29
|
InfoHub.info_hub_file_paths << File.expand_path('../info_hub.yml', __dir__)
|
|
@@ -51,4 +49,4 @@ InfoHub.get(:percentage, :max) # => 100
|
|
|
51
49
|
See `LICENSE` file.
|
|
52
50
|
|
|
53
51
|
## Contributing
|
|
54
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
52
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/virtuozzo/info_hub.
|
data/lib/info_hub/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: info_hub
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
8
|
-
autorequire:
|
|
7
|
+
- Virtuozzo
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 1980-01-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -69,8 +69,7 @@ dependencies:
|
|
|
69
69
|
description: |2
|
|
70
70
|
This gem delivers a simple DSL to read data from YAML files.
|
|
71
71
|
That might be useful for storing some basic knowledge around the application.
|
|
72
|
-
email:
|
|
73
|
-
- onapp@onapp.com
|
|
72
|
+
email: igor.sidorov@virtuozzo.com
|
|
74
73
|
executables: []
|
|
75
74
|
extensions: []
|
|
76
75
|
extra_rdoc_files: []
|
|
@@ -78,11 +77,11 @@ files:
|
|
|
78
77
|
- README.md
|
|
79
78
|
- lib/info_hub.rb
|
|
80
79
|
- lib/info_hub/version.rb
|
|
81
|
-
homepage: https://github.com/
|
|
80
|
+
homepage: https://github.com/virtuozzo/info_hub
|
|
82
81
|
licenses:
|
|
83
82
|
- Apache 2.0
|
|
84
83
|
metadata: {}
|
|
85
|
-
post_install_message:
|
|
84
|
+
post_install_message:
|
|
86
85
|
rdoc_options: []
|
|
87
86
|
require_paths:
|
|
88
87
|
- lib
|
|
@@ -97,9 +96,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
97
96
|
- !ruby/object:Gem::Version
|
|
98
97
|
version: '0'
|
|
99
98
|
requirements: []
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
signing_key:
|
|
99
|
+
rubygems_version: 3.2.16
|
|
100
|
+
signing_key:
|
|
103
101
|
specification_version: 4
|
|
104
102
|
summary: Handy library to read from YAML files
|
|
105
103
|
test_files: []
|