usedby 0.4.0 → 0.4.1.pre.1

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
2
  SHA256:
3
- metadata.gz: 51866979c0e578e1c2c4bda5c7f61e79cd9b6bb0a5366eaaf2c66f474b00c6ea
4
- data.tar.gz: 54e3aa2e5a415b570ead51e7c004b5a37683f76360c8d084874f0b05812281c7
3
+ metadata.gz: 2e57d685796f6f1e8da3517e97f6008f363917f66e526438f427b1b1ffda1501
4
+ data.tar.gz: 82231e7ddfedf962f78e41379fa38aa0069e1766435f5c2960180199da9f8f2a
5
5
  SHA512:
6
- metadata.gz: da372934168ed4cf0fb96e648c7735631c0068652516fa08142a8666f20be2f57f9a0b35861aec240b6a2b2ee29cc35b5387b3fa9c4a9f152ac2375beadb7b04
7
- data.tar.gz: 5ad1483db112e0b5cbf819f095de455dae8f90105c9a93fc85fcaf4d2c5bec296f9a9291519274ed03c54eee80e9dc878575961b638bb4a01288fe012442d8d7
6
+ metadata.gz: 8fe577689a06549460ea3908f8c9d869cac58e2c02c0360aedcae77bb96adc6b332fd4e4cf1cca489f569f64cfb9799fac48c9a2fca173bd690af8201235076a
7
+ data.tar.gz: d10c92cb847a2eba780fb51d4f28d14fc7a204225d5374815d19820f5c20fae382fbc76179e86318ccf91b96e88403baa331cbc10cbf76af70fa21a546a150a1
data/CHANGELOG.md ADDED
@@ -0,0 +1,45 @@
1
+ # Changelog
2
+
3
+ ## [0.4.0](https://github.com/appfolio/usedby/tree/0.4.0) (2020-02-14)
4
+
5
+ [Full Changelog](https://github.com/appfolio/usedby/compare/v0.3.0...0.4.0)
6
+
7
+ **Closed issues:**
8
+
9
+ - Handle GitHub rate limiting [\#6](https://github.com/appfolio/usedby/issues/6)
10
+ - Also search in gem repos [\#4](https://github.com/appfolio/usedby/issues/4)
11
+
12
+ **Merged pull requests:**
13
+
14
+ - Rename gem [\#13](https://github.com/appfolio/usedby/pull/13) ([magneland](https://github.com/magneland))
15
+ - Check for skipped file before processing content [\#12](https://github.com/appfolio/usedby/pull/12) ([magneland](https://github.com/magneland))
16
+ - Add gemspecs [\#11](https://github.com/appfolio/usedby/pull/11) ([magneland](https://github.com/magneland))
17
+ - Add coverage [\#10](https://github.com/appfolio/usedby/pull/10) ([magneland](https://github.com/magneland))
18
+ - Add coverage [\#9](https://github.com/appfolio/usedby/pull/9) ([magneland](https://github.com/magneland))
19
+ - Retry all GitHub API calls [\#7](https://github.com/appfolio/usedby/pull/7) ([magneland](https://github.com/magneland))
20
+ - Add gems option [\#5](https://github.com/appfolio/usedby/pull/5) ([magneland](https://github.com/magneland))
21
+ - Add filtering capability [\#3](https://github.com/appfolio/usedby/pull/3) ([bboe](https://github.com/bboe))
22
+
23
+ ## [v0.3.0](https://github.com/appfolio/usedby/tree/v0.3.0) (2018-07-20)
24
+
25
+ [Full Changelog](https://github.com/appfolio/usedby/compare/v0.2.0...v0.3.0)
26
+
27
+ **Merged pull requests:**
28
+
29
+ - Don't include archived repositories [\#2](https://github.com/appfolio/usedby/pull/2) ([bboe](https://github.com/bboe))
30
+
31
+ ## [v0.2.0](https://github.com/appfolio/usedby/tree/v0.2.0) (2018-07-03)
32
+
33
+ [Full Changelog](https://github.com/appfolio/usedby/compare/v0.1.0...v0.2.0)
34
+
35
+ **Merged pull requests:**
36
+
37
+ - Require organization name on command line [\#1](https://github.com/appfolio/usedby/pull/1) ([bboe](https://github.com/bboe))
38
+
39
+ ## [v0.1.0](https://github.com/appfolio/usedby/tree/v0.1.0) (2018-07-03)
40
+
41
+ [Full Changelog](https://github.com/appfolio/usedby/compare/8833d55536cadbc9aee87f8c274120b222ca8854...v0.1.0)
42
+
43
+
44
+
45
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
data/LICENSE.txt CHANGED
@@ -1,5 +1,4 @@
1
- Copyright (c) 2018, AppFolio, Inc.
2
- Copyright (c) 2018, Bryce Boe
1
+ Copyright (c) 2020, AppFolio, Inc.
3
2
  All rights reserved.
4
3
 
5
4
  Redistribution and use in source and binary forms, with or without
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # This is a dummy Gemfile used by ENV['BUNDLE_GEMFILE']
6
+ # There are no actual gems here
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Usedby
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.1.pre.1'
5
5
  end
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'bundler/version_ranges'
4
+
3
5
  module VersionRangesIntersection
4
6
  refine Bundler::VersionRanges::ReqR do
5
7
  # Checks whether two ranges overlap
data/lib/usedby.rb CHANGED
@@ -1,4 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # set environment variable to avoid GemfileNotFound error
4
+ ENV['BUNDLE_GEMFILE'] = File.join(__dir__, 'usedby', 'gems.rb') # new name for a Gemfile
3
5
  require 'usedby/cli'
4
6
  require 'usedby/version'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usedby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - AppFolio, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-14 00:00:00.000000000 Z
11
+ date: 2020-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -62,12 +62,13 @@ executables:
62
62
  extensions: []
63
63
  extra_rdoc_files: []
64
64
  files:
65
- - CHANGES.md
65
+ - CHANGELOG.md
66
66
  - LICENSE.txt
67
67
  - README.md
68
68
  - bin/usedby
69
69
  - lib/usedby.rb
70
70
  - lib/usedby/cli.rb
71
+ - lib/usedby/gems.rb
71
72
  - lib/usedby/version.rb
72
73
  - lib/usedby/version_ranges_intersection.rb
73
74
  homepage: https://github.com/appfolio/usedby
@@ -85,9 +86,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
86
  version: '0'
86
87
  required_rubygems_version: !ruby/object:Gem::Requirement
87
88
  requirements:
88
- - - ">="
89
+ - - ">"
89
90
  - !ruby/object:Gem::Version
90
- version: '0'
91
+ version: 1.3.1
91
92
  requirements: []
92
93
  rubygems_version: 3.1.2
93
94
  signing_key:
data/CHANGES.md DELETED
@@ -1,21 +0,0 @@
1
- # Change Log
2
-
3
- ## 0.3.0 (2018/07/20)
4
-
5
- **Added**
6
-
7
- * Don't include archived repositories.
8
-
9
-
10
- ## 0.2.0 (2018/07/03)
11
-
12
- **Added**
13
-
14
- * Require `GITHUB_ORGANIZATION` to be provided on the command line.
15
-
16
- ## 0.1.0 (2018/07/03)
17
-
18
- **Added**
19
-
20
- * Provide initial version of the `organization_gem_dependencies` command line
21
- tool.