dependagrab 0.1.1 → 0.1.2

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: 11c4874c224ffa840474e0afefdd5f01450901397ed59a4ff49520cc20120825
4
- data.tar.gz: df168d0f83220a9e44a0994a16555d871677477e5ffff07a9f7e29af111f8ee4
3
+ metadata.gz: 0f596a75e314c363ca18ce0b1ff10f70a22f807f1169a25bcd83e786a17f57f0
4
+ data.tar.gz: 91d16f7113d00101c439239c236ef2db2e2a1ddcadbd36d665aaf0680c262e78
5
5
  SHA512:
6
- metadata.gz: f79942b317b628f1635284afe4c6059dc0efd9b3d10527078f63a54fc741be37b53f20667dd385a17053eaaa0b49b76892a9a48d897baa81253640cb27ba105f
7
- data.tar.gz: 18644e8f2c54b2a6c3e942fe4259a97543674889b54a8b5983f4c411ccdb565f65257a4035c6906c5b662827bce0fab403ad317f9ee1ed163432f6d3e915b8fc
6
+ metadata.gz: 2e54970af3b3f3bd7c8790595ff89ec9b275b62439b1e70eb74c1325ff602db28dc8a27b108bd575f04a6fde9639f4ffdb6c54af8242e6b7f74a8eb8fbf0e07a
7
+ data.tar.gz: 7dd6e36574907d484c4a5661b93425239c27cdd265bc82d1734b32ee9eace1d9624b04f1f744229f5bbee38ade8a8e31bc56ef1f3e4fc87aed0b7a9a385f0a6a
data/CHANGE_LOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # V0.1.2
2
+ Fix require paths
3
+
1
4
  # V0.1.1
2
5
  Fix executable config
3
6
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dependagrab (0.1.1)
4
+ dependagrab (0.1.2)
5
5
  graphql-client (= 0.17.0)
6
6
 
7
7
  GEM
@@ -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
@@ -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
@@ -1,5 +1,3 @@
1
- require './lib/dependagrab/gh_api'
2
-
3
1
  module Dependagrab
4
2
  class GithubClient
5
3
 
@@ -1,3 +1,3 @@
1
1
  module Dependagrab
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependagrab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Elliott