atp 0.5.4 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e28ca2366324cd8b6f8e8b459483cc7976bab5d5
4
- data.tar.gz: 8374d8161c577c29d64634f212e2d9c4911ccc3d
3
+ metadata.gz: 03c477cb82c7a6798419792e45b8f949d49851f2
4
+ data.tar.gz: 30beaddc9cc459ba9898c9a901566c578313cf59
5
5
  SHA512:
6
- metadata.gz: f710df8bc7360c6434111a562bd2524b7d0214046f99c91e857591f34085bc26e7b138c1e7032c7e80f5754d66cabdc032fb36bd1029cc3b0514cec60315f272
7
- data.tar.gz: 64d8faca1a37bdfed81481d687e80eee5aab581966d66d693324fdfb7161df50c53eeaa2a1caa0e47e1f0a8ff04e3617986b005eb123ba4c7975d95a55db1840
6
+ metadata.gz: 24f38b188ec4a61b04a5fcefe2e61c42b9933c356386a9094061703d76dc34122d2d77a469fd69636ee2565aba57e5ddbc3d231c9c4700eaf5f177f1a40e17d9
7
+ data.tar.gz: '093210ef029435aa0aa68309f5080d86ab0ef5da8b47a109c422c696a8e1b13c3818f783a050c330ceebe5330717646681b2a15f10bca78f4edfca5bf8472c1e'
@@ -10,7 +10,7 @@ class ATPApplication < Origen::Application
10
10
  self.namespace = "ATP"
11
11
  config.name = "atp"
12
12
  config.initials = "ATP"
13
- config.rc_url = "ssh://git@github.com:ginty/atp.git"
13
+ config.rc_url = "git@github.com:Origen-SDK/atp.git"
14
14
  config.release_externally = true
15
15
 
16
16
  # To enable deployment of your documentation to a web server (via the 'origen web'
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module ATP
2
2
  MAJOR = 0
3
- MINOR = 5
4
- BUGFIX = 4
3
+ MINOR = 6
4
+ BUGFIX = 0
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -27,8 +27,13 @@ module ATP
27
27
  end
28
28
  end
29
29
 
30
- def render(str)
31
- n(:render, str)
30
+ def render(str, options = {})
31
+ test = n(:render, str)
32
+ if options[:conditions]
33
+ apply_conditions(test, options[:conditions])
34
+ else
35
+ test
36
+ end
32
37
  end
33
38
 
34
39
  def id(symbol)
data/lib/atp/flow.rb CHANGED
@@ -156,7 +156,10 @@ module ATP
156
156
  # Insert explicitly rendered content in to the flow
157
157
  def render(str, options = {})
158
158
  extract_meta!(options)
159
- append builder.render(str)
159
+ t = apply_open_conditions(options) do |options|
160
+ builder.render(str, options)
161
+ end
162
+ append(t)
160
163
  end
161
164
 
162
165
  def with_condition(options)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-02 00:00:00.000000000 Z
11
+ date: 2017-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  version: 1.8.11
117
117
  requirements: []
118
118
  rubyforge_project:
119
- rubygems_version: 2.6.7
119
+ rubygems_version: 2.6.11
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: An abstract test program model for Origen