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 CHANGED
@@ -1 +1 @@
1
- 0.2.0
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 and
24
+ <%= f.text_field :quantity, :value => "how many" %> <%= f.text_field :observe_class, :value => "objects" %>
29
25
  <br />
30
- <%= select_tag "achievement_condition[total_operator]", options_for_select([["more than", ">"],["exactly", "=="],["less than", "<"]]) %>
31
- <%= text_field_tag "achievement_condition[total_value]" %>
32
- where <%= text_field_tag "achievement_condition[comparison_attribute]" %>
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([["more than", ">"],["exactly", "=="],["less than", "<"]]) %>
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{triumph}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Adam Bray"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: triumph
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
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: -1814513464805021718
159
+ hash: 2010006227418304460
160
160
  segments:
161
161
  - 0
162
162
  version: "0"