uses 1.0.0.pre.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +35 -0
- data/.gitignore +9 -0
- data/.rspec +1 -0
- data/.ruby-version +1 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/CONTRIBUTING.md +5 -0
- data/Gemfile +6 -0
- data/LICENSE.md +33 -0
- data/README.md +368 -0
- data/Rakefile +2 -0
- data/bin/ci +10 -0
- data/bin/console +14 -0
- data/bin/rspec +29 -0
- data/bin/setup +6 -0
- data/lib/uses/circular_dependency/analyzer.rb +60 -0
- data/lib/uses/circular_dependency/base_notifier.rb +18 -0
- data/lib/uses/circular_dependency/error.rb +7 -0
- data/lib/uses/circular_dependency/ignore_notifier.rb +10 -0
- data/lib/uses/circular_dependency/log_notifier.rb +10 -0
- data/lib/uses/circular_dependency/raise_error_notifier.rb +11 -0
- data/lib/uses/config.rb +38 -0
- data/lib/uses/error.rb +4 -0
- data/lib/uses/initializer/base_initializer.rb +19 -0
- data/lib/uses/initializer/from_initializers.rb +9 -0
- data/lib/uses/initializer/new_no_args.rb +11 -0
- data/lib/uses/initializer/proc_based.rb +7 -0
- data/lib/uses/initializer.rb +35 -0
- data/lib/uses/inject_double.rb +76 -0
- data/lib/uses/invalid_method_name.rb +5 -0
- data/lib/uses/method.rb +87 -0
- data/lib/uses/method_name.rb +23 -0
- data/lib/uses/uses_method_args.rb +24 -0
- data/lib/uses/version.rb +3 -0
- data/lib/uses.rb +49 -0
- data/uses.gemspec +29 -0
- metadata +138 -0
metadata
ADDED
@@ -0,0 +1,138 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: uses
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.pre.beta1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dave Copeland
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-12-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec_junit_formatter
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: confidence-check
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description:
|
70
|
+
email:
|
71
|
+
- davec@naildrivin5.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".circleci/config.yml"
|
77
|
+
- ".gitignore"
|
78
|
+
- ".rspec"
|
79
|
+
- ".ruby-version"
|
80
|
+
- CODE_OF_CONDUCT.md
|
81
|
+
- CONTRIBUTING.md
|
82
|
+
- Gemfile
|
83
|
+
- LICENSE.md
|
84
|
+
- README.md
|
85
|
+
- Rakefile
|
86
|
+
- bin/ci
|
87
|
+
- bin/console
|
88
|
+
- bin/rspec
|
89
|
+
- bin/setup
|
90
|
+
- lib/uses.rb
|
91
|
+
- lib/uses/circular_dependency/analyzer.rb
|
92
|
+
- lib/uses/circular_dependency/base_notifier.rb
|
93
|
+
- lib/uses/circular_dependency/error.rb
|
94
|
+
- lib/uses/circular_dependency/ignore_notifier.rb
|
95
|
+
- lib/uses/circular_dependency/log_notifier.rb
|
96
|
+
- lib/uses/circular_dependency/raise_error_notifier.rb
|
97
|
+
- lib/uses/config.rb
|
98
|
+
- lib/uses/error.rb
|
99
|
+
- lib/uses/initializer.rb
|
100
|
+
- lib/uses/initializer/base_initializer.rb
|
101
|
+
- lib/uses/initializer/from_initializers.rb
|
102
|
+
- lib/uses/initializer/new_no_args.rb
|
103
|
+
- lib/uses/initializer/proc_based.rb
|
104
|
+
- lib/uses/inject_double.rb
|
105
|
+
- lib/uses/invalid_method_name.rb
|
106
|
+
- lib/uses/method.rb
|
107
|
+
- lib/uses/method_name.rb
|
108
|
+
- lib/uses/uses_method_args.rb
|
109
|
+
- lib/uses/version.rb
|
110
|
+
- uses.gemspec
|
111
|
+
homepage: https://github.com/sustainable-rails/uses
|
112
|
+
licenses:
|
113
|
+
- Hippocratic
|
114
|
+
metadata:
|
115
|
+
homepage_uri: https://github.com/sustainable-rails/uses
|
116
|
+
source_code_uri: https://github.com/sustainable-rails/uses
|
117
|
+
changelog_uri: https://github.com/sustainable-rails/uses/releases
|
118
|
+
post_install_message:
|
119
|
+
rdoc_options: []
|
120
|
+
require_paths:
|
121
|
+
- lib
|
122
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 2.5.0
|
127
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.3.1
|
132
|
+
requirements: []
|
133
|
+
rubygems_version: 3.2.29
|
134
|
+
signing_key:
|
135
|
+
specification_version: 4
|
136
|
+
summary: Declare that one classes uses an instance of another to help your code be
|
137
|
+
a bit more sustainable
|
138
|
+
test_files: []
|