rtext 0.8.1 → 0.10.0

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 +120 -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 +11 -3
  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 +2 -2
  14. metadata +33 -33
  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 -1704
  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 -38203
  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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Thiede
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-11 00:00:00.000000000 Z
11
+ date: 2021-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rgen
@@ -16,17 +16,43 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.6.1
19
+ version: 0.9.0
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '0.10'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: 0.6.1
29
+ version: 0.9.0
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '0.10'
33
+ - !ruby/object:Gem::Dependency
34
+ name: filelock
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: 1.1.1
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '1.2'
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 1.1.1
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '1.2'
27
53
  description: RText can be used to derive textual languages from an RGen metamodel
28
54
  with very little effort.
29
- email: martin dot thiede at gmx de
55
+ email:
30
56
  executables: []
31
57
  extensions: []
32
58
  extra_rdoc_files:
@@ -38,10 +64,10 @@ extra_rdoc_files:
38
64
  files:
39
65
  - CHANGELOG
40
66
  - MIT-LICENSE
67
+ - Project.yaml
41
68
  - README.rdoc
42
69
  - RText_Protocol
43
70
  - RText_Users_Guide
44
- - Rakefile
45
71
  - lib/rtext/context_builder.rb
46
72
  - lib/rtext/default_completer.rb
47
73
  - lib/rtext/default_loader.rb
@@ -61,32 +87,6 @@ files:
61
87
  - lib/rtext/serializer.rb
62
88
  - lib/rtext/service.rb
63
89
  - lib/rtext/tokenizer.rb
64
- - test/completer_test.rb
65
- - test/context_builder_test.rb
66
- - test/frontend/context_test.rb
67
- - test/instantiator_test.rb
68
- - test/integration/backend.out
69
- - test/integration/crash_on_request_editor.rb
70
- - test/integration/ecore_editor.rb
71
- - test/integration/frontend.log
72
- - test/integration/model/invalid_encoding.invenc
73
- - test/integration/model/test.crash_on_request
74
- - test/integration/model/test.crashing_backend
75
- - test/integration/model/test.dont_open_socket
76
- - test/integration/model/test.invalid_cmd_line
77
- - test/integration/model/test.not_in_rtext
78
- - test/integration/model/test_large_with_errors.ect3
79
- - test/integration/model/test_metamodel.ect
80
- - test/integration/model/test_metamodel2.ect
81
- - test/integration/model/test_metamodel3.ect4
82
- - test/integration/model/test_metamodel_error.ect2
83
- - test/integration/model/test_metamodel_ok.ect2
84
- - test/integration/test.rb
85
- - test/link_detector_test.rb
86
- - test/message_helper_test.rb
87
- - test/rtext_test.rb
88
- - test/serializer_test.rb
89
- - test/tokenizer_test.rb
90
90
  homepage: http://ruby-gen.org
91
91
  licenses: []
92
92
  metadata: {}
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.2.3
113
+ rubygems_version: 2.6.14
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  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.1"
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]