elementic 0.9.1 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/elementic.rb +6 -3
  3. metadata +2 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0810847f184fadedbb7fdd5524534a1cb09fd4d1
4
- data.tar.gz: dac6237562c0803ae2e339c350eda06b9be4c97f
3
+ metadata.gz: bf3dc9c7afbe7df95c3d212eb8d499daa45e1fbe
4
+ data.tar.gz: 7d5f7ce686479e6a9ef3a02fc2b44c672910f9ec
5
5
  SHA512:
6
- metadata.gz: 914ec60ccbb02aa0da4d9cf8f7468c031badb49242056eded363018e67e689fd00ee00db1312e8d48d05bdf0f87f0e2f1a44e2c8b191970170f5520f77583883
7
- data.tar.gz: 702c60203c6a32c4debe12e5bdbac46db52e3ebfd156c4afe8a27f227155467f507fefb1148ddf4b7baac492a6411da235a1a676a0ac9fdd4471130271fbc30f
6
+ metadata.gz: 206b42ad4168952d0b9b246692e3a3cfb122092f98cf25c55d08bb62f1a5dc29822589a08c321bea620fb1617f222a299eb9ffe3f460438d6e91d8a81385ca7c
7
+ data.tar.gz: 6b78e9f567f38c0aaafa3597173f26b9d51a707eebda03b7ca71d530e18896e46811ab1b3f2c102ad9a3e99237c979c96f7d80a07ac89b654e79937852467c72
@@ -1,5 +1,7 @@
1
- #!/usr/bin/env ruby
2
- VERSION = '0.9.1'
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 "elementic v#{VERSION}"
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.1
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.2.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: