elementic 0.9.1 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elementic.rb +6 -3
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf3dc9c7afbe7df95c3d212eb8d499daa45e1fbe
|
4
|
+
data.tar.gz: 7d5f7ce686479e6a9ef3a02fc2b44c672910f9ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 206b42ad4168952d0b9b246692e3a3cfb122092f98cf25c55d08bb62f1a5dc29822589a08c321bea620fb1617f222a299eb9ffe3f460438d6e91d8a81385ca7c
|
7
|
+
data.tar.gz: 6b78e9f567f38c0aaafa3597173f26b9d51a707eebda03b7ca71d530e18896e46811ab1b3f2c102ad9a3e99237c979c96f7d80a07ac89b654e79937852467c72
|
data/lib/elementic.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# require_relative 'elementic/version'
|
2
|
+
module Version
|
3
|
+
NUMBER = '0.9.3'
|
4
|
+
end
|
3
5
|
|
4
6
|
$elements = {
|
5
7
|
'H' => 'Hydrogen',
|
@@ -189,9 +191,10 @@ end
|
|
189
191
|
class Elementic
|
190
192
|
# Elementic.version will `puts` the version
|
191
193
|
def self.version
|
192
|
-
puts
|
194
|
+
puts Version::NUMBER
|
193
195
|
end
|
194
196
|
|
197
|
+
# Elementic.list will list all elements from hash
|
195
198
|
def self.list
|
196
199
|
$elements.each do |i|
|
197
200
|
print "#{i} \n"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elementic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh
|
@@ -37,9 +37,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
37
37
|
version: '0'
|
38
38
|
requirements: []
|
39
39
|
rubyforge_project:
|
40
|
-
rubygems_version: 2.
|
40
|
+
rubygems_version: 2.4.2
|
41
41
|
signing_key:
|
42
42
|
specification_version: 4
|
43
43
|
summary: Easier chemistry
|
44
44
|
test_files: []
|
45
|
-
has_rdoc:
|