rtext 0.8.2 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +116 -89
  3. data/Project.yaml +15 -0
  4. data/RText_Protocol +47 -4
  5. data/lib/rtext/context_builder.rb +49 -8
  6. data/lib/rtext/default_completer.rb +212 -163
  7. data/lib/rtext/default_service_provider.rb +3 -3
  8. data/lib/rtext/frontend/connector.rb +130 -56
  9. data/lib/rtext/instantiator.rb +8 -4
  10. data/lib/rtext/language.rb +5 -5
  11. data/lib/rtext/serializer.rb +3 -3
  12. data/lib/rtext/service.rb +281 -253
  13. data/lib/rtext/tokenizer.rb +1 -1
  14. metadata +32 -44
  15. data/Rakefile +0 -46
  16. data/test/completer_test.rb +0 -606
  17. data/test/context_builder_test.rb +0 -948
  18. data/test/frontend/context_test.rb +0 -301
  19. data/test/instantiator_test.rb +0 -1735
  20. data/test/integration/backend.out +0 -13
  21. data/test/integration/crash_on_request_editor.rb +0 -12
  22. data/test/integration/ecore_editor.rb +0 -50
  23. data/test/integration/frontend.log +0 -40502
  24. data/test/integration/model/invalid_encoding.invenc +0 -2
  25. data/test/integration/model/test.crash_on_request +0 -18
  26. data/test/integration/model/test.crashing_backend +0 -18
  27. data/test/integration/model/test.dont_open_socket +0 -0
  28. data/test/integration/model/test.invalid_cmd_line +0 -0
  29. data/test/integration/model/test.not_in_rtext +0 -0
  30. data/test/integration/model/test_large_with_errors.ect3 +0 -43523
  31. data/test/integration/model/test_metamodel.ect +0 -24
  32. data/test/integration/model/test_metamodel2.ect +0 -5
  33. data/test/integration/model/test_metamodel3.ect4 +0 -7
  34. data/test/integration/model/test_metamodel_error.ect2 +0 -3
  35. data/test/integration/model/test_metamodel_ok.ect2 +0 -18
  36. data/test/integration/test.rb +0 -966
  37. data/test/link_detector_test.rb +0 -287
  38. data/test/message_helper_test.rb +0 -118
  39. data/test/rtext_test.rb +0 -11
  40. data/test/serializer_test.rb +0 -1004
  41. data/test/tokenizer_test.rb +0 -173
metadata CHANGED
@@ -1,32 +1,46 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Thiede
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-26 00:00:00.000000000 Z
11
+ date: 2021-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rgen
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.6.1
19
+ version: 0.8.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.6.1
26
+ version: 0.8.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: filelock
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.1.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.1.0
27
41
  description: RText can be used to derive textual languages from an RGen metamodel
28
42
  with very little effort.
29
- email: martin dot thiede at gmx de
43
+ email:
30
44
  executables: []
31
45
  extensions: []
32
46
  extra_rdoc_files:
@@ -36,6 +50,12 @@ extra_rdoc_files:
36
50
  - RText_Users_Guide
37
51
  - RText_Protocol
38
52
  files:
53
+ - CHANGELOG
54
+ - MIT-LICENSE
55
+ - Project.yaml
56
+ - README.rdoc
57
+ - RText_Protocol
58
+ - RText_Users_Guide
39
59
  - lib/rtext/context_builder.rb
40
60
  - lib/rtext/default_completer.rb
41
61
  - lib/rtext/default_loader.rb
@@ -55,62 +75,30 @@ files:
55
75
  - lib/rtext/serializer.rb
56
76
  - lib/rtext/service.rb
57
77
  - lib/rtext/tokenizer.rb
