origen_doc_helpers 0.8.5 → 0.8.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40aaede1ff8ad4d6148ab8306512e8f80380f9f3682cea6077316f5a24d43092
4
- data.tar.gz: 64f8b7f11de61649190d9d256b85bd5dd77f7f6f5f90df6ee620f1959098ec47
3
+ metadata.gz: cc7cf65e39b57505c76fd5c6b1dfc2fa0a8584393a9908969bec3f5f591031a9
4
+ data.tar.gz: a8047c6ecb51906db3c9ff4ebfeb226f0a4cb737fb8d1cabd96e8933c2699576
5
5
  SHA512:
6
- metadata.gz: 8984fa0e3c19a0a638b24d085f9ce304737418e7a35657c0d10a2ba94a4d614486f4b9de36403e5a5808272e6462438fb9b076610f5d1316aab4d2a607146ce7
7
- data.tar.gz: 8924ae6bb9e10082e7c62153cfabb1615c6c367aa60e8cd74679311f74823daa9895196dd16b206279bb5dab233b09457ec3aca2f19f158562125b2d0f55fb72
6
+ metadata.gz: ddae3f5bdd04539284603a0b6cfb479b8bc5d5babf4a2ebdc14a130090b01e0c06a6a0bb93dca4a16b4d913460436b73f9fb99f28435a992abff7b83775d4394
7
+ data.tar.gz: 3d7d6b437954b67a8b2eaa14b620af2f2b089b94e389f7ef2b1c0e21171efc732a3b2490a091c7e42b8f951a7388149da74ea0999221fd2aa5045647e6af87a4
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module OrigenDocHelpers
2
2
  MAJOR = 0
3
3
  MINOR = 8
4
- BUGFIX = 5
4
+ BUGFIX = 6
5
5
  DEV = nil
6
6
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
7
7
  end
@@ -43,12 +43,8 @@ module OrigenDocHelpers
43
43
  File.write(f, t)
44
44
  end
45
45
 
46
- def index_page_template
47
- if File.exist?("#{Origen.root}/app/")
48
- @index_page_template ||= "#{Origen.root!}/app/templates/flow_index.md.erb"
49
- else
50
- @index_page_template ||= "#{Origen.root!}/templates/flow_index.md.erb"
51
- end
46
+ def index_page_template # index page template is in doc helpers, which isn't using app/ dir
47
+ @index_page_template ||= "#{Origen.root!}/templates/flow_index.md.erb"
52
48
  end
53
49
  end
54
50
 
@@ -103,20 +99,12 @@ module OrigenDocHelpers
103
99
  d
104
100
  end
105
101
 
106
- def flow_page_template
107
- if File.exist?("#{Origen.root}/app/")
108
- @flow_page_template ||= "#{Origen.root!}/app/templates/flow_page.md.erb"
109
- else
110
- @flow_page_template ||= "#{Origen.root!}/templates/flow_page.md.erb"
111
- end
102
+ def flow_page_template # flow page template is in doc helpers, which isn't using app/ dir
103
+ @flow_page_template ||= "#{Origen.root!}/templates/flow_page.md.erb"
112
104
  end
113
105
 
114
- def flow_template
115
- if File.exist?("#{Origen.root}/app/")
116
- @flow_template ||= "#{Origen.root!}/app/templates/shared/test/_flow.md.erb"
117
- else
118
- @flow_template ||= "#{Origen.root!}/templates/shared/test/_flow.md.erb"
119
- end
106
+ def flow_template # flow template is in doc helpers, which isn't using app/ dir
107
+ @flow_template ||= "#{Origen.root!}/templates/shared/test/_flow.md.erb"
120
108
  end
121
109
  end
122
110
  end
@@ -43,12 +43,8 @@ module OrigenDocHelpers
43
43
  File.write(f, t)
44
44
  end
45
45
 
46
- def index_page_template
47
- if File.exist?("#{Origen.root}/app/")
48
- @index_page_template ||= "#{Origen.root!}/app/templates/model_index.md.erb"
49
- else
50
- @index_page_template ||= "#{Origen.root!}/templates/model_index.md.erb"
51
- end
46
+ def index_page_template # index page template is in doc helpers, which isn't using app/ dir
47
+ @index_page_template ||= "#{Origen.root!}/templates/model_index.md.erb"
52
48
  end
53
49
  end
54
50
 
@@ -168,12 +164,8 @@ module OrigenDocHelpers
168
164
  "models/#{id}"
169
165
  end
170
166
 
171
- def model_page_template
172
- if File.exist?("#{Origen.root}/app/")
173
- @model_page_template ||= "#{Origen.root!}/app/templates/model_page.md.erb"
174
- else
175
- @model_page_template ||= "#{Origen.root!}/templates/model_page.md.erb"
176
- end
167
+ def model_page_template # model page template is in doc helpers, which isn't using app/ dir
168
+ @model_page_template ||= "#{Origen.root!}/templates/model_page.md.erb"
177
169
  end
178
170
  end
179
171
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen_doc_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-09 00:00:00.000000000 Z
11
+ date: 2021-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen