arduino-library 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +19 -10
- data/README.md +3 -4
- data/arduino-library.gemspec +3 -3
- data/lib/arduino/library/types.rb +3 -3
- data/lib/arduino/library/version.rb +1 -1
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32c6c38ed6001c70620f9a72bc1baad8b5d82a2c
|
4
|
+
data.tar.gz: '0791f871e9b87f0ed40bbac061d88baaab67cd69'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4105c73cb121404bc8311070e581f32b95d7efa1ea3b313b0b3d10431d7846aa3e09c3de916ba5766c14b068f2dd12adc63b43c615f27aad3fc238df27d16890
|
7
|
+
data.tar.gz: e0e1d7e66476d4e06ae7b974ae03f7b1adc34c0e345aa584206159ecedc718877d4cb028cb42f171f9938fdaa06b59ce3f995209d6d460eaf994466300b66de8
|
data/.travis.yml
CHANGED
@@ -1,19 +1,28 @@
|
|
1
1
|
sudo: false
|
2
2
|
env:
|
3
3
|
global:
|
4
|
-
|
5
|
-
|
4
|
+
- CI=TRAVIS
|
5
|
+
- CC_TEST_REPORTER_ID=0e339f5c9d1bbcceab27065342b2e22535bb469bd083a6f44ddb8a262f71f8a4
|
6
6
|
language: ruby
|
7
7
|
rvm:
|
8
|
-
|
9
|
-
|
8
|
+
- 2.5.1
|
9
|
+
- 2.4.3
|
10
|
+
- 2.3.7
|
10
11
|
before_install:
|
11
|
-
|
12
|
+
- gem install bundler -v 1.15.4
|
12
13
|
before_script:
|
13
|
-
|
14
|
-
|
15
|
-
|
14
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
|
15
|
+
> ./cc-test-reporter
|
16
|
+
- chmod +x ./cc-test-reporter
|
17
|
+
- "./cc-test-reporter before-build"
|
16
18
|
script:
|
17
|
-
|
19
|
+
- bundle exec rspec --format documentation
|
18
20
|
after_script:
|
19
|
-
|
21
|
+
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
|
22
|
+
notifications:
|
23
|
+
webhooks:
|
24
|
+
urls:
|
25
|
+
- secure: Br/nFJHo7inuzgKSeF5afP+jCH0jy7NqoasKxdd3mraBZ1f2v/XOYHvTXUwME3TIL5SeohPRj5Wli4AKu3JlYp8Ja71U52JpBG6KTx5QMBTBUqqyBKHyKo6Gun0csP+EspPyI2jB8/9V9gVFTKne9J3OvpTQePbEJFSnN4gnLw/W8+n7/o1jEBgmKlo4Qtx+J/JNi7n3cipHBy3n03c3S/5qp76FJklnLoJhhdIkwvjmgfXo2wcWGrQv+lgxzAnbPmP149CHIam4bXCyoHewhgVe9LANkp9+/j++uvKx874VfwncAzgI7c6BWQTN3pitJ0K2jR7UPeo9oHMHlWfQz7GcJ5omUiOuCIzF9agtBUKM1lMMBQ74tRGe+Ekq5K8VZzpaBSUGleWE5nyxiXQC9qo+WA4StUsXKmHUV1V0UZ0zs1oXtyW5ubKcjZPdj3/H+Zcm8iGwNKRJ2pVsadxbhAWS6+/N17FbUSHOTnhh3fhehMKTzjPVeVVQNhPp1ZaK9mMRWEiOcCdo8ocrVTuS6zw8zgDSUe/5B1gVQb1Ulph0VqGIyT9dnZlASvuqZ4lK6ca+mz35mJg6PXUWM4HyLaI5N+rHm52erj0odOGHA/8YY1UezCuc9xDIrtx0XH30O/Ov4WdIfAybMnz5GW7gEtM6phIdUFv/DywUOzxoKFg=
|
26
|
+
on_success: always
|
27
|
+
on_failure: onchange
|
28
|
+
on_start: never
|
data/README.md
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
[![Gem Version](https://badge.fury.io/rb/arduino-library.svg)](https://badge.fury.io/rb/arduino-library)
|
2
|
-
[![
|
3
|
-
[![Maintainability](https://api.codeclimate.com/v1/badges/0da01eba1b556826a231/maintainability)](https://codeclimate.com/github/kigster/arduino-library/maintainability)
|
4
|
-
[![Downloads](http://ruby-gem-downloads-badge.herokuapp.com/arduino-library?type=total)](https://rubygems.org/gems/arduino-library)
|
2
|
+
[![Downloads](https://ruby-gem-downloads-badge.herokuapp.com/arduino-library?type=total)](https://rubygems.org/gems/arduino-library)
|
5
3
|
|
6
|
-
[![
|
4
|
+
[![Build Status](https://travis-ci.org/kigster/arduino-library.svg?branch=master)](https://travis-ci.org/kigster/arduino-library)
|
7
5
|
[![Test Coverage](https://codeclimate.com/github/kigster/arduino-library/badges/coverage.svg)](https://codeclimate.com/github/kigster/arduino-library/coverage)
|
6
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/0da01eba1b556826a231/maintainability)](https://codeclimate.com/github/kigster/arduino-library/maintainability)
|
8
7
|
|
9
8
|
# Arduino::Library
|
10
9
|
|
data/arduino-library.gemspec
CHANGED
@@ -21,9 +21,9 @@ 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_dependency 'dry-configurable', '
|
25
|
-
spec.add_dependency 'dry-types', '
|
26
|
-
spec.add_dependency 'dry-struct', '
|
24
|
+
spec.add_dependency 'dry-configurable', '=0.7.0'
|
25
|
+
spec.add_dependency 'dry-types', '=0.12.2'
|
26
|
+
spec.add_dependency 'dry-struct', '=0.4.0'
|
27
27
|
spec.add_dependency 'colored2'
|
28
28
|
spec.add_dependency 'httparty'
|
29
29
|
|
@@ -84,14 +84,14 @@ module Arduino
|
|
84
84
|
paragraph: 'Types::String',
|
85
85
|
website: 'Types::String',
|
86
86
|
category: 'Types::Category',
|
87
|
-
architectures: 'Types::Json::Array.
|
88
|
-
types: 'Types::Json::Array.
|
87
|
+
architectures: 'Types::Json::Array.of(Types::Architecture)',
|
88
|
+
types: 'Types::Json::Array.of(Types::LibraryTypes)',
|
89
89
|
url: 'Types::Url',
|
90
90
|
archiveFileName: 'Types::FileName',
|
91
91
|
size: 'Types::Coercible::Int',
|
92
92
|
checksum: 'Types::Checksum',
|
93
93
|
dot_a_linkage: 'Types::Bool.optional',
|
94
|
-
includes: 'Types::Json::Array.
|
94
|
+
includes: 'Types::Json::Array.of(Types::FileName).optional',
|
95
95
|
}.freeze
|
96
96
|
|
97
97
|
ARRAY_ATTRIBUTES = LIBRARY_PROPERTIES.keys.select { |k| LIBRARY_PROPERTIES[k] =~ /Array/ }
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Arduino
|
2
2
|
module Library
|
3
|
-
VERSION = '0.5.
|
3
|
+
VERSION = '0.5.5'
|
4
4
|
DESCRIPTION = <<-eof
|
5
5
|
This library provides a convenient ruby API for representation of an Arduino Library specification, including field and type validation, reading and writing the library.properties file, as well as downloading the official database of Arduino libraries, and offering a highly advanced searching functionality. This gem only offers Ruby API, but for command line usage please checkout the gem called "arli" — Arduino Library Dependency Manager that uses this library behind the scenes.
|
6
6
|
eof
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arduino-library
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Gredeskoul
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.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:
|
26
|
+
version: 0.7.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: dry-types
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.12.2
|
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:
|
40
|
+
version: 0.12.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: dry-struct
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.4.0
|
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:
|
54
|
+
version: 0.4.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: colored2
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
233
|
version: '0'
|
234
234
|
requirements: []
|
235
235
|
rubyforge_project:
|
236
|
-
rubygems_version: 2.6.
|
236
|
+
rubygems_version: 2.6.14
|
237
237
|
signing_key:
|
238
238
|
specification_version: 4
|
239
239
|
summary: This library provides a convenient ruby API for representation of an Arduino
|