arduino-library 0.5.0 → 0.5.1

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: dfd69741b18cd50e564b668bfec0d7a0e50e1392
4
- data.tar.gz: bd4b4443a0598213ba330f3ac21082bc29eba77c
3
+ metadata.gz: 7683ee09e7e2aeb8e0182039e308d545b8a7507b
4
+ data.tar.gz: 2fc1836d9d41d2a2aa8b3a00b956ddd297526e80
5
5
  SHA512:
6
- metadata.gz: 679f7c39fa04c902061f687be5c9ddfcf56c28b3d754540141cac679390256b9ac312b218b506568613cee9d117453e44676e9a188d4d0c712c4a6972ced374a
7
- data.tar.gz: 97117d676ce82780c48a6ab277d5e5fa30d65737fbc6df8fb5e1158e51a4149dee6d8d462deab9065ae5e3317b17b3f9ccc81fa1e54702f927a4bb3e5f76edca
6
+ metadata.gz: 0c96fd33e55a9c104c7dc5a706a58a62875ce02d054baaf368cb741f9d58f6fa00ae7bc22920e4ac8d96892ded640b74783f5288b2716c3c368ddc7793584c48
7
+ data.tar.gz: cb58a752b6f5ac06ecd343ebb8e4ab372f218c894aeab3a2e5d75904309424b1266f0ddd42a7b592387a601528a072ef862baec02807e7ba2eef6f7edf94b768
data/Rakefile CHANGED
@@ -1,6 +1,28 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+ require 'yard'
4
+
5
+ def shell(*args)
6
+ puts "running: #{args.join(' ')}"
7
+ system(args.join(' '))
8
+ end
9
+
10
+ task :permissions do
11
+ shell('rm -rf pkg/')
12
+ shell("chmod -v o+r,g+r * */* */*/* */*/*/* */*/*/*/* */*/*/*/*/*")
13
+ shell("find . -type d -exec chmod o+x,g+x {} \\;")
14
+ end
15
+
16
+ task :build => :permissions
17
+
18
+ YARD::Rake::YardocTask.new(:doc) do |t|
19
+ t.files = %w(lib/**/*.rb exe/*.rb - README.md LICENSE)
20
+ t.options.unshift('--title','"Sym – Symmetric Key Encryption for Your Data"')
21
+ t.after = ->() { exec('open doc/index.html') }
22
+ end
3
23
 
4
24
  RSpec::Core::RakeTask.new(:spec)
5
25
 
6
26
  task :default => :spec
27
+
28
+
@@ -27,6 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency 'colored2'
28
28
  spec.add_dependency 'httparty'
29
29
 
30
+ spec.add_development_dependency 'yard'
30
31
  spec.add_development_dependency 'simplecov'
31
32
  spec.add_development_dependency 'bundler', '~> 1.15'
32
33
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -1,6 +1,6 @@
1
1
  module Arduino
2
2
  module Library
3
- VERSION = '0.5.0'
3
+ VERSION = '0.5.1'
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arduino-library
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Gredeskoul
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: yard
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: simplecov
85
99
  requirement: !ruby/object:Gem::Requirement