diggit 2.1.2 → 3.0.0

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
  SHA1:
3
- metadata.gz: 5cac2786446fa6926083f231b569214be1e40f0a
4
- data.tar.gz: 29a9bd41ae8706f127b8f537e3158c8b1e5641bb
3
+ metadata.gz: 5e2ef36de4b3c3a37f0bf01be4b1d5b8d48b71e6
4
+ data.tar.gz: 188b76a064ca36ba8e63eee8480776e73afb8ed8
5
5
  SHA512:
6
- metadata.gz: c52e0b3028901e59002dd18dec88e307fd0b9b586e1a2da2e5643ed706ff7aaa2f45f5fa2d3f7618e8ef451510bdedc6d768978ef52307ac94b87e26fd4f827a
7
- data.tar.gz: 955253ceb5e4f142d9571b943ed852c40cf0ab476a3ae9958e80be5f22cbb0e2ccfc1bd79bb42e03eed14fa963c4be19e58580aae626d69e14ff76a77e7246fa
6
+ metadata.gz: 49ed2415530c6fc23cd824db22fc2b869384e55de0ffe59494a9413aafb0a7e3524db9a4a923b704babbb41773e050755a5cfafe90cb64adc69efd3b78a91b96
7
+ data.tar.gz: 96d9503d93ab9f90d6069673e9e3ca0d410b9705b9c9fd860a45e22fb028ac2757aa88d3734f8bec3c6fc718d0468057aa8e3773d1ac8036469ccdaaa2bf445e
data/bin/dgit CHANGED
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- # encoding: utf-8
3
2
  #
4
3
  # This file is part of Diggit.
5
4
  #
@@ -27,8 +26,8 @@ module Diggit
27
26
  extend self
28
27
  program_desc 'A git repository analysis tool.'
29
28
 
30
- switch [:v, :verbose], default_value: false, negatable: false, desc: "Indicates if the debug information are visible."
31
- flag [:f, :folder], default_value: ".", desc: "Path to the diggit folder. Default: current folder."
29
+ switch %i[v verbose], default_value: false, negatable: false, desc: "Indicates if the debug information are visible."
30
+ flag %i[f folder], default_value: ".", desc: "Path to the diggit folder. Default: current folder."
32
31
 
33
32
  version Diggit::VERSION
34
33
 
@@ -178,9 +177,9 @@ module Diggit
178
177
  end
179
178
  c.desc 'Perform joins.'
180
179
  c.command :perform do |perform|
181
- perform.flag [:s, :sources], desc: "list of sources", type: Array, default_value: []
182
- perform.flag [:a, :analyses], desc: "list of analyses", type: Array, default_value: []
183
- perform.flag [:m, :mode], desc: "running mode",
180
+ perform.flag %i[s sources], desc: "list of sources", type: Array, default_value: []
181
+ perform.flag %i[a analyses], desc: "list of analyses", type: Array, default_value: []
182
+ perform.flag %i[m mode], desc: "running mode",
184
183
  must_match: { "run" => :run, "clean" => :clean, "rerun" => :rerun }, default_value: :run
185
184
  perform.action do |_global_options, options, _args|
186
185
  Diggit::Dig.it.join(options[:s], options[:a], options[:m])
@@ -213,9 +212,9 @@ module Diggit
213
212
  end
214
213
  c.desc 'Perform analyses.'
215
214
  c.command :perform do |perform|
216
- perform.flag [:s, :sources], desc: "list of sources", type: Array, default_value: []
217
- perform.flag [:a, :analyses], desc: "list of analyses", type: Array, default_value: []
218
- perform.flag [:m, :mode], desc: "running mode",
215
+ perform.flag %i[s sources], desc: "list of sources", type: Array, default_value: []
216
+ perform.flag %i[a analyses], desc: "list of analyses", type: Array, default_value: []
217
+ perform.flag %i[m mode], desc: "running mode",
219
218
  must_match: { "run" => :run, "clean" => :clean, "rerun" => :rerun }, default_value: :run
220
219
  perform.action do |_global_options, options, _args|
221
220
  Diggit::Dig.it.analyze(options[:s], options[:a], options[:m])