58
- - test/completer_test.rb
59
- - test/context_builder_test.rb
60
- - test/frontend/context_test.rb
61
- - test/instantiator_test.rb
62
- - test/integration/backend.out
63
- - test/integration/crash_on_request_editor.rb
64
- - test/integration/ecore_editor.rb
65
- - test/integration/frontend.log
66
- - test/integration/model/invalid_encoding.invenc
67
- - test/integration/model/test.crash_on_request
68
- - test/integration/model/test.crashing_backend
69
- - test/integration/model/test.dont_open_socket
70
- - test/integration/model/test.invalid_cmd_line
71
- - test/integration/model/test.not_in_rtext
72
- - test/integration/model/test_large_with_errors.ect3
73
- - test/integration/model/test_metamodel.ect
74
- - test/integration/model/test_metamodel2.ect
75
- - test/integration/model/test_metamodel3.ect4
76
- - test/integration/model/test_metamodel_error.ect2
77
- - test/integration/model/test_metamodel_ok.ect2
78
- - test/integration/test.rb
79
- - test/link_detector_test.rb
80
- - test/message_helper_test.rb
81
- - test/rtext_test.rb
82
- - test/serializer_test.rb
83
- - test/tokenizer_test.rb
84
- - README.rdoc
85
- - CHANGELOG
86
- - MIT-LICENSE
87
- - RText_Users_Guide
88
- - RText_Protocol
89
- - Rakefile
90
78
  homepage: http://ruby-gen.org
91
79
  licenses: []
92
80
  metadata: {}
93
81
  post_install_message:
94
82
  rdoc_options:
95
- - --main
83
+ - "--main"
96
84
  - README.rdoc
97
- - -x
85
+ - "-x"
98
86
  - test
99
87
  require_paths:
100
88
  - lib
101
89
  required_ruby_version: !ruby/object:Gem::Requirement
102
90
  requirements:
103
- - - '>='
91
+ - - ">="
104
92
  - !ruby/object:Gem::Version
105
93
  version: '0'
106
94
  required_rubygems_version: !ruby/object:Gem::Requirement
107
95
  requirements:
108
- - - '>='
96
+ - - ">="
109
97
  - !ruby/object:Gem::Version
110
98
  version: '0'
111
99
  requirements: []
112
100
  rubyforge_project:
113
- rubygems_version: 2.0.3
101
+ rubygems_version: 2.6.14
114
102
  signing_key:
115
103
  specification_version: 4
116
104
  summary: Ruby Textual Modelling
data/Rakefile DELETED
@@ -1,46 +0,0 @@
1
- require 'rubygems/package_task'
2
- require 'rdoc/task'
3
-
4
- DocFiles = [
5
- "README.rdoc", "CHANGELOG", "MIT-LICENSE",
6
- "RText_Users_Guide",
7
- "RText_Protocol"]
8
-
9
- RTextGemSpec = Gem::Specification.new do |s|
10
- s.name = %q{rtext}
11
- s.version = "0.8.2"
12
- s.date = Time.now.strftime("%Y-%m-%d")
13
- s.summary = %q{Ruby Textual Modelling}
14
- s.email = %q{martin dot thiede at gmx de}
15
- s.homepage = %q{http://ruby-gen.org}
16
- s.description = %q{RText can be used to derive textual languages from an RGen metamodel with very little effort.}
17
- s.authors = ["Martin Thiede"]
18
- s.add_dependency('rgen', '>= 0.6.1')
19
- gemfiles = Rake::FileList.new
20
- gemfiles.include("{lib,test}/**/*")
21
- gemfiles.include(DocFiles)
22
- gemfiles.include("Rakefile")
23
- gemfiles.exclude(/\b\.bak\b/)
24
- s.files = gemfiles
25
- s.rdoc_options = ["--main", "README.rdoc", "-x", "test"]
26
- s.extra_rdoc_files = DocFiles
27
- end
28
-
29
- RDoc::Task.new do |rd|
30
- rd.main = "README.rdoc"
31
- rd.rdoc_files.include(DocFiles)
32
- rd.rdoc_files.include("lib/**/*.rb")
33
- rd.rdoc_dir = "doc"
34
- end
35
-
36
- RTextPackageTask = Gem::PackageTask.new(RTextGemSpec) do |p|
37
- p.need_zip = false
38
- end
39
-
40
- task :prepare_package_rdoc => :rdoc do
41
- RTextPackageTask.package_files.include("doc/**/*")
42
- end
43
-
44
- task :release => [:prepare_package_rdoc, :package]
45
-
46
- task :clobber => [:clobber_rdoc, :clobber_package]