ftpeter 0.2.0 → 0.2.1

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: c86268cfe83c63b53a5342410956738fbeaef88b
4
- data.tar.gz: 02fa1e3409a5f3ecbc39378294b0716f886eccbd
3
+ metadata.gz: 8048e21c71fb3f07be3fcb34c39bef4f89a17c2d
4
+ data.tar.gz: a22af46537dab297c704b9b0f5994bf6b3476cfe
5
5
  SHA512:
6
- metadata.gz: 10bae2b564422d92537198d048d16fbeb5477863e3cfd4a2b6ea4a19842a515eb4ffb6cd2c997c63ef912780fc0b54ac1282233509a27aacfde99d6f1c95d7df
7
- data.tar.gz: 20fe5332c67d3744ca8c8feea384998406be4e17dc255149d023905aaac368e41767b21f528bbdac1761e69347ae45fc258dfd1d9cf3c4f1e03f12b00a2eebd4
6
+ metadata.gz: 9f403241ea687ace4a3d21355865cb546d26c9028da133c51f827a05df10b9e292b69c5bbbab90540752689cbc20167de92915160db1dc0380fe5a51efeaf968
7
+ data.tar.gz: b73b951eac88a58641c92ba7d4f07649b82581868c649b6648b1623547cdf4349a5bf54eaaf5e1314630b19cb927fc5b27f89aa0d7ba50e8ad321dee2ef827b0
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2016-09-04 12:22:39 +0200 using RuboCop version 0.42.0.
3
+ # on 2017-03-19 16:28:54 +0100 using RuboCop version 0.47.1.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
@@ -10,6 +10,11 @@
10
10
  Metrics/AbcSize:
11
11
  Max: 25
12
12
 
13
+ # Offense count: 4
14
+ # Configuration parameters: CountComments, ExcludedMethods.
15
+ Metrics/BlockLength:
16
+ Max: 81
17
+
13
18
  # Offense count: 2
14
19
  # Configuration parameters: CountComments.
15
20
  Metrics/MethodLength:
@@ -32,3 +37,9 @@ Style/Documentation:
32
37
  Style/GuardClause:
33
38
  Exclude:
34
39
  - 'lib/ftpeter/cli.rb'
40
+
41
+ # Offense count: 1
42
+ # Cop supports --auto-correct.
43
+ Style/MultilineIfModifier:
44
+ Exclude:
45
+ - 'lib/ftpeter/transport/lftp.rb'
@@ -1,4 +1,10 @@
1
1
  language: ruby
2
+ cache: bundler
2
3
  rvm:
4
+ - 2.0.0
5
+ - 2.1.7
3
6
  - 2.2.3
7
+ - 2.3.1
8
+ - 2.4.0
4
9
  before_install: gem install bundler -v 1.10.6
10
+ install: bundle install --jobs=3 --retry=3 --without development
data/Gemfile CHANGED
@@ -2,9 +2,18 @@
2
2
  source 'https://rubygems.org'
3
3
 
4
4
  # Specify your gem's dependencies in ftpeter.gemspec
5
- gemspec
5
+ # gemspec
6
+ # In order to have more control, what travis does, I will not include the gemspec here.
6
7
 
7
8
  group :development do
8
- gem 'guard-rubocop'
9
9
  gem 'guard-rspec'
10
+ gem 'guard-rubocop'
11
+ end
12
+
13
+ group :test do
14
+ gem 'bundler', '~> 1.10'
15
+ gem 'fakefs'
16
+ gem 'rake', '~> 10.0'
17
+ gem 'rspec'
18
+ gem 'rubocop'
10
19
  end
data/Rakefile CHANGED
@@ -1,7 +1,11 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require 'bundler/gem_tasks'
3
- require 'rspec/core/rake_task'
4
4
 
5
+ require 'rspec/core/rake_task'
5
6
  RSpec::Core::RakeTask.new(:spec)
6
7
 
7
- task default: :spec
8
+ require 'rubocop/rake_task'
9
+ RuboCop::RakeTask.new
10
+
11
+ task default: [:rubocop, :spec]
@@ -24,6 +24,8 @@ lftp supports ftp, ftps, sftp and more.
24
24
  spec.executables = spec.files.grep(%r~^exe/~) { |f| File.basename(f) }
25
25
  spec.require_paths = ['lib']
26
26
 
27
+ spec.required_ruby_version = '~> 2.0'
28
+
27
29
  spec.add_development_dependency 'bundler', '~> 1.10'
28
30
  spec.add_development_dependency 'rake', '~> 10.0'
29
31
  spec.add_development_dependency 'rspec'
@@ -1,6 +1,4 @@
1
1
  # frozen_string_literal: true
2
- # TODO: check if needed here (they shouldn't be)
3
- require 'pathname'
4
2
 
5
3
  # TODO: setup help and option-parsing
6
4
  module Ftpeter
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  require 'pathname'
3
+ require 'ftpeter'
3
4
 
4
5
  module Ftpeter
5
6
  class CLI
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Ftpeter
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ftpeter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Viehweger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-04 00:00:00.000000000 Z
11
+ date: 2017-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -124,9 +124,9 @@ require_paths:
124
124
  - lib
125
125
  required_ruby_version: !ruby/object:Gem::Requirement
126
126
  requirements:
127
- - - ">="
127
+ - - "~>"
128
128
  - !ruby/object:Gem::Version
129
- version: '0'
129
+ version: '2.0'
130
130
  required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  requirements:
132
132
  - - ">="
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  version: '0'
135
135
  requirements: []
136
136
  rubyforge_project:
137
- rubygems_version: 2.5.1
137
+ rubygems_version: 2.6.6
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: Deployments via FTP