@@ -228,7 +227,7 @@ module Diggit
228
227
  command :clones do |c|
229
228
  c.desc 'Perform the clones.'
230
229
  c.command :perform do |perform|
231
- perform.flag [:s, :sources], desc: "list of sources", type: Array, default_value: []
230
+ perform.flag %i[s sources], desc: "list of sources", type: Array, default_value: []
232
231
  perform.action do |_global_options, options, _args|
233
232
  Diggit::Dig.it.clone(*options[:s])
234
233
  end
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,6 +1,3 @@
1
- # frozen_string_literal: true
2
- # encoding: utf-8
3
- #
4
1
  # This file is part of Diggit.
5
2
  #
6
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -25,6 +22,15 @@ require 'singleton'
25
22
  require_relative 'log'
26
23
  require_relative 'entries'
27
24
 
25
+ class Dummy
26
+ def initialize(_)
27
+ Object.new
28
+ end
29
+ end
30
+
31
+ Oj.default_options = Oj.default_options.merge(mode: :object, auto_define: true, circular: true)
32
+ Oj.register_odd(Rugged::Repository, Dummy, :new, :to_s)
33
+
28
34
  class String
29
35
  # Returns a underscore cased version of the string.
30
36
  # @return [String]
@@ -82,7 +88,7 @@ module Diggit
82
88
  @repository = File.exist?(folder) ? Rugged::Repository.new(folder) : Rugged::Repository.clone_at(url, folder)
83
89
  @repository.checkout(@oid, { strategy: :force })
84
90
  @entry.state = :cloned
85
- rescue => e
91
+ rescue StandardError => e
86
92
  Log.error "Error cloning #{url}: #{e}"
87
93
  e.backtrace.each { |l| Log.debug(l) }
88
94
  @entry.error = e
@@ -96,7 +102,7 @@ module Diggit
96
102
  end
97
103
 
98
104
  class Journal
99
- attr_reader :sources, :workspace
105
+ attr_reader :workspace
100
106
 
101
107
  def initialize
102
108
  @sources = {}
@@ -216,7 +222,7 @@ module Diggit
216
222
  class PluginLoader
217
223
  include Singleton
218
224
 
219
- PLUGINS_TYPES = [:addon, :analysis, :join].freeze
225
+ PLUGINS_TYPES = %i[addon analysis join].freeze
220
226
 
221
227
  # Load the plugin with the given name and type.
222
228
  # @param name [String] the name of the plugin
@@ -258,7 +264,7 @@ module Diggit
258
264
  end
259
265
 
260
266
  def load_file(name, type)
261
- f_glob = PluginLoader.plugin_paths(name, type, File.expand_path('../..', File.dirname(File.realpath(__FILE__))))
267
+ f_glob = PluginLoader.plugin_paths(name, type, File.expand_path('../..', __dir__))
262
268
  f_home = PluginLoader.plugin_paths(name, type, File.join(Dir.home, Dig::DGIT_FOLDER))
263
269
  f_local = PluginLoader.plugin_paths(name, type, Dig.it.folder)
264
270
  Log.debug "Plugin files in global: #{f_glob}."
@@ -471,7 +477,7 @@ module Diggit
471
477
  entry = RunnableEntry.new(runnable)
472
478
  begin
473
479
  runnable.clean
474
- rescue => e
480
+ rescue StandardError => e
475
481
  entry.toc
476
482
  entry.error = e
477
483
  placeholder.canceled << entry
@@ -486,7 +492,7 @@ module Diggit
486
492
  entry = RunnableEntry.new(runnable)
487
493
  begin
488
494
  runnable.run
489
- rescue => e
495
+ rescue StandardError => e
490
496
  entry.toc
491
497
  entry.error = e
492
498
  placeholder.canceled << entry
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -48,7 +46,7 @@ class Formatador
48
46
 
49
47
  def self.visible(method)
50
48
  target = method.to_sym
51
- if target == :ok || target == :error || target == :info
49
+ if %i[ok error info].include?(target)
52
50
  true
53
51
  elsif (target == :warn || target == :debug) && level == :fine
54
52
  true
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,6 +1,3 @@
1
- # frozen_string_literal: true
2
- # encoding: utf-8
3
- #
4
1
  # This file is part of Diggit.
