qmore 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ 0.5.2 (06/28/2013)
2
+ ------------------
3
+
4
+ fix urls when mapped to a different path <d5d3757> [Matt Conway]
5
+
1
6
  0.5.1 (06/28/2013)
2
7
  ------------------
3
8
 
@@ -6,7 +6,7 @@
6
6
  The list below shows the dynamic queues currently defined. When you start a worker with a dynamic queue key (@key_name), that key is looked up from the list below to determine the actual queues the worker should pull from. Wildcards (*) and negation (leading !) can be used to select the queues the worker should process. There is always a fallback key - @default, which workers will use if the key for that worker is empty. If both the key and the fallback are empty, the worker defaults to processing '*'
7
7
  </p>
8
8
 
9
- <form action="/dynamicqueues" method="POST" style="float:none; margin-top:10px">
9
+ <form action="<%= u '/dynamicqueues' %>" method="POST" style="float:none; margin-top:10px">
10
10
 
11
11
  <table class='queues'>
12
12
  <tr>
@@ -5,7 +5,7 @@
5
5
  The list below orders queue name patterns by the priority you wish them to be executed in. The "Fairly" option allows you to indicate you want the queues within that pattern space be selected in a fair (random) manner, i.e. like resque-fairly. The 'default' pattern must always exist, and matches against all queues that aren't in any of the other patterns.
6
6
  </p>
7
7
 
8
- <form action="/queuepriority" method="POST" style="float:none; margin-top:10px">
8
+ <form action="<%= u '/queuepriority' %>" method="POST" style="float:none; margin-top:10px">
9
9
 
10
10
  <table class="priorities">
11
11
  <tr>
data/lib/qmore/server.rb CHANGED
@@ -70,7 +70,7 @@ module Qmore
70
70
  queues[key] = values
71
71
  end
72
72
  Attr.set_dynamic_queues(queues)
73
- redirect "/dynamicqueues"
73
+ redirect to("/dynamicqueues")
74
74
  end
75
75
 
76
76
  #
@@ -85,7 +85,7 @@ module Qmore
85
85
  app.post "/queuepriority" do
86
86
  priorities = params['priorities']
87
87
  Attr.set_priority_buckets priorities
88
- redirect "/queuepriority"
88
+ redirect to("/queuepriority")
89
89
  end
90
90
 
91
91
  end
data/lib/qmore/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Qmore
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qmore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: