domotics-arduino 0.2.5 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.Rakefile.kate-swp +0 -0
- data/Rakefile +2 -3
- data/domotics-arduino.gemspec +1 -1
- data/lib/domotics/arduino/pwm_pin.rb +0 -1
- data/lib/domotics/arduino/version.rb +1 -1
- metadata +3 -2
data/.Rakefile.kate-swp
ADDED
Binary file
|
data/Rakefile
CHANGED
@@ -36,7 +36,7 @@ end
|
|
36
36
|
def update(msg)
|
37
37
|
# Update version
|
38
38
|
File.open "lib/domotics/arduino/version.rb", "r+" do |f|
|
39
|
-
up = f.read.sub(/\d+.\d+.\d+/){ |ver| ver.split('.').map.with_index{ |sv, i| yield sv,i }.join('.') }
|
39
|
+
up = f.read.sub(/\d+.\d+.\d+/) { |ver| ver.split('.').map.with_index{ |sv, i| yield sv,i }.join('.') }
|
40
40
|
f.seek 0
|
41
41
|
f.write up
|
42
42
|
end
|
@@ -44,8 +44,7 @@ def update(msg)
|
|
44
44
|
%x(git add --all .)
|
45
45
|
# commit
|
46
46
|
if msg then %x(git commit -a -m "#{msg}")
|
47
|
-
else %x(git commit -a --reuse-message=HEAD)
|
48
|
-
end
|
47
|
+
else %x(git commit -a --reuse-message=HEAD); end
|
49
48
|
# release
|
50
49
|
Rake::Task[:release].reenable
|
51
50
|
Rake::Task[:release].invoke
|
data/domotics-arduino.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
|
-
|
20
|
+
|
21
21
|
spec.add_runtime_dependency "serialport"
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.3"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: domotics-arduino
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-12-
|
12
|
+
date: 2013-12-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: serialport
|
@@ -66,6 +66,7 @@ executables: []
|
|
66
66
|
extensions: []
|
67
67
|
extra_rdoc_files: []
|
68
68
|
files:
|
69
|
+
- .Rakefile.kate-swp
|
69
70
|
- .gitignore
|
70
71
|
- Gemfile
|
71
72
|
- LICENSE.txt
|