rubiks 0.1.1 → 0.1.2

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.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.1.2
2
+ * Use just the name attribute for JSON
3
+
1
4
  ## 0.1.1
2
5
  * Add nameColumn and ordinalColumn to XML output of levels
3
6
 
@@ -82,8 +82,7 @@ module ::Rubiks
82
82
 
83
83
  def default_json_attributes
84
84
  json_attrs = {
85
- :name => name,
86
- :caption => caption,
85
+ :name => caption,
87
86
  :description => description,
88
87
  :icon_type => icon_type
89
88
  }
@@ -1,3 +1,3 @@
1
1
  module ::Rubiks
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
@@ -23,7 +23,7 @@ describe ::Rubiks::Cube do
23
23
 
24
24
  it 'adds calculated measures to the measures array' do
25
25
  subject.json_hash['measures'].length.should eq 1
26
- subject.json_hash['measures'].first['name'].should eq 'profit'
26
+ subject.json_hash['measures'].first['name'].should eq 'Profit'
27
27
  end
28
28
  end
29
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubiks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -165,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  segments:
167
167
  - 0
168
- hash: 1878172819108350734
168
+ hash: -3404389561601353712
169
169
  required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  none: false
171
171
  requirements:
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  version: '0'
175
175
  segments:
176
176
  - 0
177
- hash: 1878172819108350734
177
+ hash: -3404389561601353712
178
178
  requirements: []
179
179
  rubyforge_project:
180
180
  rubygems_version: 1.8.25