rubiks 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/README.md +8 -5
- data/lib/rubiks/level.rb +2 -0
- data/lib/rubiks/version.rb +1 -1
- metadata +4 -4
- /data/{CONTRIBUTIG.md → CONTRIBUTING.md} +0 -0
data/CHANGELOG.md
CHANGED
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
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
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)
|
data/lib/rubiks/version.rb
CHANGED
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.
|
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
|
-
-
|
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:
|
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:
|
177
|
+
hash: 1878172819108350734
|
178
178
|
requirements: []
|
179
179
|
rubyforge_project:
|
180
180
|
rubygems_version: 1.8.25
|
File without changes
|