escalator 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/escalator.gemspec +6 -0
- data/lib/escalator.rb +4 -0
- data/lib/escalator/cli.rb +5 -0
- data/lib/escalator/version.rb +1 -1
- data/lib/plc/{mitsubishi/iq-r/r08/LICENSE → LICENSE} +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/DocumentWindowInfo.xml +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/Escalator.mod +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/KvsMon.ini +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/LbkMdm.ini +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/Main.mod +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/MonEnv.kmu +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/PlcSended.dky +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/SensorMonitorInfo.xml +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/TransInfo.tif +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/UnitSet.ue2 +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/UnitSet.ue2.old +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/WsTreeEnv.xml +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.cm1 +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.cm2 +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.ftc +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.kpr +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.lbl +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.mil +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.spl +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/operand-history.txt +0 -0
- data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/sample.al2 +0 -0
- metadata +28 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8163798f2a3ab970c5b863a36752ab053c5a2a68
|
4
|
+
data.tar.gz: 246e30003b30da6a1ab9b8a513a5cfeb485f382e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a749fc9aced2210ca74d35f4077fff10cc177f16c03899793337077466eeab0a0e2c3b2e611a21b35289896fc2490b833311b413ca1c4c500b7c607dfc107413
|
7
|
+
data.tar.gz: 8332bc27fa6cdc461fb7f2ad11aacab257306be98b508e1e660381cfdac091347c6c6d503cc13f9309238b30cf9d90768589e21361dddfd8d8c236b4cc687261
|
data/escalator.gemspec
CHANGED
@@ -24,4 +24,10 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.11"
|
26
26
|
spec.add_development_dependency "rake", "~> 10.0"
|
27
|
+
|
28
|
+
spec.post_install_message = <<-MESSAGE
|
29
|
+
! The 'escalator' gem has been deprecated and has been replaced by 'ladder_drive'.
|
30
|
+
! See: https://rubygems.org/gems/ladder_drive
|
31
|
+
! And: https://github.com/ito-soft-design/ladder_drive
|
32
|
+
MESSAGE
|
27
33
|
end
|
data/lib/escalator.rb
CHANGED
@@ -26,3 +26,7 @@ $:.unshift dir unless $:.include? dir
|
|
26
26
|
|
27
27
|
require "plc/plc"
|
28
28
|
require "escalator/escalator"
|
29
|
+
|
30
|
+
warn ""
|
31
|
+
warn "[DEPRECATION] This gem has been renamed to `ladder_drive` and will no longer be supported. Please switch to `ladder_drive` as soon as possible."
|
32
|
+
warn ""
|
data/lib/escalator/cli.rb
CHANGED
@@ -35,11 +35,16 @@ module Escalator
|
|
35
35
|
puts "ERROR: #{name} already exists."
|
36
36
|
exit -1
|
37
37
|
end
|
38
|
+
|
39
|
+
# copy from template file
|
38
40
|
root_dir = File.expand_path(File.join(File.dirname(__FILE__), "..", ".."))
|
39
41
|
template_path = File.join(root_dir, "template", "escalator")
|
40
42
|
cp_r template_path, name
|
43
|
+
|
44
|
+
# copy plc directory
|
41
45
|
temlate_plc_path = File.join(root_dir, "lib", "plc")
|
42
46
|
cp_r temlate_plc_path, name
|
47
|
+
# remove unnecessary file from plc directory
|
43
48
|
%w(plc.rb emulator).each do |fn|
|
44
49
|
rm_r File.join(name, "plc", fn)
|
45
50
|
end
|
data/lib/escalator/version.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: escalator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katsuyoshi Ito
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -108,32 +108,32 @@ files:
|
|
108
108
|
- lib/escalator/tasks/build.rb
|
109
109
|
- lib/escalator/uploader.rb
|
110
110
|
- lib/escalator/version.rb
|
111
|
+
- lib/plc/LICENSE
|
111
112
|
- lib/plc/emulator/emu_device.rb
|
112
113
|
- lib/plc/emulator/emu_plc.rb
|
113
114
|
- lib/plc/emulator/emu_plc_server.rb
|
114
115
|
- lib/plc/emulator/emulator.rb
|
115
|
-
- lib/plc/keyence/kv
|
116
|
-
- lib/plc/keyence/kv
|
117
|
-
- lib/plc/keyence/kv
|
118
|
-
- lib/plc/keyence/kv
|
119
|
-
- lib/plc/keyence/kv
|
120
|
-
- lib/plc/keyence/kv
|
121
|
-
- lib/plc/keyence/kv
|
122
|
-
- lib/plc/keyence/kv
|
123
|
-
- lib/plc/keyence/kv
|
124
|
-
- lib/plc/keyence/kv
|
125
|
-
- lib/plc/keyence/kv
|
126
|
-
- lib/plc/keyence/kv
|
127
|
-
- lib/plc/keyence/kv
|
128
|
-
- lib/plc/keyence/kv
|
129
|
-
- lib/plc/keyence/kv
|
130
|
-
- lib/plc/keyence/kv
|
131
|
-
- lib/plc/keyence/kv
|
132
|
-
- lib/plc/keyence/kv
|
133
|
-
- lib/plc/keyence/kv
|
134
|
-
- lib/plc/keyence/kv
|
135
|
-
- lib/plc/keyence/kv
|
136
|
-
- lib/plc/mitsubishi/iq-r/r08/LICENSE
|
116
|
+
- lib/plc/keyence/kv/kv-5000/DocumentWindowInfo.xml
|
117
|
+
- lib/plc/keyence/kv/kv-5000/Escalator.mod
|
118
|
+
- lib/plc/keyence/kv/kv-5000/KvsMon.ini
|
119
|
+
- lib/plc/keyence/kv/kv-5000/LbkMdm.ini
|
120
|
+
- lib/plc/keyence/kv/kv-5000/Main.mod
|
121
|
+
- lib/plc/keyence/kv/kv-5000/MonEnv.kmu
|
122
|
+
- lib/plc/keyence/kv/kv-5000/PlcSended.dky
|
123
|
+
- lib/plc/keyence/kv/kv-5000/SensorMonitorInfo.xml
|
124
|
+
- lib/plc/keyence/kv/kv-5000/TransInfo.tif
|
125
|
+
- lib/plc/keyence/kv/kv-5000/UnitSet.ue2
|
126
|
+
- lib/plc/keyence/kv/kv-5000/UnitSet.ue2.old
|
127
|
+
- lib/plc/keyence/kv/kv-5000/WsTreeEnv.xml
|
128
|
+
- lib/plc/keyence/kv/kv-5000/kv-5000.cm1
|
129
|
+
- lib/plc/keyence/kv/kv-5000/kv-5000.cm2
|
130
|
+
- lib/plc/keyence/kv/kv-5000/kv-5000.ftc
|
131
|
+
- lib/plc/keyence/kv/kv-5000/kv-5000.kpr
|
132
|
+
- lib/plc/keyence/kv/kv-5000/kv-5000.lbl
|
133
|
+
- lib/plc/keyence/kv/kv-5000/kv-5000.mil
|
134
|
+
- lib/plc/keyence/kv/kv-5000/kv-5000.spl
|
135
|
+
- lib/plc/keyence/kv/kv-5000/operand-history.txt
|
136
|
+
- lib/plc/keyence/kv/kv-5000/sample.al2
|
137
137
|
- lib/plc/mitsubishi/iq-r/r08/r08.gx3
|
138
138
|
- lib/plc/plc.rb
|
139
139
|
- sample/escalator/sample1.esc
|
@@ -146,7 +146,10 @@ homepage: https://github.com/ito-soft-design/escalator
|
|
146
146
|
licenses:
|
147
147
|
- MIT
|
148
148
|
metadata: {}
|
149
|
-
post_install_message:
|
149
|
+
post_install_message: |2
|
150
|
+
! The 'escalator' gem has been deprecated and has been replaced by 'ladder_drive'.
|
151
|
+
! See: https://rubygems.org/gems/ladder_drive
|
152
|
+
! And: https://github.com/ito-soft-design/ladder_drive
|
150
153
|
rdoc_options: []
|
151
154
|
require_paths:
|
152
155
|
- lib
|
@@ -167,4 +170,3 @@ signing_key:
|
|
167
170
|
specification_version: 4
|
168
171
|
summary: The escalator is a simple abstract ladder for PLC (Programmable Logic Controller).
|
169
172
|
test_files: []
|
170
|
-
has_rdoc:
|