much-plugin 0.2.2 → 0.2.3

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: fbaad5b7dab33dc311e475f220cfbfc341f7def78de5fbf58d0f73b1663d6824
4
- data.tar.gz: 6fad28bbd725bd87257f6c6e60e9cce2467a0f5ae5ab81b4030b7c266a419abd
3
+ metadata.gz: fdbddb73262158cb2261ed12d723e7fe54267fa06918211664cfb61f39a838d0
4
+ data.tar.gz: '085b09a6f64eced79f590df6bfacc5baa3595b3c2429f4ff453b824c33e366ce'
5
5
  SHA512:
6
- metadata.gz: b2fce8bb616549534a12f8532dcf4efcc23306ea1cfba943ec7360c7ee07645fef72ac412e983369685c6df477c51f3be04c0b583b3a7357a6db026db6c7858f
7
- data.tar.gz: 4321146b24ba6f7cdebecfa094f63bb3244996188df4d03b609a14c1cbc876cb3f06dc8d747ca1256aae0c7ba077ba3b68b7197c851fe86dae0639d11de1a11b
6
+ metadata.gz: f213b81efdfabae338b351d95cbf9a4ee3bbd16d90343ba9bff6fc300f382b870d441ef2a1bd253dfcad8716872567bd0a45379dbd9c1e68e0badf5086aa0f6f
7
+ data.tar.gz: a882e8279f35d99aa3f8cda31bca0d7452ba27e620a4f705c715859904c45f0e62afcb5d018d434f06345e1fbbd24561737b764d571efb2beb2a9844a28ebec2
data/Gemfile CHANGED
@@ -1,8 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source "https://rubygems.org"
2
4
 
5
+ ruby "~> 2.5"
6
+
3
7
  gemspec
4
8
 
5
- gem "pry", "~> 0.12.2"
9
+ gem "pry"
6
10
 
7
11
  # to release, uncomment this and run `bundle exec ggem r -f`
8
- gem 'ggem'
12
+ gem "ggem"
data/README.md CHANGED
@@ -112,7 +112,7 @@ MyClass.a_class_method # => "a-class-method"
112
112
 
113
113
  Add this line to your application's Gemfile:
114
114
 
115
- gem 'much-plugin'
115
+ gem "much-plugin"
116
116
 
117
117
  And then execute:
118
118
 
@@ -1,5 +1,5 @@
1
- require 'much-plugin'
2
- require 'benchmark'
1
+ require "much-plugin"
2
+ require "benchmark"
3
3
 
4
4
  module Methods; end
5
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "much-plugin/version"
2
4
 
3
5
  module MuchPlugin
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module MuchPlugin
2
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
3
5
  end
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # -*- encoding: utf-8 -*-
2
- lib = File.expand_path('../lib', __FILE__)
4
+ lib = File.expand_path("../lib", __FILE__)
3
5
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
6
  require "much-plugin/version"
5
7
 
@@ -11,13 +13,14 @@ Gem::Specification.new do |gem|
11
13
  gem.summary = %q{An API to ensure mixin included logic (the "plugin") only runs once.}
12
14
  gem.description = %q{An API to ensure mixin included logic (the "plugin") only runs once.}
13
15
  gem.homepage = "http://github.com/redding/much-plugin"
14
- gem.license = 'MIT'
16
+ gem.license = "MIT"
15
17
 
16
18
  gem.files = `git ls-files`.split($/)
17
19
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
18
20
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
21
  gem.require_paths = ["lib"]
20
22
 
21
- gem.add_development_dependency("assert", ["~> 2.18.1"])
23
+ gem.required_ruby_version = "~> 2.5"
22
24
 
25
+ gem.add_development_dependency("assert", ["~> 2.19.0"])
23
26
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # this file is automatically required when you run `assert`
2
4
  # put any test helpers here
3
5
 
@@ -5,15 +7,6 @@
5
7
  $LOAD_PATH.unshift(File.expand_path("../..", __FILE__))
6
8
 
7
9
  # require pry for debugging (`binding.pry`)
8
- require 'pry'
9
-
10
- require 'test/support/factory'
11
-
12
- # 1.8.7 backfills
10
+ require "pry"
13
11
 
14
- # Array#sample
15
- if !(a = Array.new).respond_to?(:sample) && a.respond_to?(:choice)
16
- class Array
17
- alias_method :sample, :choice
18
- end
19
- end
12
+ require "test/support/factory"
@@ -1,6 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "assert/factory"
2
4
 
3
5
  module Factory
4
6
  extend Assert::Factory
5
-
6
7
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "assert"
2
4
  require "much-plugin"
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "assert"
2
4
  require "much-plugin"
3
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: much-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Redding
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-06-01 00:00:00.000000000 Z
12
+ date: 2021-01-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: assert
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 2.18.1
20
+ version: 2.19.0
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 2.18.1
27
+ version: 2.19.0
28
28
  description: An API to ensure mixin included logic (the "plugin") only runs once.
29
29
  email:
30
30
  - kelly@kellyredding.com
@@ -57,9 +57,9 @@ require_paths:
57
57
  - lib
58
58
  required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '0'
62
+ version: '2.5'
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ">="