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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b13c0bb77eef92836434f0f7927801277926124c
4
- data.tar.gz: 69aa853b562f3a3de88bc07860d45c528fe65796
3
+ metadata.gz: 32c6c38ed6001c70620f9a72bc1baad8b5d82a2c
4
+ data.tar.gz: '0791f871e9b87f0ed40bbac061d88baaab67cd69'
5
5
  SHA512:
6
- metadata.gz: 40192fab70ac2d8c49bd8d7d7b218af42e11418a5ae9de9f01b04cd94ce6e5ae7d1521ff216589c7c9d0d914e7b1aa56fdf1be2d71e20be7a01f7c6b4b2190b3
7
- data.tar.gz: 37a7949c486d2d89dd2b2fc78530497184dbeff796e367cc22c568bda5d418f0e65bc5c61f34db8e9e26d3a028efd5dc198b3000c2d4946655bda083f336e656
6
+ metadata.gz: 4105c73cb121404bc8311070e581f32b95d7efa1ea3b313b0b3d10431d7846aa3e09c3de916ba5766c14b068f2dd12adc63b43c615f27aad3fc238df27d16890
7
+ data.tar.gz: e0e1d7e66476d4e06ae7b974ae03f7b1adc34c0e345aa584206159ecedc718877d4cb028cb42f171f9938fdaa06b59ce3f995209d6d460eaf994466300b66de8
@@ -1,19 +1,28 @@
1
1
  sudo: false
2
2
  env:
3
3
  global:
4
- - CI=TRAVIS
5
- - CC_TEST_REPORTER_ID=0e339f5c9d1bbcceab27065342b2e22535bb469bd083a6f44ddb8a262f71f8a4
4
+ - CI=TRAVIS
5
+ - CC_TEST_REPORTER_ID=0e339f5c9d1bbcceab27065342b2e22535bb469bd083a6f44ddb8a262f71f8a4
6
6
  language: ruby
7
7
  rvm:
8
- - 2.4.2
9
- - 2.3.5
8
+ - 2.5.1
9
+ - 2.4.3
10
+ - 2.3.7
10
11
  before_install:
11
- - gem install bundler -v 1.15.4
12
+ - gem install bundler -v 1.15.4
12
13
  before_script:
13
- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
14
- - chmod +x ./cc-test-reporter
15
- - ./cc-test-reporter before-build
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
- - bundle exec rspec --format documentation
19
+ - bundle exec rspec --format documentation
18
20
  after_script:
19
- - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
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
- [![Build Status](https://travis-ci.org/kigster/arduino-library.svg?branch=master)](https://travis-ci.org/kigster/arduino-library)
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
- [![Test Coverage](https://api.codeclimate.com/v1/badges/0da01eba1b556826a231/test_coverage)](https://codeclimate.com/github/kigster/arduino-library/test_coverage)
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
 
@@ -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', '~> 0.7'
25
- spec.add_dependency 'dry-types', '~> 0.12'
26
- spec.add_dependency 'dry-struct', '~> 0.4'
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.member(Types::Architecture)',
88
- types: 'Types::Json::Array.member(Types::LibraryTypes)',
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.member(Types::FileName).optional',
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.4'
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
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: 2017-12-04 00:00:00.000000000 Z
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: '0.7'
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: '0.7'
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: '0.12'
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: '0.12'
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: '0.4'
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: '0.4'
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.13
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