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.
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
@@ -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"
@@ -23,7 +23,6 @@ module Domotics
23
23
  end
24
24
  super value
25
25
  end
26
-
27
26
  end
28
27
  end
29
28
  end
@@ -1,5 +1,5 @@
1
1
  module Domotics
2
2
  module Arduino
3
- VERSION = "0.2.5"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
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.2.5
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-13 00:00:00.000000000 Z
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