rusty_lru 0.1.0 → 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
2
  SHA256:
3
- metadata.gz: 8262b61f3b89a8fb40f436a3820314887d1f20f91448ee14a8563d05fdc2061a
4
- data.tar.gz: 52f666bde7eb89754683a33040b4fcb17a03b3fb85b0399f2130f7c13d8e8811
3
+ metadata.gz: 9399a03cbd7053c84f2ae56bb4946a48f1ea440ee47c718bfa7ce83801cfe4a7
4
+ data.tar.gz: a3e939c3f19dba442aab8a6f18f6db0f19ab73171939d08acc8f9cf9869649f4
5
5
  SHA512:
6
- metadata.gz: 86da4959c095c2d7517383b001e5239576301601a4c3234885461e732f691514e15af04af06dfc2e269b211fcd47533c4bb5178ee7a830d484a52dbac0b168a6
7
- data.tar.gz: e5515288bd26ed3ef1016adb86294bb088eb93073ed5cc92171d35605855f5c6e92cf832e44a3d17b77762292b1702de7340714e5b55afc42ecac94bb4eb9801
6
+ metadata.gz: 187ddb3e30329533df0a14ab7de078aac83cba4cbd34c2990004c04c7f0949088b079b878aaaa91bfa1f002331263c5d6fc987bf14954e1fa75d9f502943e52a
7
+ data.tar.gz: e2b06a2dd7ce7ab705065e473ca839964e764b99cb5e5a28d0ed803595fc7e14d7e9bd7896398e7ae782ed6f210c1579391fb4b9a999f5a4990ff5fec886b7e6
data/.rubocop.yml CHANGED
@@ -5,6 +5,7 @@ AllCops:
5
5
 
6
6
  Metrics/BlockLength:
7
7
  Exclude:
8
+ - ./*.gemspec
8
9
  - spec/**/*.rb
9
10
 
10
11
  Metrics/LineLength:
data/CHANGELOG.md CHANGED
@@ -4,11 +4,18 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [Unreleased]
7
+ ## [v0.1.1] - 2019-08-30
8
+ ### Changed
9
+ - Just an update to the README and the gemspec.
10
+
11
+ ## [v0.1.0] - 2019-08-29
8
12
  ### Added
9
13
  - Implement basic Hash-like functionality by using
10
14
  [rutie](https://rubygems.org/gems/rutie) to wrap the
11
15
  [lru](https://crates.io/crates/lru) crate.
12
- - RSpec tests.
16
+ - [RSpec](http://rspec.info/) tests.
17
+ - [YARD](https://yardoc.org/) docs.
18
+ - [Rubocop](https://www.rubocop.org/).
13
19
 
14
- [Unreleased]: https://github.com/asppsa/rusty_lru/commits/master
20
+ [v0.1.1]: https://github.com/asppsa/rusty_lru/compare/v0.1.0...v0.1.1
21
+ [v0.1.0]: https://github.com/asppsa/rusty_lru/releases/tag/v0.1.0
data/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rusty_lru"
3
- version = "0.1.0"
3
+ version = "0.1.1"
4
4
  authors = ["Alastair Pharo <me@asph.dev>"]
5
5
  edition = "2018"
6
6
 
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  This gem provides an [LRU
6
6
  cache](https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU))
7
7
  for Ruby. It uses [Rutie](https://rubygems.org/gems/rutie) to wrap the
8
- [Rust](https://rust-lang.org/)'s [lru](https://crates.io/crates/lru) crate.
8
+ [Rust](https://rust-lang.org/) [lru](https://crates.io/crates/lru) crate.
9
9
 
10
10
  From a Ruby perspective, the API is close to that of the `Hash` class. It
11
11
  differs in that it will never grow beyond a capped number of key-value pairs,
@@ -40,6 +40,7 @@ cache moves it to the top of the list.
40
40
 
41
41
  Comprehensive documentation is available online:
42
42
 
43
+ - [Latest release](https://rubydoc.info/gems/rusty_lru)
43
44
  - [Bleeding edge](https://rubydoc.info/github/asppsa/rusty_lru/master)
44
45
 
45
46
  For the impatient, here is an example of basic usage:
@@ -1,3 +1,3 @@
1
1
  module RustyLRU
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
data/rusty_lru.gemspec CHANGED
@@ -9,13 +9,17 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ['me@asph.dev']
10
10
 
11
11
  spec.summary = 'An LRU cache implemented in Rust'
12
- spec.description = 'This gem wraps a the lru crate from Rustland, providing a Hash-like interface'
12
+ spec.description = <<-DESC
13
+ This gem provides an LRU cache with an interface close to Hash. It uses Rutie
14
+ to wrap the Rust 'lru' crate.
15
+ DESC
13
16
  spec.homepage = 'https://github.com/asppsa/rusty_lru'
14
17
  spec.license = 'Apache-2.0'
15
18
 
19
+ spec.metadata['changelog_uri'] = 'https://github.com/asppsa/rusty_lru/blob/master/CHANGELOG.md'
20
+ spec.metadata['documentation_uri'] = 'https://rubydoc.info/gems/rusty_lru'
16
21
  spec.metadata['homepage_uri'] = spec.homepage
17
22
  spec.metadata['source_code_uri'] = 'https://github.com/asppsa/rusty_lru.git'
18
- spec.metadata['changelog_uri'] = 'https://github.com/asppsa/rusty_lru/blob/master/CHANGELOG.md'
19
23
 
20
24
  # Specify which files should be added to the gem when it is released.
21
25
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rusty_lru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alastair Pharo
@@ -94,7 +94,9 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 0.74.0
97
- description: This gem wraps a the lru crate from Rustland, providing a Hash-like interface
97
+ description: |2
98
+ This gem provides an LRU cache with an interface close to Hash. It uses Rutie
99
+ to wrap the Rust 'lru' crate.
98
100
  email:
99
101
  - me@asph.dev
100
102
  executables: []
@@ -124,9 +126,10 @@ homepage: https://github.com/asppsa/rusty_lru
124
126
  licenses:
125
127
  - Apache-2.0
126
128
  metadata:
129
+ changelog_uri: https://github.com/asppsa/rusty_lru/blob/master/CHANGELOG.md
130
+ documentation_uri: https://rubydoc.info/gems/rusty_lru
127
131
  homepage_uri: https://github.com/asppsa/rusty_lru
128
132
  source_code_uri: https://github.com/asppsa/rusty_lru.git
129
- changelog_uri: https://github.com/asppsa/rusty_lru/blob/master/CHANGELOG.md
130
133
  post_install_message:
131
134
  rdoc_options: []
132
135
  require_paths: