triumph 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/views/triumph/achievements/_form.html.erb +7 -10
- data/triumph.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
@@ -19,20 +19,17 @@
|
|
19
19
|
<%= f.label :description %><br />
|
20
20
|
<%= f.text_area :description %>
|
21
21
|
</div>
|
22
|
-
<div class="field">
|
23
|
-
<%= f.label :observe_class %><br />
|
24
|
-
<%= f.text_field :observe_class %>
|
25
|
-
</div>
|
26
22
|
<div class="field">
|
27
23
|
Grant this achievement when a user has more than
|
28
|
-
<%= f.text_field :quantity %> objects
|
24
|
+
<%= f.text_field :quantity, :value => "how many" %> <%= f.text_field :observe_class, :value => "objects" %>
|
29
25
|
<br />
|
30
|
-
|
31
|
-
<%=
|
32
|
-
|
26
|
+
and there are
|
27
|
+
<%= select_tag "achievement_condition[total_operator]", options_for_select([["greater than", ">"],["exactly", "=="],["less than", "<"]]) %>
|
28
|
+
<%= text_field_tag "achievement_condition[total_value]", "how many" %>
|
29
|
+
where <%= text_field_tag "achievement_condition[comparison_attribute]", "comparison method" %>
|
33
30
|
is
|
34
|
-
<%= select_tag "achievement_condition[comparison_operator]", options_for_select([["
|
35
|
-
<%= text_field_tag "achievement_condition[comparison_value]" %>
|
31
|
+
<%= select_tag "achievement_condition[comparison_operator]", options_for_select([["greater than", ">"],["exactly", "=="],["less than", "<"]]) %>
|
32
|
+
<%= text_field_tag "achievement_condition[comparison_value]", "comparison value" %>
|
36
33
|
</div>
|
37
34
|
<div class="actions">
|
38
35
|
<%= f.submit %>
|
data/triumph.gemspec
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: triumph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Adam Bray
|
@@ -156,7 +156,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
hash:
|
159
|
+
hash: 2010006227418304460
|
160
160
|
segments:
|
161
161
|
- 0
|
162
162
|
version: "0"
|