rubiks 0.1.0 → 0.1.1

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.1
2
+ * Add nameColumn and ordinalColumn to XML output of levels
3
+
1
4
  ## 0.1.0
2
5
  * Remove RLTK
3
6
  * Generate Mondrian 3 schema
data/README.md CHANGED
@@ -85,6 +85,7 @@ end
85
85
 
86
86
  puts schema.to_xml
87
87
  ```
88
+
88
89
  You should see this XML:
89
90
 
90
91
  ```xml
@@ -127,8 +128,10 @@ Check out these projects (which have been super helpful in working on Rubiks):
127
128
 
128
129
  ### Contributing
129
130
 
130
- 1. Fork it
131
- 2. Create your feature branch (`git checkout -b my-new-feature`)
132
- 3. Commit your changes (`git commit -am 'Add some feature'`)
133
- 4. Push to the branch (`git push origin my-new-feature`)
134
- 5. Create new Pull Request
131
+ If you'd like to contribute to Rubiks, that's awesome, and we <3 you. There's a guide to contributing
132
+ (both code and general help) over in [CONTRIBUTING.md](CONTRIBUTING.md)
133
+
134
+
135
+ ### Development
136
+
137
+ To see what has changed in recent versions, see the [CHANGELOG.md](CHANGELOG.md).
data/lib/rubiks/level.rb CHANGED
@@ -48,6 +48,8 @@ module ::Rubiks
48
48
  builder = builder || new_builder
49
49
 
50
50
  xml_attrs = default_xml_attributes.merge(:column => column)
51
+ xml_attrs[:nameColumn] = name_column if name_column.present?
52
+ xml_attrs[:ordinalColumn] = ordinal_column if ordinal_column.present?
51
53
  xml_attrs[:levelType] = level_type if level_type.present?
52
54
  xml_attrs[:type] = type.to_s.capitalize if type.present?
53
55
  builder.level(xml_attrs)
@@ -1,3 +1,3 @@
1
1
  module ::Rubiks
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  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.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -89,7 +89,7 @@ files:
89
89
  - .travis.yml
90
90
  - .yardopts
91
91
  - CHANGELOG.md
92
- - CONTRIBUTIG.md
92
+ - CONTRIBUTING.md
93
93
  - Gemfile
94
94
  - LICENSE.md
95
95
  - README.md
@@ -165,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  segments:
167
167
  - 0
168
- hash: -3043942218182492625
168
+ hash: 1878172819108350734
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: -3043942218182492625
177
+ hash: 1878172819108350734
178
178
  requirements: []
179
179
  rubyforge_project:
180
180
  rubygems_version: 1.8.25
File without changes