tallakt-plcutil 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -0
- data/Rakefile +0 -1
- data/VERSION +1 -1
- data/lib/tallakt-plcutil/schneider/pl7_to_intouch_runner.rb +2 -1
- data/tallakt-plcutil.gemspec +1 -1
- metadata +10 -3
data/.gitignore
CHANGED
File without changes
|
data/Rakefile
CHANGED
@@ -10,7 +10,6 @@ begin
|
|
10
10
|
gem.email = "tallak@tveide.net"
|
11
11
|
gem.homepage = "http://github.com/tallakt/plcutil"
|
12
12
|
gem.authors = ["Tallak Tveide"]
|
13
|
-
gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
|
14
13
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
15
14
|
end
|
16
15
|
rescue LoadError
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
@@ -1,4 +1,5 @@
|
|
1
1
|
#!/usr/bin/ruby
|
2
|
+
#encoding: utf-8
|
2
3
|
|
3
4
|
require 'optparse'
|
4
5
|
require 'tallakt-plcutil/wonderware/intouchfile'
|
@@ -45,7 +46,7 @@ module PlcUtil
|
|
45
46
|
|
46
47
|
def read_pl7_file(io)
|
47
48
|
io.each_line do |l|
|
48
|
-
mres = l.match
|
49
|
+
mres = l.match(/^%M(W)?(\d+)(:X(\d+))?\t(\S+)\t(\S+)(\t\"?([^\t"]*))?/)
|
49
50
|
if mres
|
50
51
|
item = OpenStruct.new
|
51
52
|
item.is_word = mres[1]
|
data/tallakt-plcutil.gemspec
CHANGED
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tallakt-plcutil
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 21
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Tallak Tveide
|
@@ -21,9 +22,11 @@ dependencies:
|
|
21
22
|
name: thoughtbot-shoulda
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
27
30
|
segments:
|
28
31
|
- 0
|
29
32
|
version: "0"
|
@@ -86,23 +89,27 @@ rdoc_options:
|
|
86
89
|
require_paths:
|
87
90
|
- lib
|
88
91
|
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
89
93
|
requirements:
|
90
94
|
- - ">="
|
91
95
|
- !ruby/object:Gem::Version
|
96
|
+
hash: 3
|
92
97
|
segments:
|
93
98
|
- 0
|
94
99
|
version: "0"
|
95
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
96
102
|
requirements:
|
97
103
|
- - ">="
|
98
104
|
- !ruby/object:Gem::Version
|
105
|
+
hash: 3
|
99
106
|
segments:
|
100
107
|
- 0
|
101
108
|
version: "0"
|
102
109
|
requirements: []
|
103
110
|
|
104
111
|
rubyforge_project:
|
105
|
-
rubygems_version: 1.3.
|
112
|
+
rubygems_version: 1.3.7
|
106
113
|
signing_key:
|
107
114
|
specification_version: 3
|
108
115
|
summary: Ruby PLC file library
|