spaarti 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f5b2a3323b53fd59d0e12a15d9de53ee3e071d7
4
- data.tar.gz: f190fe2d348a521cb910d256e5ceab2afce21c6d
3
+ metadata.gz: 7b4352f61872ac4a4159172a1895582911078f7b
4
+ data.tar.gz: e5a3787f035b3756b5d1c128de7c99c0b3dbe9a0
5
5
  SHA512:
6
- metadata.gz: f79c446a1af4bf08bb8a3ad93ba96cc34a0b122914d7f329c050dc010a791979731be4cb89be60aaa7f77044b3ebd4763eeb6788ae03e6a4f40b00cbb9bbf749
7
- data.tar.gz: 417fdab88e72e5b5e3016d740722d87f6aeb198e7df70bfed47504c9231b1934168bbbdb1662699feff627bdd1fc3e9d3ff54bdd61d81c6b5d115805c2b01151
6
+ metadata.gz: 95553fd20caea0b910ae5199e31f62cc741f441a20262d7f903879cab664e688cfb6d227895d120452f4bebc57202845f7c07d5224c0bba25371ff17e35f27e2
7
+ data.tar.gz: 57cd290359964615a918bf5cf09fd2dd550d4d384462fc9b8214b1d0cfb45e442eb6851a11a4a41bca8e459b94e609bf2fef0e91396d541b08cdf39dd6722fde
data/.circle-ruby CHANGED
@@ -1,4 +1,3 @@
1
- 2.4.0
2
- 2.3.3
3
- 2.2.6
4
- 2.1.10
1
+ 2.4.1
2
+ 2.3.4
3
+ 2.2.7
data/.rubocop.yml CHANGED
@@ -1,2 +1,5 @@
1
1
  Encoding:
2
2
  Enabled: false
3
+ Metrics/BlockLength:
4
+ Exclude:
5
+ - spec/**/*
data/circle.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  dependencies:
2
2
  override:
3
+ - 'for i in $(cat .circle-ruby) ; do rvm-exec $i gem update --system --no-doc || exit 1 ; done'
3
4
  - 'for i in $(cat .circle-ruby) ; do rvm-exec $i bundle install || exit 1 ; done'
4
5
  test:
5
6
  override:
data/lib/spaarti/site.rb CHANGED
@@ -53,7 +53,7 @@ module Spaarti
53
53
  raise 'Conf file does not exist' if required
54
54
  return
55
55
  end
56
- config = File.open(@options[:config_file]) { |fh| YAML.load fh.read }
56
+ config = File.open(@options[:config_file]) { |fh| YAML.safe_load fh.read }
57
57
  @options.merge! Cymbal.symbolize(config)
58
58
  end
59
59
 
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  ##
3
4
  # Set the version (needed for Mercenary -v)
4
5
  module Spaarti
5
- VERSION = '1.0.4'.freeze
6
+ VERSION = '1.0.5'.freeze
6
7
  end
data/spaarti.gemspec CHANGED
@@ -17,16 +17,16 @@ Gem::Specification.new do |s|
17
17
  s.test_files = `git ls-files spec/*`.split
18
18
  s.executables = ['spaarti']
19
19
 
20
- s.add_dependency 'octokit', '~> 4.6.0'
20
+ s.add_dependency 'octokit', '~> 4.7.0'
21
21
  s.add_dependency 'octoauth', '~> 1.4.7'
22
22
  s.add_dependency 'mercenary', '~> 0.3.4'
23
23
  s.add_dependency 'cymbal', '~> 1.0.0'
24
24
 
25
- s.add_development_dependency 'rubocop', '~> 0.46.0'
25
+ s.add_development_dependency 'rubocop', '~> 0.48.0'
26
26
  s.add_development_dependency 'rake', '~> 12.0.0'
27
27
  s.add_development_dependency 'codecov', '~> 0.1.1'
28
28
  s.add_development_dependency 'rspec', '~> 3.5.0'
29
29
  s.add_development_dependency 'fuubar', '~> 2.2.0'
30
- s.add_development_dependency 'webmock', '~> 2.3.0'
30
+ s.add_development_dependency 'webmock', '~> 3.0.0'
31
31
  s.add_development_dependency 'vcr', '~> 3.0.0'
32
32
  end
data/spec/spec_helper.rb CHANGED
@@ -19,7 +19,7 @@ VCR.configure do |c|
19
19
  c.hook_into :webmock
20
20
  c.before_record do |i|
21
21
  i.request.headers.delete 'Authorization'
22
- %w(Etag X-Github-Request-Id X-Served-By).each do |header|
22
+ %w[Etag X-Github-Request-Id X-Served-By].each do |header|
23
23
  i.response.headers.delete header
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spaarti
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-12 00:00:00.000000000 Z
11
+ date: 2017-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 4.6.0
19
+ version: 4.7.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 4.6.0
26
+ version: 4.7.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: octoauth
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: 0.46.0
75
+ version: 0.48.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: 0.46.0
82
+ version: 0.48.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - ~>
144
144
  - !ruby/object:Gem::Version
145
- version: 2.3.0
145
+ version: 3.0.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - ~>
151
151
  - !ruby/object:Gem::Version
152
- version: 2.3.0
152
+ version: 3.0.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: vcr
155
155
  requirement: !ruby/object:Gem::Requirement