satoshi-unit 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4078d5c7fe2449c56978ce61a22df23d34bc906
4
- data.tar.gz: b1ca344599ad41967fc1347d78f14f97bb522bfa
3
+ metadata.gz: b3ffee94337e7fe5b35b863b99659a05c9bb229a
4
+ data.tar.gz: dc30daf09e0be18b38764ad1de401393748102b9
5
5
  SHA512:
6
- metadata.gz: ad99e9d1dafcf2103a294cf87ad09e37da2f87f98575dc7f8d9875fdcb5093a4b7c8b2034a65c482f4fdfae5eb6517a9bdc0f85a0c8093accaa5389f2509ce2b
7
- data.tar.gz: cd2366b082ac389c1e62ae377ca035c2a07ed4bf91cd0a12e7310da5e618bb780fdf0f584c6d6d6837f16d058f4391f083844e26aad91f718170e78e2ea87a69
6
+ metadata.gz: 09b562dcc071fd68576977f4107f5a55e309d575a4b7b365565af8b8ed69ede2c56867d28419b718e6b5b9ee86978140489d20934c803ec54885d9de4ad9a9f8
7
+ data.tar.gz: cfe3ac10b47ffbe591daaf0815ff7a7715f00aa09c79c4033ef00573d18032d275e6e51058d6483f1b9f821865be264e469002e85caade642a1f414d85e129d1
data/README.md CHANGED
@@ -5,6 +5,12 @@ It provides a class, which objects would essentially represent an amount of bitc
5
5
  in the smallest possible denomination, which is Satoshi. You can then call methods on these objects
6
6
  to convert it various other denominations.
7
7
 
8
+ ### Installation
9
+
10
+ gem install satoshi-unit
11
+
12
+ ### Usage
13
+
8
14
  Here's how it might look:
9
15
 
10
16
  s = Satoshi.new(1) # By default, it accepts amounts in BTC denomination
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -0,0 +1,4 @@
1
+ # This is just a file of the same name as gem so that it is
2
+ # auto required when the gem is loaded and we load the Satoshi class.
3
+
4
+ require 'satoshi'
@@ -0,0 +1,58 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+ # stub: satoshi-unit 0.1.1 ruby lib
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "satoshi-unit"
9
+ s.version = "0.1.1"
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
13
+ s.authors = ["Roman Snitko"]
14
+ s.date = "2014-05-27"
15
+ s.description = "Converts various bitcoin denominations in Satoshis and back"
16
+ s.email = "roman.snitko@gmail.com"
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.md"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ ".rspec",
24
+ "Gemfile",
25
+ "Gemfile.lock",
26
+ "LICENSE.txt",
27
+ "README.md",
28
+ "Rakefile",
29
+ "VERSION",
30
+ "lib/satoshi-unit.rb",
31
+ "lib/satoshi.rb",
32
+ "satoshi-unit.gemspec",
33
+ "spec/satoshi_spec.rb"
34
+ ]
35
+ s.homepage = "http://github.com/snitko/satoshi-unit"
36
+ s.licenses = ["MIT"]
37
+ s.rubygems_version = "2.2.2"
38
+ s.summary = "Converts various bitcoin denominations in Satoshis and back"
39
+
40
+ if s.respond_to? :specification_version then
41
+ s.specification_version = 4
42
+
43
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
44
+ s.add_development_dependency(%q<bundler>, ["~> 1.0"])
45
+ s.add_development_dependency(%q<jeweler>, ["~> 2.0.1"])
46
+ s.add_development_dependency(%q<rspec>, [">= 0"])
47
+ else
48
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
49
+ s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
50
+ s.add_dependency(%q<rspec>, [">= 0"])
51
+ end
52
+ else
53
+ s.add_dependency(%q<bundler>, ["~> 1.0"])
54
+ s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
55
+ s.add_dependency(%q<rspec>, [">= 0"])
56
+ end
57
+ end
58
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: satoshi-unit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Snitko
@@ -68,7 +68,9 @@ files:
68
68
  - README.md
69
69
  - Rakefile
70
70
  - VERSION
71
+ - lib/satoshi-unit.rb
71
72
  - lib/satoshi.rb
73
+ - satoshi-unit.gemspec
72
74
  - spec/satoshi_spec.rb
73
75
  homepage: http://github.com/snitko/satoshi-unit
74
76
  licenses: