inih 2.0.0 → 2.0.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
2
  SHA256:
3
- metadata.gz: b34e36b18fe1afa2aa4680a413f1bcfb779d9b0523f9755cbef6814d28539173
4
- data.tar.gz: 64c99571876f4468350f8a58c99e65b7babbdab21a0ffc074014ed741c20f667
3
+ metadata.gz: b0dc6ee69dd1c743a8b266c03e3f09242b22883b08524f0957aac889b5c108d8
4
+ data.tar.gz: 0db810c2b58a7d971d4b6bbbbed1b5e0cd7dd1f13fd393040553ac1a63ecd3a3
5
5
  SHA512:
6
- metadata.gz: d693a05a060e2ae66f7a26eee6a36686339acaf22054b55e499cd81b1adba0982bc907237d85085f30fcdd27d703db23e4d36a53add7fe6be6b85d115aa30f0d
7
- data.tar.gz: 1dcb6104668fd4ddaaecc773f36c2b8d703bc065fbcbb0d0ebea4799e027dd03de03f56bb6da5907cf4a20583c94d95e6767d66574485cb379a72b633257f610
6
+ metadata.gz: 10080d9a19918482e5abe6389c6f3b2bca99045ef2af42bfdd1ef13d0983cae47a6c68d885fda3b123fa02cb75d4cae918ea5396d502c0a9c878be1c9c29e55c
7
+ data.tar.gz: 189eb5996dd71b2027d99eaf47bfeb5f93ac4d3ace591232adf2529725b11e20cfb10749376f0421fbf5d214a2b8826395bc375c851b96367a86ae50f4470f8f
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ The MIT License (MIT) with restrictions
2
2
 
3
- Copyright (c) 2017 William Woodruff <william @ yossarian.net>
3
+ Copyright (c) 2020 William Woodruff <william @ yossarian.net>
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
@@ -19,3 +19,30 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  THE SOFTWARE.
22
+
23
+ The following terms additionally apply and override any above terms for
24
+ applicable parties:
25
+
26
+ You may not use, copy, modify, merge, publish, distribute, sublicense,
27
+ and/or sell copies of the Software in a military or law enforcement context,
28
+ defined as follows:
29
+
30
+ 1. A military context is a professional context where the intended application
31
+ of the Software is integration or use with or by military software, tools
32
+ (software or hardware), or personnel. This includes contractors and
33
+ subcontractors as well as research affiliates of any military organization.
34
+
35
+ 2. A law enforcement context is a professional context where the intended
36
+ application of the Software is integration or use with or by law enforcement
37
+ software, tools (software or hardware), or personnel. This includes
38
+ contractors and subcontractors as well as research affiliates of any law
39
+ enforcement organization.
40
+
41
+ Entities that sell or license to military or law enforcement organizations
42
+ may use the Software under the original terms, but only in contexts that do
43
+ not assist or supplement the sold or licensed product.
44
+
45
+ Students and academics who are affiliated with research institutions may use
46
+ the Software under the original terms, but only in contexts that do not assist
47
+ or supplement collaboration or affiliation with any military or law
48
+ enforcement organization.
data/README.md CHANGED
@@ -1,7 +1,9 @@
1
1
  ruby-inih
2
2
  =========
3
3
 
4
+ ![license](https://raster.shields.io/badge/license-MIT%20with%20restrictions-green.png)
4
5
  [![Gem Version](https://badge.fury.io/rb/inih.svg)](https://badge.fury.io/rb/inih)
6
+ [![Build Status](https://img.shields.io/github/workflow/status/woodruffw/ruby-inih/CI/master)](https://github.com/woodruffw/ruby-inih/actions?query=workflow%3ACI)
5
7
 
6
8
  A Ruby wrapper for [inih](https://github.com/benhoyt/inih), a simple INI parser.
7
9
 
@@ -7,9 +7,6 @@ require_relative "ext/inih"
7
7
  module INIH
8
8
  module_function
9
9
 
10
- # The current version of ruby-inih.
11
- VERSION = "2.0.0"
12
-
13
10
  # Parse an INI-formatted string into a Hash.
14
11
  # @param string [String] the INI-formatted string to parse
15
12
  # @param normalize [Boolean] whether or not to normalize the types of parsed values
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module INIH
4
+ # The current version of ruby-inih.
5
+ VERSION = "2.0.1"
6
+ end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inih
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Woodruff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-03 00:00:00.000000000 Z
11
+ date: 2020-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: minitest
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rake-compiler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -24,6 +38,20 @@ dependencies:
24
38
  - - ">="
25
39
  - !ruby/object:Gem::Version
26
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: redcarpet
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: yard
29
57
  requirement: !ruby/object:Gem::Requirement
@@ -56,7 +84,8 @@ files:
56
84
  - ext/inih/inih.h
57
85
  - lib/inih.rb
58
86
  - lib/inih/exceptions.rb
59
- - vendor/bundle/gems/yard-0.9.14/LICENSE
87
+ - lib/inih/version.rb
88
+ - vendor/bundle/gems/yard-0.9.19/LICENSE
60
89
  homepage: https://github.com/woodruffw/ruby-inih
61
90
  licenses:
62
91
  - MIT
@@ -76,8 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
105
  - !ruby/object:Gem::Version
77
106
  version: '0'
78
107
  requirements: []
79
- rubyforge_project:
80
- rubygems_version: 2.7.6
108
+ rubygems_version: 3.1.2
81
109
  signing_key:
82
110
  specification_version: 4
83
111
  summary: inih - a Ruby wrapper for a simple C INI parser