hylafax 0.3.1 → 0.4.0

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
- SHA1:
3
- metadata.gz: c7a56c0d4fb7c46efd414fc0b40d83e77e7cd7ab
4
- data.tar.gz: b27ecee53a625e7d3ecf23718eec2a51ee078950
2
+ SHA256:
3
+ metadata.gz: fa7d134cb036f06376a5d87efab2b5eee5e737ba4b41c22efff4cc92784430f7
4
+ data.tar.gz: 43ee998f84f20b5e81ecf07174ef65407c8337500a0ef7428d6b482014f80e39
5
5
  SHA512:
6
- metadata.gz: 09fc77390f14dd798a9987659df0d99d2e38bf6c36daea001ba60da9245f628ccbe92b1623839b50fe8b80fb5c8de73c8229be93c2618a2bfef82c41d87ca7f6
7
- data.tar.gz: 8bb2232e7f0b6455a4a7585a740cab77bc2a77ddae38662038389b49a6fd8a31c7947741125b17d2d7c3d8a3a4f6fd983422b779c60926c2a10d3657ea346029
6
+ metadata.gz: 86cddd5561ed193cf4bb324ed28893e6c4676a50f6a234ba7af4d86bf0fb53b5d09293efc0f296e12dbfc82015e00614dc21f575fdefabb55a0d193b12cf7ecd
7
+ data.tar.gz: 3b2a60a934dba704dc9b749f7bc9ffdb59b242284deb253b4e236cec94b6a0b27727a2078cbdd2c9dae6d1a396956c5af6f6546e0377a0e5c02499751728bf6f
data/Dockerfile ADDED
@@ -0,0 +1,6 @@
1
+ FROM ruby:2.0
2
+ RUN mkdir -p /opt/hylafax
3
+ WORKDIR /opt/hylafax
4
+ COPY . .
5
+ RUN bundle install --binstubs
6
+ CMD ["bash"]
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017 Björn Albers
3
+ Copyright (c) 2021 Björn Albers
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -49,11 +49,14 @@ HylaFAX.faxstat(host: '10.2.2.1')
49
49
 
50
50
  ## Development
51
51
 
52
- After checking out the repo, run `bin/setup` to install dependencies.
53
- Then, run `rake spec` to run the tests.
54
- You can also run `bin/console` for an interactive prompt that will allow you to
55
- experiment.
52
+ You need to have Docker installed.
53
+ After checking out the repo, run the tests with:
56
54
 
55
+ $ docker-compose run --rm lib bin/rspec
56
+
57
+ For an interactive prompt run:
58
+
59
+ $ docker-compose run --rm lib bin/console
57
60
 
58
61
  ## Contributing
59
62
 
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
2
+ #require "rspec/core/rake_task"
3
3
 
4
- RSpec::Core::RakeTask.new(:spec)
4
+ #RSpec::Core::RakeTask.new(:spec)
5
5
 
6
- task :default => :spec
6
+ #task :default => :spec
@@ -0,0 +1,8 @@
1
+ version: '3'
2
+
3
+ services:
4
+ lib:
5
+ build: .
6
+ tty: true
7
+ volumes:
8
+ - .:/opt/hylafax
data/hylafax.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ['lib']
23
23
 
24
- spec.add_development_dependency 'bundler', '~> 1.15'
24
+ spec.add_development_dependency 'bundler', '~> 1.11'
25
25
  spec.add_development_dependency 'rake', '~> 10.0'
26
26
  spec.add_development_dependency 'rspec', '~> 3.0'
27
27
  end
@@ -13,6 +13,8 @@ module HylaFAX
13
13
  @port = opts.fetch(:port) { DEFAULT_PORT }
14
14
  @user = opts.fetch(:user) { DEFAULT_USER }
15
15
  @password = opts.fetch(:password) { DEFAULT_PASSWORD }
16
+
17
+ @ftp.passive = true if opts[:passive]
16
18
  end
17
19
 
18
20
  private
@@ -1,3 +1,3 @@
1
1
  module HylaFAX
2
- VERSION = '0.3.1'
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hylafax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Björn Albers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-24 00:00:00.000000000 Z
11
+ date: 2021-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.15'
19
+ version: '1.11'
20
20
  type: :development
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: '1.15'
26
+ version: '1.11'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
55
  description: The Ruby HylaFAX Client
@@ -59,16 +59,18 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
63
- - .rspec
64
- - .travis.yml
62
+ - ".gitignore"
63
+ - ".rspec"
64
+ - ".travis.yml"
65
65
  - CODE_OF_CONDUCT.md
66
+ - Dockerfile
66
67
  - Gemfile
67
68
  - LICENSE.txt
68
69
  - README.md
69
70
  - Rakefile
70
71
  - bin/console
71
72
  - bin/setup
73
+ - docker-compose.yml
72
74
  - hylafax.gemspec
73
75
  - lib/hylafax.rb
74
76
  - lib/hylafax/command.rb
@@ -85,18 +87,17 @@ require_paths:
85
87
  - lib
86
88
  required_ruby_version: !ruby/object:Gem::Requirement
87
89
  requirements:
88
- - - '>='
90
+ - - ">="
89
91
  - !ruby/object:Gem::Version
90
92
  version: '0'
91
93
  required_rubygems_version: !ruby/object:Gem::Requirement
92
94
  requirements:
93
- - - '>='
95
+ - - ">="
94
96
  - !ruby/object:Gem::Version
95
97
  version: '0'
96
98
  requirements: []
97
- rubyforge_project:
98
- rubygems_version: 2.6.10
99
+ rubygems_version: 3.0.3
99
100
  signing_key:
100
101
  specification_version: 4
101
- summary: hylafax-0.3.1
102
+ summary: hylafax-0.4.0
102
103
  test_files: []