nstore 0.2.0 → 0.2.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: 7f055519a1caca556d149d93bb445aa06af9cba0f757ec0ed267da67b5f70375
4
- data.tar.gz: 3b337eca2aacbcb4ac42574afb64f6fe790d6894b046f207d31a8413a3ed99a2
3
+ metadata.gz: b44826b78a625b48dc3e71ed369cb0ffe15f63a8febaa5763129cad63ffdbe27
4
+ data.tar.gz: 2e4d22c78bf6d0e0d7a50b618359bc1948a1d60643e1d37296df93b55bc69400
5
5
  SHA512:
6
- metadata.gz: 0df430ee1905d9f34c3cf47612fc489c94a215252cb6f5d6712bb34038f3e780b93b584b6fab54afe8014b35d5eac1457876e244b6d3b211147199df80c37ea9
7
- data.tar.gz: 45a7f9cc1fd4821e8516856ea105d1dffe147d15cf1a7f7ca6155489dd6aab316ac8989cc07faf3e5f1403d8947206f88ea63687263d0419fa48ce6b98cd678b
6
+ metadata.gz: 65daf27f6a13a6b16aca2a8140a2e27a3a790af5fe2f6c85a00cf5a074f425e1e959e8ea38dddc17e951f121ede9af6620db5f5fae4cd42caf0be3d993c96d41
7
+ data.tar.gz: 1067fee3aff32cc0136e10ce7c3bedbf1481c78581a31a2be6350f4cdffc521775f4c6c8916f13018dbe2037000d42cafa6c2f496d1f60145848799487b8ee6c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nstore (0.2.0)
4
+ nstore (0.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NStore
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
data/lib/nstore.rb CHANGED
@@ -88,7 +88,7 @@ module NStore
88
88
  position = send(attribute)
89
89
 
90
90
  keys[0..-2].each do |key|
91
- position[key] = {} unless position[key].is_a?(Hash)
91
+ position[key] = {} unless position[key].is_a? Hash
92
92
  position = position[key]
93
93
  end
94
94
  position[keys[-1]] = value
data/nstore.gemspec CHANGED
@@ -5,14 +5,22 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require 'nstore/version'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
- spec.name = 'nstore'
9
- spec.version = NStore::VERSION
10
- spec.authors = ['Renat "MpaK" Ibragimov']
11
- spec.email = ['mrak69@gmail.com']
8
+ spec.name = 'nstore'
9
+ spec.version = NStore::VERSION
10
+ spec.authors = ['Renat "MpaK" Ibragimov']
11
+ spec.email = ['mrak69@gmail.com']
12
+ spec.license = 'GPL-3'
13
+ spec.summary = 'NStore - nested attributes accessors.'
14
+ spec.description = 'Generates nested attributes accessors.'
15
+ spec.homepage = 'https://github.com/mpakus/nstore'
16
+ spec.required_ruby_version = '>= 2.3.1'
12
17
 
13
- spec.summary = 'NStore - nested attributes accessors.'
14
- spec.description = 'Generates nested attributes accessors.'
15
- spec.homepage = 'https://github.com/mpakus/nstore'
18
+ spec.metadata = {
19
+ 'changelog_uri' => 'https://github.com/mpakus/nstore/README.md',
20
+ 'documentation_uri' => 'https://github.com/mpakus/nstore',
21
+ 'homepage_uri' => 'https://github.com/mpakus/nstore',
22
+ 'source_code_uri' => 'https://github.com/mpakus/nstore'
23
+ }
16
24
 
17
25
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
26
  # to allow pushing to a single host or delete this section to allow pushing to any host.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nstore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renat "MpaK" Ibragimov
@@ -104,8 +104,13 @@ files:
104
104
  - lib/nstore/version.rb
105
105
  - nstore.gemspec
106
106
  homepage: https://github.com/mpakus/nstore
107
- licenses: []
108
- metadata: {}
107
+ licenses:
108
+ - GPL-3
109
+ metadata:
110
+ changelog_uri: https://github.com/mpakus/nstore/README.md
111
+ documentation_uri: https://github.com/mpakus/nstore
112
+ homepage_uri: https://github.com/mpakus/nstore
113
+ source_code_uri: https://github.com/mpakus/nstore
109
114
  post_install_message:
110
115
  rdoc_options: []
111
116
  require_paths:
@@ -114,7 +119,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
119
  requirements:
115
120
  - - ">="
116
121
  - !ruby/object:Gem::Version
117
- version: '0'
122
+ version: 2.3.1
118
123
  required_rubygems_version: !ruby/object:Gem::Requirement
119
124
  requirements:
120
125
  - - ">="