escalator 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/escalator.gemspec +6 -0
  3. data/lib/escalator.rb +4 -0
  4. data/lib/escalator/cli.rb +5 -0
  5. data/lib/escalator/version.rb +1 -1
  6. data/lib/plc/{mitsubishi/iq-r/r08/LICENSE → LICENSE} +0 -0
  7. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/DocumentWindowInfo.xml +0 -0
  8. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/Escalator.mod +0 -0
  9. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/KvsMon.ini +0 -0
  10. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/LbkMdm.ini +0 -0
  11. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/Main.mod +0 -0
  12. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/MonEnv.kmu +0 -0
  13. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/PlcSended.dky +0 -0
  14. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/SensorMonitorInfo.xml +0 -0
  15. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/TransInfo.tif +0 -0
  16. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/UnitSet.ue2 +0 -0
  17. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/UnitSet.ue2.old +0 -0
  18. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/WsTreeEnv.xml +0 -0
  19. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.cm1 +0 -0
  20. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.cm2 +0 -0
  21. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.ftc +0 -0
  22. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.kpr +0 -0
  23. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.lbl +0 -0
  24. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.mil +0 -0
  25. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/kv-5000.spl +0 -0
  26. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/operand-history.txt +0 -0
  27. data/lib/plc/keyence/{kv-5000 → kv}/kv-5000/sample.al2 +0 -0
  28. metadata +28 -26
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b2afd20d0ae308c9860d8f624da6b01527813d8
4
- data.tar.gz: 85d0a57ddb918e4cb100d10330634142b18b003d
3
+ metadata.gz: 8163798f2a3ab970c5b863a36752ab053c5a2a68
4
+ data.tar.gz: 246e30003b30da6a1ab9b8a513a5cfeb485f382e
5
5
  SHA512:
6
- metadata.gz: c6c7c73fcbe4ccfe40e139d62bdeab9f5b0e4d7351dbfc3458c1f9622980f1f26f8ac42822e02902d20b5bc88f8a07115aa5996f04ec6cd2ea70780c2b5e96e8
7
- data.tar.gz: 9fa0bd2d21ca5c5e31739dbddfdd38eae24a18a0f369777d51e5e7c3efc3f57d27cc190c39ac045ffea85306ead13608f14496c63cdb4cf579b24f6833c4f0f8
6
+ metadata.gz: a749fc9aced2210ca74d35f4077fff10cc177f16c03899793337077466eeab0a0e2c3b2e611a21b35289896fc2490b833311b413ca1c4c500b7c607dfc107413
7
+ data.tar.gz: 8332bc27fa6cdc461fb7f2ad11aacab257306be98b508e1e660381cfdac091347c6c6d503cc13f9309238b30cf9d90768589e21361dddfd8d8c236b4cc687261
@@ -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
@@ -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 ""
@@ -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
@@ -22,5 +22,5 @@
22
22
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
23
 
24
24
  module Escalator
25
- VERSION = "0.2.5"
25
+ VERSION = "0.2.6"
26
26
  end
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.5
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: 2016-12-29 00:00:00.000000000 Z
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-5000/kv-5000/DocumentWindowInfo.xml
116
- - lib/plc/keyence/kv-5000/kv-5000/Escalator.mod
117
- - lib/plc/keyence/kv-5000/kv-5000/KvsMon.ini
118
- - lib/plc/keyence/kv-5000/kv-5000/LbkMdm.ini
119
- - lib/plc/keyence/kv-5000/kv-5000/Main.mod
120
- - lib/plc/keyence/kv-5000/kv-5000/MonEnv.kmu
121
- - lib/plc/keyence/kv-5000/kv-5000/PlcSended.dky
122
- - lib/plc/keyence/kv-5000/kv-5000/SensorMonitorInfo.xml
123
- - lib/plc/keyence/kv-5000/kv-5000/TransInfo.tif
124
- - lib/plc/keyence/kv-5000/kv-5000/UnitSet.ue2
125
- - lib/plc/keyence/kv-5000/kv-5000/UnitSet.ue2.old
126
- - lib/plc/keyence/kv-5000/kv-5000/WsTreeEnv.xml
127
- - lib/plc/keyence/kv-5000/kv-5000/kv-5000.cm1
128
- - lib/plc/keyence/kv-5000/kv-5000/kv-5000.cm2
129
- - lib/plc/keyence/kv-5000/kv-5000/kv-5000.ftc
130
- - lib/plc/keyence/kv-5000/kv-5000/kv-5000.kpr
131
- - lib/plc/keyence/kv-5000/kv-5000/kv-5000.lbl
132
- - lib/plc/keyence/kv-5000/kv-5000/kv-5000.mil
133
- - lib/plc/keyence/kv-5000/kv-5000/kv-5000.spl
134
- - lib/plc/keyence/kv-5000/kv-5000/operand-history.txt
135
- - lib/plc/keyence/kv-5000/kv-5000/sample.al2
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: