rules_engine 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -8,7 +8,7 @@ $('#re_pipeline_change_actions').html('<%=escape_javascript(render('/re_pipeline
8
8
 
9
9
  $('#re_rules_change').html('')
10
10
  <% @re_pipeline.re_rules.each do |re_rule | %>
11
- $('#re_rules_change').append('<%=escape_javascript(render('/re_rules/change', :re_rule => re_rule, :first_rule => re_rule == @re_pipeline.re_rules[0], :last_rule => re_rule == @re_pipeline.re_rules[-1]))%>');
11
+ $('#re_rules_change').append('<%=escape_javascript(render('/re_pipeline_rules/change', :re_rule => re_rule, :first_rule => re_rule == @re_pipeline.re_rules[0], :last_rule => re_rule == @re_pipeline.re_rules[-1]))%>');
12
12
  <% end %>
13
13
 
14
- <%= render('/re_rules/empty', :re_pipeline => @re_pipeline) %>
14
+ <%= render('/re_pipeline_rules/empty', :re_pipeline => @re_pipeline) %>
@@ -6,11 +6,11 @@ $.re_unblock();
6
6
  $('#re_pipeline_change').html('<%=escape_javascript(render('/re_pipelines/change'))%>');
7
7
  $('#re_pipeline_change_actions').html('<%=escape_javascript(render('/re_pipelines/change_actions'))%>');
8
8
 
9
- <%= render('/re_rules/empty', :re_pipeline => @re_pipeline) %>
9
+ <%= render('/re_pipeline_rules/empty', :re_pipeline => @re_pipeline) %>
10
10
 
11
11
  $('#re_rules_change').html('')
12
12
  <% @re_pipeline.re_rules.each do |re_rule | %>
13
- $('#re_rules_change').append('<%=escape_javascript(render('/re_rules/change', :re_rule => re_rule, :first_rule => re_rule == @re_pipeline.re_rules[0], :last_rule => re_rule == @re_pipeline.re_rules[-1]))%>');
13
+ $('#re_rules_change').append('<%=escape_javascript(render('/re_pipeline_rules/change', :re_rule => re_rule, :first_rule => re_rule == @re_pipeline.re_rules[0], :last_rule => re_rule == @re_pipeline.re_rules[-1]))%>');
14
14
  <% end %>
15
15
 
16
16
  $('#re_rule_change_<%=@re_rule.id%> .re-bluebox:first').attr('style', 'background-color: #fff6bf;');
@@ -50,10 +50,10 @@
50
50
 
51
51
  </div>
52
52
  <div class="re-infobox no-top hide" id="re_pipeline_rule_list_<%= re_pipeline.id %>">
53
- <%= render '/re_rules/empty.html', :re_pipeline => re_pipeline %>
53
+ <%= render '/re_pipeline_rules/empty.html', :re_pipeline => re_pipeline %>
54
54
 
55
55
  <% re_pipeline.re_rules.each_with_index do |re_rule, index | %>
56
- <%= render '/re_rules/index', :re_rule => re_rule, :new_row => (index != 0 && (index % 2) == 0), :first_rule => re_rule == re_pipeline.re_rules[0], :last_rule => re_rule == re_pipeline.re_rules[-1] %>
56
+ <%= render '/re_pipeline_rules/index', :re_rule => re_rule, :new_row => (index != 0 && (index % 2) == 0), :first_rule => re_rule == re_pipeline.re_rules[0], :last_rule => re_rule == re_pipeline.re_rules[-1] %>
57
57
  <% end %>
58
58
 
59
59
  <div class="clear"></div>
@@ -19,17 +19,17 @@
19
19
  <div class="clear top-5"></div>
20
20
  <div id="re_rules_change">
21
21
  <% @re_pipeline.re_rules.each do |re_rule | %>
22
- <%= render '/re_rules/change', :re_rule => re_rule, :first_rule => re_rule == @re_pipeline.re_rules[0], :last_rule => re_rule == @re_pipeline.re_rules[-1] %>
22
+ <%= render '/re_pipeline_rules/change', :re_rule => re_rule, :first_rule => re_rule == @re_pipeline.re_rules[0], :last_rule => re_rule == @re_pipeline.re_rules[-1] %>
23
23
  <div class="clear"></div>
24
24
  <% end %>
25
25
  </div>
26
26
 
27
27
  <div class="clear top-5"></div>
28
- <%= render '/re_rules/empty', :re_pipeline => @re_pipeline %>
28
+ <%= render '/re_pipeline_rules/empty', :re_pipeline => @re_pipeline %>
29
29
  </div>
30
30
  </div>
31
31
  <div class="span-7 last">
32
- <%= render :partial => '/re_rules/menu' %>
32
+ <%= render :partial => '/re_pipeline_rules/menu' %>
33
33
  </div>
34
34
  <div class="clear"></div>
35
35
 
@@ -7,12 +7,12 @@
7
7
  <div class="re-infobox">
8
8
  <div class="clear top-5"></div>
9
9
  <% @re_pipeline.re_rules.each do |re_rule | %>
10
- <%= render '/re_rules/show', :re_rule => re_rule, :first_rule => re_rule == @re_pipeline.re_rules[0], :last_rule => re_rule == @re_pipeline.re_rules[-1] %>
10
+ <%= render '/re_pipeline_rules/show', :re_rule => re_rule, :first_rule => re_rule == @re_pipeline.re_rules[0], :last_rule => re_rule == @re_pipeline.re_rules[-1] %>
11
11
  <div class="clear"></div>
12
12
  <% end %>
13
13
 
14
14
  <div class="clear top-5"></div>
15
- <%= render '/re_rules/empty', :re_pipeline => @re_pipeline %>
15
+ <%= render '/re_pipeline_rules/empty', :re_pipeline => @re_pipeline %>
16
16
  </div>
17
17
  </div>
18
18
  <div class="span-7 last">
@@ -6,9 +6,9 @@ $.re_unblock();
6
6
  $('#re_pipeline_change').html('<%=escape_javascript(render('/re_pipelines/change'))%>');
7
7
  $('#re_pipeline_change_actions').html('<%=escape_javascript(render('/re_pipelines/change_actions'))%>');
8
8
 
9
- <%= render('/re_rules/empty', :re_pipeline => @re_pipeline) %>
9
+ <%= render('/re_pipeline_rules/empty', :re_pipeline => @re_pipeline) %>
10
10
 
11
11
  $('#re_rules_change').html('')
12
12
  <% @re_pipeline.re_rules.each do |re_rule | %>
13
- $('#re_rules_change').append('<%=escape_javascript(render('/re_rules/change', :re_rule => re_rule, :first_rule => re_rule == @re_pipeline.re_rules[0], :last_rule => re_rule == @re_pipeline.re_rules[-1]))%>');
13
+ $('#re_rules_change').append('<%=escape_javascript(render('/re_pipeline_rules/change', :re_rule => re_rule, :first_rule => re_rule == @re_pipeline.re_rules[0], :last_rule => re_rule == @re_pipeline.re_rules[-1]))%>');
14
14
  <% end %>
@@ -72,7 +72,7 @@ $(document).ready(function() {
72
72
  return false;
73
73
 
74
74
  $.re_block();
75
- $.get('/re_pipelines/' + values[0] + '/re_rules/new?rule_class_name=' + values[1], null, null, 'script');
75
+ $.get('/re_pipelines/' + values[0] + '/re_pipeline_rules/new?rule_class_name=' + values[1], null, null, 'script');
76
76
  return false;
77
77
  });
78
78
 
@@ -94,7 +94,7 @@ $(document).ready(function() {
94
94
  return false;
95
95
 
96
96
  $.re_block();
97
- $.get('/re_pipelines/' + values[0] + '/re_rules/' + values[1] + '/edit', null, null, 'script');
97
+ $.get('/re_pipelines/' + values[0] + '/re_pipeline_rules/' + values[1] + '/edit', null, null, 'script');
98
98
  return false;
99
99
  });
100
100
 
@@ -170,7 +170,7 @@ $(document).ready(function() {
170
170
  return false;
171
171
 
172
172
  $.re_block();
173
- $.get('/re_pipelines/' + values[0] + '/re_rules/help?rule_class_name=' + values[1], null, null, 'script');
173
+ $.get('/re_pipelines/' + values[0] + '/re_pipeline_rules/help?rule_class_name=' + values[1], null, null, 'script');
174
174
  return false;
175
175
  });
176
176
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rules_engine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Douglas