eufycam 0.2.0 → 0.3.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
2
  SHA256:
3
- metadata.gz: dbaf48c3ec5e53fad83aeaf98636cd219ce9900781226746a9a2c11f35f16ab5
4
- data.tar.gz: cd31ae3d91343c9fc8e9170a86b54dabfca22cd8ab4547d31dd5836ec2b3ab5d
3
+ metadata.gz: 9f5ed17b746018becd3a5012548f4f7c4c4d7d754d8f2fde98ce6cf3a04a5cb0
4
+ data.tar.gz: 507aab36eeb10e39e10c330802ed5b02b2fe3c8aca999bcd124e2aa6cc809792
5
5
  SHA512:
6
- metadata.gz: e7a6129b2246f03972acced9cd26800495f7693c92bb1b68c67b4b1b4142e95578d2fc46e849d2df0fb0b332a95afd44ac03318f0c3c7ab8402eeb4b84fb0dcd
7
- data.tar.gz: 8a555aaa9371447a19c99ce0617b26927fe7ecf97052269592281c76cbc6bdec21a0fed2980bd8cd10720ac5426255e9d61bfffeb5a517c22cf1b2aea8504568
6
+ metadata.gz: 0b2f0f8613f3f4ffb7fd32ef97d1d0db0ba54547fd6a7ed1140f6c84d2730a83266a8da808abd4e8b691ed06a78349113136bc441a86d01fcfcb09bd0abe3703
7
+ data.tar.gz: 42ebcade322b3913524864b81a203cc03e24b46b6662630964f8c7d977a1eb320eed7da539e30366abefd86bc7be4402c63e91a74d696d7d41fca48e757dd182
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ **Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ **Desktop (please complete the following information):**
27
+ - OS: [e.g. iOS]
28
+ - Browser [e.g. chrome, safari]
29
+ - Version [e.g. 22]
30
+
31
+ **Smartphone (please complete the following information):**
32
+ - Device: [e.g. iPhone6]
33
+ - OS: [e.g. iOS8.1]
34
+ - Browser [e.g. stock browser, safari]
35
+ - Version [e.g. 22]
36
+
37
+ **Additional context**
38
+ Add any other context about the problem here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
data/Gemfile CHANGED
@@ -2,5 +2,4 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- # Specify your gem's dependencies in eufycam.gemspec
6
5
  gemspec
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eufycam (0.2.0)
5
- colorize
6
- gli
7
- terminal-table
4
+ eufycam (0.3.0)
5
+ colorize (~> 0.8)
6
+ gli (~> 2.19)
7
+ terminal-table (~> 1.8)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
@@ -13,6 +13,7 @@ GEM
13
13
  coderay (1.1.2)
14
14
  colorize (0.8.1)
15
15
  diff-lcs (1.3)
16
+ docile (1.3.2)
16
17
  ffi (1.12.2)
17
18
  formatador (0.2.5)
18
19
  gli (2.19.0)
@@ -75,6 +76,10 @@ GEM
75
76
  unicode-display_width (>= 1.4.0, < 2.0)
76
77
  ruby-progressbar (1.10.1)
77
78
  shellany (0.0.1)
79
+ simplecov (0.18.5)
80
+ docile (~> 1.1)
81
+ simplecov-html (~> 0.11)
82
+ simplecov-html (0.12.2)
78
83
  terminal-table (1.8.0)
79
84
  unicode-display_width (~> 1.1, >= 1.1.1)
80
85
  thor (1.0.1)
@@ -86,11 +91,12 @@ PLATFORMS
86
91
  DEPENDENCIES
87
92
  bundler (~> 2.0)
88
93
  eufycam!
89
- guard-rspec
90
- pry
94
+ guard-rspec (~> 4.7)
95
+ pry (~> 0.13)
91
96
  rake (~> 13.0)
92
97
  rspec (~> 3.0)
93
- rubocop
98
+ rubocop (~> 0.81)
99
+ simplecov (~> 0.18)
94
100
 
95
101
  BUNDLED WITH
96
102
  2.0.2
data/eufycam.gemspec CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+
5
6
  require 'eufycam/version'
6
7
 
7
8
  Gem::Specification.new do |spec|
@@ -24,14 +25,15 @@ Gem::Specification.new do |spec|
24
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
26
  spec.require_paths = ['lib']
26
27
 
27
- spec.add_runtime_dependency 'colorize'
28
- spec.add_runtime_dependency 'gli'
29
- spec.add_runtime_dependency 'terminal-table'
28
+ spec.add_runtime_dependency 'colorize', '~> 0.8'
29
+ spec.add_runtime_dependency 'gli', '~> 2.19'
30
+ spec.add_runtime_dependency 'terminal-table', '~> 1.8'
30
31
 
31
32
  spec.add_development_dependency 'bundler', '~> 2.0'
32
- spec.add_development_dependency 'guard-rspec'
33
- spec.add_development_dependency 'pry'
33
+ spec.add_development_dependency 'guard-rspec', '~> 4.7'
34
+ spec.add_development_dependency 'pry', '~> 0.13'
34
35
  spec.add_development_dependency 'rake', '~> 13.0'
35
36
  spec.add_development_dependency 'rspec', '~> 3.0'
36
- spec.add_development_dependency 'rubocop'
37
+ spec.add_development_dependency 'rubocop', '~> 0.81'
38
+ spec.add_development_dependency 'simplecov', '~> 0.18'
37
39
  end
@@ -13,6 +13,7 @@ module Eufycam
13
13
 
14
14
  def post(path, access_token, body = nil)
15
15
  uri = URI("https://mysecurity.eufylife.com/api/v1/#{path}")
16
+
16
17
  Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|
17
18
  yield http.request(request(path, access_token, body))
18
19
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Eufycam
4
- VERSION = '0.2.0'
4
+ VERSION = '0.3.0'
5
5
  end
metadata CHANGED
@@ -1,57 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eufycam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Decot
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-17 00:00:00.000000000 Z
11
+ date: 2020-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '0.8'
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: '0'
26
+ version: '0.8'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gli
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '2.19'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '2.19'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: terminal-table
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '1.8'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '1.8'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -70,30 +70,30 @@ dependencies:
70
70
  name: guard-rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '4.7'
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'
82
+ version: '4.7'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: pry
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '0.13'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '0.13'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -126,16 +126,30 @@ dependencies:
126
126
  name: rubocop
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ">="
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '0'
131
+ version: '0.81'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ">="
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.81'
139
+ - !ruby/object:Gem::Dependency
140
+ name: simplecov
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.18'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
137
151
  - !ruby/object:Gem::Version
138
- version: '0'
152
+ version: '0.18'
139
153
  description: Ruby interface for Eufycam
140
154
  email:
141
155
  - kyle.decot@icloud.com
@@ -144,6 +158,8 @@ executables:
144
158
  extensions: []
145
159
  extra_rdoc_files: []
146
160
  files:
161
+ - ".github/ISSUE_TEMPLATE/bug_report.md"
162
+ - ".github/ISSUE_TEMPLATE/feature_request.md"
147
163
  - ".github/workflows/default.yml"
148
164
  - ".gitignore"
149
165
  - ".rspec"