dependagrab 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGE_LOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/dependagrab/cli.rb +0 -4
- data/lib/dependagrab/gh_api.rb +1 -1
- data/lib/dependagrab/github_client.rb +0 -2
- data/lib/dependagrab/version.rb +1 -1
- data/lib/dependagrab.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f596a75e314c363ca18ce0b1ff10f70a22f807f1169a25bcd83e786a17f57f0
|
4
|
+
data.tar.gz: 91d16f7113d00101c439239c236ef2db2e2a1ddcadbd36d665aaf0680c262e78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e54970af3b3f3bd7c8790595ff89ec9b275b62439b1e70eb74c1325ff602db28dc8a27b108bd575f04a6fde9639f4ffdb6c54af8242e6b7f74a8eb8fbf0e07a
|
7
|
+
data.tar.gz: 7dd6e36574907d484c4a5661b93425239c27cdd265bc82d1734b32ee9eace1d9624b04f1f744229f5bbee38ade8a8e31bc56ef1f3e4fc87aed0b7a9a385f0a6a
|
data/CHANGE_LOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/dependagrab/cli.rb
CHANGED
@@ -2,9 +2,6 @@ require 'getoptlong'
|
|
2
2
|
require 'dependagrab'
|
3
3
|
|
4
4
|
module Dependagrab
|
5
|
-
require 'dependagrab/console_writer'
|
6
|
-
require 'dependagrab/file_writer'
|
7
|
-
|
8
5
|
class CLI
|
9
6
|
def self.start
|
10
7
|
opts = GetoptLong.new(
|
@@ -13,7 +10,6 @@ module Dependagrab
|
|
13
10
|
[ '--output', '-o', GetoptLong::REQUIRED_ARGUMENT ],
|
14
11
|
)
|
15
12
|
|
16
|
-
|
17
13
|
options = {}
|
18
14
|
|
19
15
|
begin
|
data/lib/dependagrab/gh_api.rb
CHANGED
@@ -4,7 +4,7 @@ require "graphql/client/http"
|
|
4
4
|
module Dependagrab
|
5
5
|
module GHAPI
|
6
6
|
GRAPHQL_API = "https://api.github.com/graphql"
|
7
|
-
SCHEMA_PATH = "static/gh_schema.json"
|
7
|
+
SCHEMA_PATH = File.join(File.expand_path('../../', File.dirname(__FILE__)), "static/gh_schema.json")
|
8
8
|
|
9
9
|
# Configure GraphQL endpoint using the basic HTTP network adapter.
|
10
10
|
HTTP = GraphQL::Client::HTTP.new(GRAPHQL_API) do
|
data/lib/dependagrab/version.rb
CHANGED
data/lib/dependagrab.rb
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
module Dependagrab
|
2
2
|
require "dependagrab/version"
|
3
|
+
require 'dependagrab/gh_api'
|
3
4
|
require "dependagrab/github_client"
|
5
|
+
require "dependagrab/console_writer"
|
6
|
+
require "dependagrab/file_writer"
|
4
7
|
|
5
8
|
class Error < StandardError; end
|
6
9
|
class MissingConfigError < Dependagrab::Error; end
|