slugworth 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: 04ab52605f883c0def4b390bcc679b8ca3e02e1b
4
- data.tar.gz: 015b1c107147250b77fb16e89c5cb21577982c29
3
+ metadata.gz: 8d0d9cc6d5dddc361b06e46ec62babe1b7f2899c
4
+ data.tar.gz: 1899d71cb7f912ade4e4c7bf10be1210be93bac5
5
5
  SHA512:
6
- metadata.gz: cf4eafd11571e1243cc29e9e40b9589fc9cebfa435785ca2f9523dbf0b7eb5864b9d7cdf11c57cc60d23937fe0187ba0b1edc9f703ec0c0c0124603575b5b527
7
- data.tar.gz: 595902d54c36d528dc60a9a47544eccd56ab0fc990da6d56044ce3c3f71153c0f52c3a94d4dd3fb7e9a7904d3f278a461f2edef8b62901f241e1ec33e863a858
6
+ metadata.gz: cb945a26dcecc920f07b02effb13582c6bfad506ec8c647bdd2ae1be40cd961936d074f107f4cf8d107639e6d9ac6a986e2df02c524bb9fbd40b94293ddb6cfa
7
+ data.tar.gz: cfd6f446625a3b27ec775e12c0a3b004824523ae70aedf8ae8de604ef83d4de25ad45eb3651ca5568212884cc6a7a83a1dfcf294b54c436c7ed953e0c4c9c40d
@@ -0,0 +1,9 @@
1
+ # Changelog
2
+
3
+ ## 1.0.1
4
+
5
+ - [Bug fix] Shared example had `User` class hard coded
6
+
7
+ ## 1.0.0
8
+
9
+ - Initial functionality
@@ -1,3 +1,3 @@
1
1
  module Slugworth
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -40,7 +40,7 @@ shared_examples_for :has_slug_functionality do
40
40
  describe ".find_by_slug" do
41
41
  context 'when record is available to be found' do
42
42
  before do
43
- User.create(slug: 'named-slug')
43
+ described_class.create(slug: 'named-slug')
44
44
  end
45
45
 
46
46
  specify 'record is returned' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slugworth
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
  - Matt Polito
@@ -118,6 +118,7 @@ files:
118
118
  - .gitignore
119
119
  - .ruby-gemset
120
120
  - .ruby-version
121
+ - CHANGELOG
121
122
  - Gemfile
122
123
  - LICENSE.txt
123
124
  - README.md