ssm_config 0.0.1 → 0.1.1

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
- SHA1:
3
- metadata.gz: f4c8bd599af4049e92584cc32595f05bc8ca3a57
4
- data.tar.gz: 179f3ba6315223d305c86afffcb47beee85dcdaf
2
+ SHA256:
3
+ metadata.gz: 62ee2af26eb305962b5a1c4f019b5a16b847de0b5b4b482bb7c077c958a8cf32
4
+ data.tar.gz: c7665892a5d0900d5923549dd9c08196adeb8fb854879f13f46e44a038158b25
5
5
  SHA512:
6
- metadata.gz: d707b33dc5086bedc87dd4c36b86855f77b83081033ae06fa4d5fdd969a107e016ce19343e1f3773e9b1d2a8e06c17f9c842fac65f3f449cd2cc633ef1dd971c
7
- data.tar.gz: eedb25487f86e4a6ef1bfb6fdcb5612431f164f10b9fcb7f1396a2a50319582d28c6d41aabc932fc03a1ea81d480ad3ea85c283fbb3d48f48b9422c67b301e4a
6
+ metadata.gz: ba9d0c438b9147d33d95ad07eee3224f05b1a77a4e3b930e15c476b98a1a4a38dfbad6797491e648c213f0ed231e22f11c59a2b84809c6424f05f6c078e4b58f
7
+ data.tar.gz: 768c01d819f2af815c1788359870a3626257a39021129bc460b50850d9161f600d0de2c92ee0f52303af54523a845a3b2097bfd52c9cb8850999a62c6ebe7137
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # SsmConfig
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/ssm_config`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ Any config YAML in the config directory can be accessed by calling `SsmConfig.config_name`.
4
+ For example, if you wish to access `config/foo.yml`, just call `SsmConfig.foo` from anywhere in the app. The YAML will be parsed
5
+ into a hash.
6
6
 
7
7
  ## Installation
8
8
 
@@ -22,7 +22,19 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
25
+ Given `config/eft.yml`:
26
+ ```yml
27
+ any:
28
+ days_to_enter_bank_account:
29
+ default: 3
30
+ company1: 2
31
+ company2: 4
32
+ ```
33
+
34
+ ```ruby
35
+ SsmConfig.eft
36
+ => {"days_to_enter_bank_account"=>{"default"=>3, "company1"=>2, "company2"=>4}}
37
+ ```
26
38
 
27
39
  ## Development
28
40
 
@@ -32,7 +44,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
44
 
33
45
  ## Contributing
34
46
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/Santiago Herrera/ssm_config. 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.
47
+ Bug reports and pull requests are welcome on GitHub at https://github.com/bodyshopbidsdotcom/ssm_config. 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.
36
48
 
37
49
 
38
50
  ## License
data/lib/ssm_config.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  class SsmConfig
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.1"
3
3
 
4
4
  class << self
5
5
 
data/ssm_config.gemspec CHANGED
@@ -30,5 +30,5 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency "bundler", "~> 1.14"
31
31
  spec.add_development_dependency "rake", "~> 10.0"
32
32
  spec.add_development_dependency "rspec", "~> 3.0"
33
- spec.add_dependency "rails", ">= 4", "< 6"
33
+ spec.add_dependency "rails", ">= 3", "< 7"
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssm_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Santiago Herrera
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-10 00:00:00.000000000 Z
11
+ date: 2022-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,21 +58,21 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '4'
61
+ version: '3'
62
62
  - - "<"
63
63
  - !ruby/object:Gem::Version
64
- version: '6'
64
+ version: '7'
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '4'
71
+ version: '3'
72
72
  - - "<"
73
73
  - !ruby/object:Gem::Version
74
- version: '6'
75
- description:
74
+ version: '7'
75
+ description:
76
76
  email:
77
77
  - santiago@snapsheet.me
78
78
  executables: []
@@ -96,7 +96,7 @@ licenses:
96
96
  - MIT
97
97
  metadata:
98
98
  allowed_push_host: https://rubygems.org
99
- post_install_message:
99
+ post_install_message:
100
100
  rdoc_options: []
101
101
  require_paths:
102
102
  - lib
@@ -111,9 +111,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  requirements: []
114
- rubyforge_project:
115
- rubygems_version: 2.6.8
116
- signing_key:
114
+ rubygems_version: 3.2.33
115
+ signing_key:
117
116
  specification_version: 4
118
117
  summary: YML file loader and parser for Rails
119
118
  test_files: []