5
2
  #
6
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -19,5 +16,5 @@
19
16
  # Copyright 2015 Jean-Rémy Falleri <jr.falleri@gmail.com>
20
17
 
21
18
  module Diggit
22
- VERSION = '2.1.2'.freeze
19
+ VERSION = '3.0.0'.freeze
23
20
  end
@@ -1,6 +1,3 @@
1
- # frozen_string_literal: true
2
- # encoding: utf-8
3
- #
4
1
  # This file is part of Diggit.
5
2
  #
6
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,6 +1,3 @@
1
- # frozen_string_literal: true
2
- # encoding: utf-8
3
- #
4
1
  # This file is part of Diggit.
5
2
  #
6
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,6 +1,3 @@
1
- # frozen_string_literal: true
2
- # encoding: utf-8
3
- #
4
1
  # This file is part of Diggit.
5
2
  #
6
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -31,10 +29,10 @@ class Cloc < Diggit::Analysis
31
29
  walker.sorting(Rugged::SORT_TOPO | Rugged::SORT_REVERSE)
32
30
  walker.push(repo.head.name)
33
31
  walker.each do |c|
34
- repo.checkout(c.oid, { strategy: [:force, :remove_untracked] })
32
+ repo.checkout(c.oid, { strategy: %i[force remove_untracked] })
35
33
  cloc = `cloc #{@source.folder} --progress-rate=0 --quiet --yaml`
36
34
  next if cloc.empty?
37
- yaml = YAML.load(cloc.lines[2..-1].join)
35
+ yaml = YAML.safe_load(cloc.lines[2..-1].join)
38
36
  yaml.delete('header')
39
37
  output = { source: @source.url, commit: c.oid, cloc: yaml }
40
38
  db.client['cloc'].insert_one(output)
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -24,11 +22,11 @@ class ClocPerFile < Diggit::Analysis
24
22
  def run
25
23
  commit_oid = src_opt[@source]["cloc-commit-id"] unless src_opt[@source].nil?
26
24
  commit_oid = 'HEAD' if commit_oid.nil?
27
- repo.checkout(commit_oid, { strategy: [:force, :remove_untracked] })
25
+ repo.checkout(commit_oid, { strategy: %i[force emove_untracked] })
28
26
  folder = File.expand_path(@source.folder)
29
27
  cloc = `cloc #{folder} --progress-rate=0 --quiet --by-file --yaml --script-lang=Python,python`
30
28
  return if cloc.empty?
31
- yaml = YAML.load(cloc.lines[2..-1].join)
29
+ yaml = YAML.safe_load(cloc.lines[2..-1].join)
32
30
  yaml.delete('header')
33
31
  yaml.delete('SUM')
34
32
  cloc_a = []
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -21,6 +19,9 @@
21
19
 
22
20
  require 'yaml'
23
21
 
22
+ # List all conflicts from a repository.
23
+ # Useful alias to explore the results :
24
+ # alias fconflicts "find . -iname '*.diff3' | sed -e 's/\.\///g' | sed -e 's/\/.*/\//g' | uniq -u"
24
25
  class ConflictMerge < Diggit::Analysis
25
26
  require_addons 'out'
26
27
 
@@ -40,41 +41,42 @@ class ConflictMerge < Diggit::Analysis
40
41
  next unless parents.size > 1
41
42
  left = parents[0]
42
43
  right = parents[1]
43
- next if repo.merge_base(left, right).nil?
44
- base = repo.lookup(repo.merge_base(left, right))
45
- %w(m b l r).each { |p| FileUtils.mkdir_p(File.join(out_dir, p)) }
44
+ base_oid = repo.merge_base(left, right)
45
+ next if base_oid.nil?
46
+ base = repo.lookup(base_oid)
47
+ %w[m b l r].each { |p| FileUtils.mkdir_p(File.join(out_dir, p)) }
46
48
  populate_merge_directory(out_dir, commit, base, left, right)
47
49
  end
48
50
  end
49
51
 
50
52
  def populate_merge_directory(out_dir, commit, base, left, right)
