vls 0.3.11 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ce087958b4f158b446f9e7e85c539b4293116b4e
4
- data.tar.gz: 3d42aa194189f133c8a0e774fa397de2c4ff576f
2
+ SHA256:
3
+ metadata.gz: de49890bdf99f904355ba9cc29564e92e56a5a3b6212674ee2dfc31b19d6567b
4
+ data.tar.gz: 2371aa96e7712c8beaeee907d6ced4d094e09dbe1057b63ff9f25ad448c9557d
5
5
  SHA512:
6
- metadata.gz: 3d7f90eada04839e7b3332b8be0fe6a05367b1401ad7c1f00bf591e0e52d9a4727ac0ea753f592dccca85989acc284fcb20dcaa1727316e7ff9e7bea88649695
7
- data.tar.gz: 394c4e44bdfda59b2cf21411af92bef257a9519c52198a957168bc3cb5985b3961839e3a3e228a0d296532e0600d695e853c7919f5908b138205997430abed82
6
+ metadata.gz: 270c98d402106150103bf9170da87468231ebf9ef2fd4806a4a46bd9f621e7a34250ab525d5b7155b25c4c2fa12ef3cc32d32e3eed41c57c6b881d651c6be22b
7
+ data.tar.gz: 3811e9f29f17de5ec078b7dac10a63d00999a590e5dba47b73fa02afb260b7f6de5782124a4011d4fa70d2feef9ee31081a151c36cdded2c5dab7712a75b4fa6
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at peter.c.camilleri@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/README.md CHANGED
@@ -220,3 +220,14 @@ tutorials for more information.
220
220
 
221
221
  Go to the GitHub repository and raise an issue calling attention to some
222
222
  aspect that could use some TLC or a suggestion or an idea.
223
+
224
+ ## License
225
+
226
+ The gem is available as open source under the terms of the
227
+ [MIT License](./LICENSE.txt).
228
+
229
+ ## Code of Conduct
230
+
231
+ Everyone interacting in the fully_freeze project’s codebases, issue trackers,
232
+ chat rooms and mailing lists is expected to follow the
233
+ [code of conduct](./CODE_OF_CONDUCT.md).
data/lib/vls.rb CHANGED
@@ -35,15 +35,10 @@ module VersionLS
35
35
  #<br>Returns
36
36
  #* An array of module objects.
37
37
  def self.modules(filter)
38
- mods = ObjectSpace.each_object(Module).
39
- select do |mod|
40
- mod.const_defined?("VERSION") &&
41
- mod.name.partition(filter)[1] != ""
42
- end.
43
- sort do |first, second|
44
- first.name <=> second.name
45
- end
38
+ regex = Regexp.new(filter)
46
39
 
47
- mods - [VersionLS]
40
+ ObjectSpace.each_object(Module)
41
+ .select {|mod| mod.const_defined?("VERSION") && mod.name =~ regex}
42
+ .sort {|first, second| first.name <=> second.name}
48
43
  end
49
44
  end
data/lib/vls/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module VersionLS
2
- STRING = VERSION = "0.3.11"
2
+ STRING = VERSION = "0.4.3"
3
3
 
4
4
  DESCRIPTION = "A CLI and Rails console utility that lists the versions of " +
5
5
  "modules used by the specified gems/ruby files or Rails project."
data/vls.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.description = VersionLS::DESCRIPTION
13
13
  spec.summary = "A version listing utility."
14
- spec.homepage = "http://teuthida-technologies.com/"
14
+ spec.homepage = "https://github.com/PeterCamilleri/vls"
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(tests)/}) }
@@ -21,6 +21,6 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.required_ruby_version = '>=1.9.3'
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.11"
25
- spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "bundler", ">= 2.1.0"
25
+ spec.add_development_dependency "rake", ">= 12.3.3"
26
26
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.11
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Camilleri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-30 00:00:00.000000000 Z
11
+ date: 2021-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.11'
19
+ version: 2.1.0
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.11'
26
+ version: 2.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: 12.3.3
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: 12.3.3
41
41
  description: A CLI and Rails console utility that lists the versions of modules used
42
42
  by the specified gems/ruby files or Rails project.
43
43
  email:
@@ -48,6 +48,7 @@ extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
50
  - ".gitignore"
51
+ - CODE_OF_CONDUCT.md
51
52
  - Gemfile
52
53
  - LICENSE.txt
53
54
  - README.md
@@ -59,7 +60,7 @@ files:
59
60
  - rakefile.rb
60
61
  - reek.txt
61
62
  - vls.gemspec
62
- homepage: http://teuthida-technologies.com/
63
+ homepage: https://github.com/PeterCamilleri/vls
63
64
  licenses:
64
65
  - MIT
65
66
  metadata: {}
@@ -78,10 +79,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
79
  - !ruby/object:Gem::Version
79
80
  version: '0'
80
81
  requirements: []
81
- rubyforge_project:
82
- rubygems_version: 2.2.2
82
+ rubygems_version: 3.2.17
83
83
  signing_key:
84
84
  specification_version: 4
85
85
  summary: A version listing utility.
86
86
  test_files: []
87
- has_rdoc: