gisele-language 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,12 @@
1
- # 0.5.0 / FIX ME
1
+ # 0.6.0 / 2012-10-16
2
+
3
+ * Breaking change: removed the ability to define multiple tasks in a single unit
4
+
5
+ # 0.5.1 / 2012-09-12
6
+
7
+ * Add TaskDef ast node, with proper label.
8
+
9
+ # 0.5.0 / 2012-07-20
2
10
 
3
11
  * Enhancements
4
12
 
@@ -7,7 +7,7 @@ variables:
7
7
  upper:
8
8
  Gisele::Language
9
9
  version:
10
- 0.5.1
10
+ 0.6.0
11
11
  summary: |-
12
12
  The Gisele Process Modeling Language
13
13
  description: |-
@@ -3,8 +3,8 @@ module Gisele
3
3
  module Version
4
4
 
5
5
  MAJOR = 0
6
- MINOR = 5
7
- TINY = 1
6
+ MINOR = 6
7
+ TINY = 0
8
8
 
9
9
  def self.to_s
10
10
  [ MAJOR, MINOR, TINY ].join('.')
@@ -13,4 +13,4 @@ module Gisele
13
13
  end
14
14
  VERSION = Version.to_s
15
15
  end
16
- end
16
+ end
@@ -3,7 +3,7 @@ grammar Gisele::Language::Grammar
3
3
  ### Units
4
4
 
5
5
  rule unit_def
6
- (spacing task_def (spaces task_def)* spacing)
6
+ (spacing task_def spacing)
7
7
  <Gisele::Language::Syntax::UnitDef>
8
8
  end
9
9
 
@@ -3,7 +3,7 @@ parser:
3
3
  rules:
4
4
  ### units and tasks
5
5
  unit_def:
6
- - [task_def+]
6
+ - [ task_def ]
7
7
  task_def:
8
8
  - [task_name, some_def*, statement]
9
9
  some_def:
@@ -9,18 +9,10 @@ module Gisele::Language
9
9
  parse(expr, :unit_def).should eq(expr)
10
10
  end
11
11
 
12
- it 'accepts multiple task definitions' do
13
- expr = <<-UNIT.strip
14
- task Task1 end
15
- task Task2 end
16
- UNIT
17
- parse(expr, :unit_def).should eq(expr)
18
- end
19
-
20
12
  it 'allows trailing spaces' do
21
13
  expr = <<-UNIT
22
14
  task Task1 end
23
- task Task2 end
15
+
24
16
  UNIT
25
17
  parse(expr, :unit_def).should eq(expr)
26
18
  end
@@ -12,17 +12,5 @@ module Gisele::Language::Syntax
12
12
  ast(expr, :unit_def).should eq(expected)
13
13
  end
14
14
 
15
- it 'accepts multiple task definitions' do
16
- expr = <<-UNIT.strip
17
- task Task1 end
18
- task Task2 end
19
- UNIT
20
- expected = \
21
- [:unit_def,
22
- [:task_def, "Task1", [:nop_st]],
23
- [:task_def, "Task2", [:nop_st]] ]
24
- ast(expr, :unit_def).should eq(expected)
25
- end
26
-
27
15
  end
28
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gisele-language
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-12 00:00:00.000000000 Z
12
+ date: 2012-10-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70122675493300 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: 0.9.2
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70122675493300
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.9.2
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: rspec
27
- requirement: &70122675490320 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '2.11'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *70122675490320
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '2.11'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: citrus
38
- requirement: &70122675489420 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '2.4'
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *70122675489420
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '2.4'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: path
49
- requirement: &70122675504360 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: '1.2'
55
70
  type: :runtime
56
71
  prerelease: false
57
- version_requirements: *70122675504360
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '1.2'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: sexpr
60
- requirement: &70122675503200 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ~>
@@ -65,7 +85,12 @@ dependencies:
65
85
  version: 0.5.0
66
86
  type: :runtime
67
87
  prerelease: false
68
- version_requirements: *70122675503200
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.5.0
69
94
  description: Provides the parser + compiler infrastructure for the Gisele process
70
95
  modeling language.
71
96
  email:
@@ -203,9 +228,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
228
  - - ! '>='
204
229
  - !ruby/object:Gem::Version
205
230
  version: '0'
206
- segments:
207
- - 0
208
- hash: 3372004850010771725
209
231
  required_rubygems_version: !ruby/object:Gem::Requirement
210
232
  none: false
211
233
  requirements:
@@ -214,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
236
  version: '0'
215
237
  requirements: []
216
238
  rubyforge_project:
217
- rubygems_version: 1.8.15
239
+ rubygems_version: 1.8.24
218
240
  signing_key:
219
241
  specification_version: 3
220
242
  summary: The Gisele Process Modeling Language