rambling-trie 1.0.0 → 1.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
  SHA1:
3
- metadata.gz: 5e58cb5a9636b79abd8fb93b4fae30ec3486871a
4
- data.tar.gz: 5cb485068db0e4a889692433eedb1aa1682394f1
3
+ metadata.gz: 6fbe7aefce157bea83016a914b7749e186c72540
4
+ data.tar.gz: 1f52c7e165aea5fbca8aa8343815bcda27f340bc
5
5
  SHA512:
6
- metadata.gz: 7d035ffc3fa86ee5be924cac9f73701df016221158e5654d3c908ec2adf034f76bf2d9081d56027c5e22c812a99241f671de64826f6b094fba153c62014edaeb
7
- data.tar.gz: ac2151ec179554ed23d990e92fdfbce683ca88086f04eaa4becf4ad392c77a947327766ea59c4de561e62d741ccd815d637241f415e16fcebbebb2d712a4cf0a
6
+ metadata.gz: 2737f2e4a9e9f65610493b10310441145d284f378aafe047ab4c1759703e44ced97bfc0f1a06e113564bef8bb4cdff68776a520d63c6a55d72ef6bc44c057048
7
+ data.tar.gz: f74aedcb8d72c8836257f7f37fdcbe24480be16c34bee02b6be0d519a28b4045944edb4a9ae8b099862b3c1564c130b7137471c8739ccabc9d268ce20630d26f
data/Gemfile CHANGED
@@ -15,7 +15,6 @@ end
15
15
 
16
16
  group :test do
17
17
  gem 'simplecov', require: false
18
- gem 'codeclimate-test-reporter', require: false
19
18
  gem 'coveralls', require: false
20
19
  end
21
20
 
data/lib/rambling/trie.rb CHANGED
@@ -13,7 +13,7 @@ module Rambling
13
13
  # Entry point for rambling-trie API.
14
14
  module Trie
15
15
  class << self
16
- extend Rambling::Trie::Forwardable
16
+ extend ::Forwardable
17
17
 
18
18
  delegate [
19
19
  :readers,
@@ -3,7 +3,7 @@ module Rambling
3
3
  module Configuration
4
4
  # Collection of configurable providers.
5
5
  class ProviderCollection
6
- extend Rambling::Trie::Forwardable
6
+ extend ::Forwardable
7
7
 
8
8
  # The name of this provider collection.
9
9
  # @return [String] the name of this provider collection.
@@ -2,7 +2,7 @@ module Rambling
2
2
  module Trie
3
3
  # Wrapper on top of trie data structure.
4
4
  class Container
5
- extend Rambling::Trie::Forwardable
5
+ extend ::Forwardable
6
6
  include ::Enumerable
7
7
 
8
8
  delegate [
@@ -1,21 +1,21 @@
1
- module Rambling
2
- module Trie
3
- # Provides delegation behavior.
4
- module Forwardable
5
- # Custom delegation behavior due to Ruby 2.4 delegation performance
6
- # degradation. See {https://bugs.ruby-lang.org/issues/13111 Bug #13111}.
7
- # @param [Hash] methods_to_target a Hash consisting of the methods to be
8
- # delegated and the target to delegate those methods to.
9
- # @return [Hash] the `methods_to_target` parameter.
10
- def delegate methods_to_target
11
- methods_to_target.each do |methods, target|
12
- methods.each do |method|
13
- define_method method do |*args|
14
- send(target).send method, *args
15
- end
16
- end
17
- end
18
- end
19
- end
20
- end
21
- end
1
+ # module Rambling
2
+ # module Trie
3
+ # # Provides delegation behavior.
4
+ # module Forwardable
5
+ # # Custom delegation behavior due to Ruby 2.4 delegation performance
6
+ # # degradation. See {https://bugs.ruby-lang.org/issues/13111 Bug #13111}.
7
+ # # @param [Hash] methods_to_target a Hash consisting of the methods to be
8
+ # # delegated and the target to delegate those methods to.
9
+ # # @return [Hash] the `methods_to_target` parameter.
10
+ # def delegate methods_to_target
11
+ # methods_to_target.each do |methods, target|
12
+ # methods.each do |method|
13
+ # define_method method do |*args|
14
+ # send(target).send method, *args
15
+ # end
16
+ # end
17
+ # end
18
+ # end
19
+ # end
20
+ # end
21
+ # end
@@ -2,7 +2,7 @@ module Rambling
2
2
  module Trie
3
3
  # A representation of a node in the trie data structure.
4
4
  class Node
5
- extend Rambling::Trie::Forwardable
5
+ extend ::Forwardable
6
6
  include Rambling::Trie::Compressable
7
7
  include Rambling::Trie::Enumerable
8
8
  include Rambling::Trie::Comparable
@@ -4,7 +4,7 @@ module Rambling
4
4
  # Zip file serializer. Dumps/loads contents from zip files. Automatically
5
5
  # detects if zip file contains `.marshal` or `.yml` file
6
6
  class Zip
7
- extend Rambling::Trie::Forwardable
7
+ extend ::Forwardable
8
8
 
9
9
  # Creates a new Zip serializer.
10
10
  # @param [Properties] properties the configuration properties set up so
@@ -1,6 +1,6 @@
1
1
  module Rambling
2
2
  module Trie
3
3
  # Current version of the rambling-trie.
4
- VERSION = '1.0.0'.freeze
4
+ VERSION = '1.0.1'.freeze
5
5
  end
6
6
  end
data/spec/spec_helper.rb CHANGED
@@ -1,12 +1,10 @@
1
1
  require 'simplecov'
2
- require 'codeclimate-test-reporter'
3
2
  require 'coveralls'
4
3
 
5
4
  Coveralls.wear!
6
5
 
7
6
  SimpleCov.formatters = [
8
7
  SimpleCov::Formatter::HTMLFormatter,
9
- CodeClimate::TestReporter::Formatter,
10
8
  Coveralls::SimpleCov::Formatter
11
9
  ]
12
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rambling-trie
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edgar Gonzalez
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-01-22 00:00:00.000000000 Z
12
+ date: 2017-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  version: '0'
142
142
  requirements: []
143
143
  rubyforge_project:
144
- rubygems_version: 2.6.8
144
+ rubygems_version: 2.6.12
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: A Ruby implementation of the trie data structure.