agri-controller 0.0.8 → 0.0.10

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: f6567c615cddd21ab1b6680d873828a763e5c49b
4
- data.tar.gz: af22c6f628bbb1fcc1c6eeab753e72ac03866c57
3
+ metadata.gz: 99a49e6fffea6706111ab73523d69f0dae857671
4
+ data.tar.gz: 521aa3eb58c5d0cb54de7887d196901b00655572
5
5
  SHA512:
6
- metadata.gz: e101800de0049952700612d4ec9223379d90a61c6f3dfe76f25ef61ab09dc41f0677908c0f5827ba410957acd84f11d9d3317476cc81c7f0e4f0b0d570bc17fb
7
- data.tar.gz: a4e02a69106ae5a0827382e4bb06799f7c2a87284e7f78a0336ae87bfd172cc69643e061ac86c83d17a36c31fe036d86d5d1825d2f779d5c71b6a696940f32af
6
+ metadata.gz: a511d8a69403052fa74f8d477413030df0351123941ab489d73afd57a6dbe737d6cbf56f76abf39e0384f7925f140669575da6642d085ddd390cce5433407f6a
7
+ data.tar.gz: a1573d00b1af0e31d4bbd42ef50259c845cfe112842fc548a2aee219863e78dbc5a60aab2a24bea3f520f6f7282f59230be6b82ebbd8319e4edbd8a65e96cee5
@@ -1,3 +1,5 @@
1
+ ==0.0.9
2
+ * Bit::on? fixed
1
3
  ==0.0.8
2
4
  * Fixed for backward compatibility. Not perfect, but available in a few modifications
3
5
 
@@ -6,10 +6,10 @@ require './license'
6
6
  s.summary = "AgriController easily controls the greenhouse with a Personal Computer.(win,linux RS232)"
7
7
  s.author="Takayasu Hayashi"
8
8
  s.email="joe.ko9ji@gmail.com"
9
- #s.homepage="http://maru.selfip.com/mygem/"
9
+ s.homepage="http://rubygems.org/gems/agri-controller"
10
10
  s.name = "agri-controller"
11
11
  s.version = AgriController::VERSION
12
-
12
+ s.licenses="GPLv2"
13
13
  #s.requirements << 'rmagick'
14
14
  #s.requirements << 'gruff'
15
15
  #s.add_dependency('serialport','>= 1.0.4')
@@ -24,7 +24,7 @@ require './license'
24
24
  #Dir.glob("bin/**/thermo_data/*")-
25
25
  #Dir.glob("bin/**/options/*")-
26
26
  #Dir.glob("bin/**/*.{jpg,*~}")+
27
- ["agri-controller.gemspec","ChangeLog.txt","LICENSE.txt","gpl-2.0.txt"]
27
+ ["agri-controller.gemspec","ChangeLog.txt","LICENSE.txt","license.rb","gpl-2.0.txt"]
28
28
  s.description = <<EOF
29
29
  A few graphic scripts can load below.
30
30
  No need "gruff".
@@ -71,7 +71,7 @@ module AgriController
71
71
  end
72
72
 
73
73
  def on?(bit)
74
- str=tos(24,2)
74
+ str=@bit.to_s(2)
75
75
  case str.slice(-1-bit,1)
76
76
  when "1"
77
77
  true
@@ -2,6 +2,6 @@
2
2
  #coding:utf-8
3
3
  module AgriController
4
4
  module_function
5
- VERSION = "0.0.8"
6
- MINOR_VERSION="p0"
5
+ VERSION = "0.0.10"
6
+ MINOR_VERSION="0"
7
7
  end
@@ -0,0 +1,24 @@
1
+ #!ruby
2
+
3
+ #write licence (with year)
4
+ year=Time.now.year
5
+
6
+ str=<<HEREDOC
7
+ 'agri-controller' can easy to control greenhouse environment using PC.
8
+
9
+ Copyright (C) 2009-#{year} Takayasu Hayashi (email: joe.ko9ji@gmail.com )
10
+
11
+ This program is free software; you can redistribute it and/or modify
12
+ it under the terms of the GNU General Public License, version 2, as
13
+ published by the Free Software Foundation.
14
+
15
+ This program is distributed in the hope that it will be useful,
16
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
+ GNU General Public License for more details.
19
+
20
+ You should have received a copy of the GNU General Public License
21
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
22
+ HEREDOC
23
+
24
+ open("LICENSE.txt","w"){|io| io.print str}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agri-controller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takayasu Hayashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-01 00:00:00.000000000 Z
11
+ date: 2014-09-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: " A few graphic scripts can load below.\n No need \"gruff\".\n
14
14
  \ You can use \"gnuplot\",\"R\",or some useful graphic aplications.)\n \n
@@ -60,9 +60,11 @@ files:
60
60
  - agri-controller.gemspec
61
61
  - ChangeLog.txt
62
62
  - LICENSE.txt
63
+ - license.rb
63
64
  - gpl-2.0.txt
64
- homepage:
65
- licenses: []
65
+ homepage: http://rubygems.org/gems/agri-controller
66
+ licenses:
67
+ - GPLv2
66
68
  metadata: {}
67
69
  post_install_message:
68
70
  rdoc_options: []
@@ -70,12 +72,12 @@ require_paths:
70
72
  - lib
71
73
  required_ruby_version: !ruby/object:Gem::Requirement
72
74
  requirements:
73
- - - ">="
75
+ - - '>='
74
76
  - !ruby/object:Gem::Version
75
77
  version: '0'
76
78
  required_rubygems_version: !ruby/object:Gem::Requirement
77
79
  requirements:
78
- - - ">="
80
+ - - '>='
79
81
  - !ruby/object:Gem::Version
80
82
  version: '0'
81
83
  requirements: []