51
- commit.tree.walk(:preorder) do |r, e|
52
- next if e[:type] == :tree
53
+ commit.tree.walk_blobs(:preorder) do |r, e|
53
54
  next if base.tree.get_entry_by_oid(e[:oid])
54
55
  oids = find_oids(r, e[:name], base, left, right)
55
56
  next if oids[:left].nil? || oids[:right].nil? # This would result in a trivial merge
56
57
 
57
- fname = flatten_name(r + e[:name])
58
- write(e[:oid], fname, out_dir, 'm')
58
+ flat_name = flatten_name(r + e[:name])
59
+ write(e[:oid], flat_name, out_dir, 'm')
59
60
  if oids[:base].nil?
60
- write_file("", fname, out_dir, 'b') # Create a fake file in base
61
+ write_file("", flat_name, out_dir, 'b') # Create a fake file in base
61
62
  else
62
- write(oids[:base], fname, out_dir, 'b')
63
+ write(oids[:base], flat_name, out_dir, 'b')
63
64
  end
64
- write(oids[:left], fname, out_dir, 'l')
65
- write(oids[:right], fname, out_dir, 'r')
65
+ write(oids[:left], flat_name, out_dir, 'l')
66
+ write(oids[:right], flat_name, out_dir, 'r')
66
67
 
67
68
  write_commit_log(out_dir, commit, base, left, right)
68
69
 
69
- diff_file = File.join(out_dir, "#{fname}.diff3")
70
- File.unlink diff_file unless system(
70
+ diff_file = File.join(out_dir, "#{flat_name}.diff3")
71
+ system(
71
72
  DIFF3,
72
- "-m",
73
- File.join(out_dir, 'l', fname),
74
- File.join(out_dir, 'b', fname),
75
- File.join(out_dir, 'r', fname),
73
+ '-xTa',
74
+ File.join(out_dir, 'l', flat_name),
75
+ File.join(out_dir, 'b', flat_name),
76
+ File.join(out_dir, 'r', flat_name),
76
77
  out: diff_file
77
- ) == false
78
+ )
79
+ File.unlink diff_file if File.zero?(diff_file)
78
80
  end
79
81
  end
80
82
 
@@ -88,10 +90,9 @@ class ConflictMerge < Diggit::Analysis
88
90
  end
89
91
 
90
92
  def find_oid(tree, components, name)
91
- components.each { |c| tree = repo.lookup(tree[c][:oid]) }
93
+ components.each { |c| tree = repo.lookup(tree[c][:oid]) unless tree.nil? || tree[c].nil? }
94
+ return nil if tree.nil? || tree[name].nil?
92
95
  tree[name][:oid]
93
- rescue
94
- nil
95
96
  end
96
97
 
97
98
  def write(oid, name, *kind)
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -23,11 +21,11 @@ require 'oj'
23
21
  class Javadoc < Diggit::Analysis
24
22
  require_addons 'out'
25
23
 
26
- VALID_TYPES = %w(
24
+ VALID_TYPES = %w[
27
25
  root CompilationUnit TypeDeclaration FieldDeclaration MethodDeclaration SimpleName QualifiedName
28
26
  QualifiedName SimpleType PrimitiveType ArrayType SingleVariableDeclaration VariableDeclarationFragment
29
27
  Modifier Javadoc TagElement TextElement MarkerAnnotation MethodRef
30
- ).freeze
28
+ ].freeze
31
29
 
32
30
  def initialize(options)
33
31
  super(options)
@@ -134,9 +132,7 @@ class Javadoc < Diggit::Analysis
134
132
  def get_params(m)
135
133
  data = {}
136
134
  m.xpath("Javadoc/TagElement[@label='@param']").each do |p|
137
- if data[p.at_xpath("SimpleName/@label").to_s].nil?
138
- data[p.at_xpath("SimpleName/@label").to_s] = []
139
- end
135
+ data[p.at_xpath("SimpleName/@label").to_s] = [] if data[p.at_xpath("SimpleName/@label").to_s].nil?
140
136
 
141
137
  data[p.at_xpath("SimpleName/@label").to_s].push(p.xpath("TextElement/@label").to_s)
142
138
  end
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -31,7 +29,7 @@ class Tex < Diggit::Analysis
31
29
  walker.sorting(Rugged::SORT_TOPO | Rugged::SORT_REVERSE)
32
30
  walker.push(repo.head.name)
33
31
  walker.each do |c|
34
- repo.checkout(c.oid, { strategy: [:force, :remove_untracked] })
32
+ repo.checkout(c.oid, { strategy: %i[force remove_untracked] })
35
33
  words = Dir["**/*.tex"].reduce(0) { |acc, elem| acc + `cat "#{elem}" | wc -w`.to_i }
36
34
  File.open(file, 'a') { |f| f.puts("#{source.url};#{c.oid};#{words}\n") }
37
35
  end
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
- #
3
1
  # This file is part of Diggit.
4
2
  #
5
3
  # Diggit is free software: you can redistribute it and/or modify
@@ -1,6 +1,3 @@
1
- # frozen_string_literal: true
2
- # encoding: utf-8
3
- #
4
1
  # This file is part of Diggit.
5
2
  #
6
3
  # Diggit is free software: you can redistribute it and/or modify
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diggit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Rémy Falleri
@@ -9,10 +9,10 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-12-12 00:00:00.000000000 Z
12
+ date: 2018-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: rugged
15
+ name: formatador
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - "~>"
@@ -26,7 +26,7 @@ dependencies:
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
- name: oj
29
+ name: gli
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
@@ -40,7 +40,7 @@ dependencies:
40
40
  - !ruby/object:Gem::Version
41
41
  version: '2'
42
42
  - !ruby/object:Gem::Dependency
43
- name: gli
43
+ name: oj
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
@@ -54,7 +54,7 @@ dependencies:
54
54
  - !ruby/object:Gem::Version
55
55
  version: '2'
56
56
  - !ruby/object:Gem::Dependency
57
- name: formatador
57
+ name: rugged
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
@@ -68,21 +68,21 @@ dependencies:
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
- name: rspec
71
+ name: coveralls
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '3'
76
+ version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '3'
83
+ version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
- name: yard
85
+ name: pry
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
@@ -96,77 +96,77 @@ dependencies:
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
- name: redcarpet
99
+ name: rake
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '3'
104
+ version: '11'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '3'
111
+ version: '11'
112
112
  - !ruby/object:Gem::Dependency
113
- name: rake
113
+ name: redcarpet
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: '11'
118
+ version: '3'
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - "~>"
124
124
  - !ruby/object:Gem::Version
125
- version: '11'
125
+ version: '3'
126
126
  - !ruby/object:Gem::Dependency
127
- name: coveralls
127
+ name: rspec
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - "~>"
131
131
  - !ruby/object:Gem::Version
132
- version: '0'
132
+ version: '3'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '0'
139
+ version: '3'
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: rubocop
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: '0'
146
+ version: 0.49.0
147
147
  type: :development
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - "~>"
152
152
  - !ruby/object:Gem::Version
153
- version: '0'
153
+ version: 0.49.0
154
154
  - !ruby/object:Gem::Dependency
155
- name: pry
155
+ name: yard
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
158
  - - "~>"
159
159
  - !ruby/object:Gem::Version
160
- version: '0'
160
+ version: 0.9.11
161
161
  type: :development
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - "~>"
166
166
  - !ruby/object:Gem::Version
167
- version: '0'
168
- description: |
169
- The Diggit repository analysis tool is a neat swiss knife to enable the analysis of many Git repositories.
167
+ version: 0.9.11
168
+ description: "The Diggit repository analysis tool is a neat swiss knife to enable\\\n\t\tthe
169
+ analysis of many Git repositories."
170
170
  email: jr.falleri@gmail.com
171
171
  executables:
172
172
  - dgit
@@ -220,7 +220,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
220
220
  requirements:
221
221
  - - "~>"
222
222
  - !ruby/object:Gem::Version
223
- version: '2.1'
223
+ version: '2.2'
224
224
  required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  requirements:
226
226
  - - ">="
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  version: '0'
229
229
  requirements: []
230
230
  rubyforge_project:
231
- rubygems_version: 2.4.5
231
+ rubygems_version: 2.5.2
232
232
  signing_key:
233
233
  specification_version: 4
234
234
  summary: A Git repository analysis tool.