distribot-planner 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
  SHA1:
3
- metadata.gz: 926b926c2aacf43a00788ee7bbe5813808c58bef
4
- data.tar.gz: a220b8ddb2037ca65d83661c2a8e357b5b1d452f
3
+ metadata.gz: 7c333bbc50cbd31167483ef266234c77604719c9
4
+ data.tar.gz: 6f97f2cd74c666050d67594bd7c0e9c189fe5401
5
5
  SHA512:
6
- metadata.gz: 2f5b7d47484c7d17ea7d501b6c93322a081e193436b800f649e27b8993ffaad211a887f0d0e5bdbef5c29f813ba1680a470dd1ad5b1563ca50fd66c0b7421067
7
- data.tar.gz: c2a818ebabdd5a61ae2221c06baf5f4df5c1f05a5b9e4924c66d97f9857b591ae9efb9aca9111ce87cf8d966cd1602f3e9dd01406ff21dfd704807bf8da9dbd2
6
+ metadata.gz: 6022b9866cf1c457336040503da3026ebad0be18e706e9a21b665b7e49c4bb9347f198f1c715b1c36ec49191855b8e254757f5117e7065dca4e13bee6beb8275
7
+ data.tar.gz: e5dd9f56d262811fd94dc54311b77e5117380efca29d381898c65041367350c8db03bf05d0e273c2173e68501a858fefc63eedd553f2cf711d99460e2e5a4996
data/.travis.yml CHANGED
@@ -4,7 +4,7 @@ language: ruby
4
4
  rvm: 2.0.0
5
5
  before_install:
6
6
  - gem install bundler --no-ri --no-rdoc
7
- script: CODECLIMATE_REPO_TOKEN=x bundle && bundle exec rspec
7
+ script: CODECLIMATE_REPO_TOKEN=2f6f03ad98447b63d5ad55055331c2fbd76526fbffdc5365d4a3b9e3d59dbc70 bundle && bundle exec rspec
8
8
  addons:
9
9
  code_climate:
10
- repo_token: x
10
+ repo_token: 2f6f03ad98447b63d5ad55055331c2fbd76526fbffdc5365d4a3b9e3d59dbc70
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
 
2
2
  source 'https://rubygems.org'
3
- gem "facets", require: false
3
+
4
4
  gemspec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- distribot-planner (0.1.0)
4
+ distribot-planner (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -17,7 +17,6 @@ GEM
17
17
  columnize (0.9.0)
18
18
  diff-lcs (1.2.5)
19
19
  docile (1.1.5)
20
- facets (3.0.0)
21
20
  i18n (0.7.0)
22
21
  json (1.8.3)
23
22
  minitest (5.7.0)
@@ -53,7 +52,6 @@ DEPENDENCIES
53
52
  bundler (~> 1.7)
54
53
  byebug
55
54
  distribot-planner!
56
- facets
57
55
  rake (~> 10.0)
58
56
  rspec
59
57
  shoulda-matchers
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ task :environment do
4
4
  require 'bundler/setup'
5
5
  lib = File.expand_path('../lib', __FILE__)
6
6
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
7
- require 'distribot-plan'
7
+ require 'distribot-planner'
8
8
  end
9
9
 
10
10
  desc 'enter a REPL console within this project environment'
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'distribot-planner'
3
- spec.version = '0.1.1'
3
+ spec.version = '0.1.2'
4
4
  spec.authors = ['John Drago']
5
5
  spec.email = 'jdrago.999@gmail.com'
6
6
  spec.homepage = 'https://github.com/distribot/distribot-planner'
@@ -26,7 +26,7 @@ module Distribot
26
26
  end
27
27
 
28
28
  def schedule
29
- grouped = tsort_each_child.map{|parent, tasks| tasks}
29
+ grouped = tsort_each_child.map{|_parent, tasks| tasks}
30
30
  grouped.map{ |g| g.map(&:handler_data) }
31
31
  end
32
32
 
@@ -15,7 +15,7 @@ module Distribot
15
15
  self.handler_data = {
16
16
  name: handler[:name],
17
17
  version: handler[:version]
18
- }.reject{ |k,v| v.nil? }
18
+ }.reject{ |_key,value| value.nil? }
19
19
  else
20
20
  raise TaskConfigError.new 'task handler must be a String or Hash, not a %s' % handler.class.to_s
21
21
  end
@@ -1,5 +1,4 @@
1
1
 
2
- require 'facets/module/cattr'
3
2
  require 'tsort'
4
3
  require 'distribot/plan'
5
4
  require 'distribot/task'
data/spec/spec_helper.rb CHANGED
@@ -8,7 +8,7 @@ unless is_rake_exec
8
8
  add_filter '.vendor/'
9
9
  add_filter 'spec/'
10
10
  end
11
- SimpleCov.minimum_coverage 52
11
+ SimpleCov.minimum_coverage 100
12
12
  end
13
13
 
14
14
  require 'rspec'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: distribot-planner
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
  - John Drago