command_proposal 1.0.8 → 1.0.9
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 +4 -4
- data/app/helpers/command_proposal/application_helper.rb +1 -4
- data/app/jobs/command_proposal/application_job.rb +3 -0
- data/app/views/command_proposal/tasks/_past_iterations_list.html.erb +2 -2
- data/lib/command_proposal/version.rb +1 -1
- data/lib/command_proposal.rb +6 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ae6c3b31f79557ffddfc4cc86435547b0523e204ff618d88160b4b7caa16da7
|
4
|
+
data.tar.gz: e2fdfb9505a9c10815f5503a3db917ef63b019b83a2f86b4f5d5dd30e704a8c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7199f95ffb1a7f26b8c58f96bc7d249d2d9429b7104fba4016aedcc3fcf0a355ea6748de16a7e136d0ab5c2bd927df14c173e5a84439b49993500031abd43601
|
7
|
+
data.tar.gz: 3d9c1bf0cbfa570679e8d149402278cfb34a453368ea8e5da72744ec93043ef199cfe92eac2233f91d692f4aa8a7d882245a15bc6c132271dd4438616a41a711
|
@@ -48,10 +48,7 @@ module CommandProposal
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def engine
|
51
|
-
@engine ||=
|
52
|
-
name = `rails routes | grep command_proposal_engine`[/\w*command_proposal_engine/]
|
53
|
-
send(name)
|
54
|
-
end
|
51
|
+
@engine ||= send(::CommandProposal.engine_name)
|
55
52
|
end
|
56
53
|
|
57
54
|
# Runner controller doesn't map to a model, so needs special handling
|
@@ -18,8 +18,8 @@
|
|
18
18
|
<% end %>
|
19
19
|
</td>
|
20
20
|
<td><%= iteration.status.capitalize %></td>
|
21
|
-
<!-- <td
|
22
|
-
<!-- <td
|
21
|
+
<!-- <td><%#= iteration.comments.count %></td> -->
|
22
|
+
<!-- <td><%#= link_to "Diff", cmd_path(@task, iteration: @iteration.id, diff: iteration.id) %></td> -->
|
23
23
|
</tr>
|
24
24
|
<% end %>
|
25
25
|
</tbody>
|
data/lib/command_proposal.rb
CHANGED
@@ -22,6 +22,12 @@ module CommandProposal
|
|
22
22
|
@configuration = ::CommandProposal::Configuration.new
|
23
23
|
end
|
24
24
|
|
25
|
+
def self.engine_name
|
26
|
+
@engine_name ||= begin
|
27
|
+
`rails routes | grep command_proposal_engine`[/\w*command_proposal_engine/]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
25
31
|
def self.configure
|
26
32
|
yield(configuration)
|
27
33
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: command_proposal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rocco Nicholls
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 5.0.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:
|
26
|
+
version: 5.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: font-awesome-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|