rspayd 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .idea
data/README.md CHANGED
@@ -31,7 +31,7 @@ Or install it yourself as:
31
31
 
32
32
  ## Contributing
33
33
 
34
- This gem implements only the basic SPLAY subset needed for simple payment in Czech Republic. Feel free to extend this gem based on your needs and send pull requests.
34
+ This gem implements only the basic SPAYD subset needed for simple payment in Czech Republic. Feel free to extend this gem based on your needs and send pull requests.
35
35
 
36
36
  1. Fork it
37
37
  2. Create your feature branch (`git checkout -b my-new-feature`)
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Rspayd
2
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
3
4
  end
data/lib/rspayd.rb CHANGED
@@ -1,4 +1,5 @@
1
- require "rspayd/version"
1
+ # -*- encoding : utf-8 -*-
2
+ require File.expand_path(File.join(File.dirname(__FILE__), 'rspayd/version'))
2
3
 
3
4
  module Rspayd
4
5
  class CzechPayment
@@ -31,7 +32,7 @@ module Rspayd
31
32
  "CZ#{checksum}#{base}"
32
33
  end
33
34
 
34
- # SPLAY string for payment
35
+ # SPAYD string for payment
35
36
  def to_s
36
37
  out = []
37
38
  out << "SPD*1.0"
@@ -43,7 +44,7 @@ module Rspayd
43
44
  out.join
44
45
  end
45
46
 
46
- # generates SPLAY string for payment
47
+ # generates SPAYD string for payment
47
48
  def self.generate_string(options)
48
49
  new(options).to_s
49
50
  end
data/rspayd.gemspec CHANGED
@@ -1,4 +1,4 @@
1
- # -*- encoding: utf-8 -*-
1
+ # -*- encoding : utf-8 -*-
2
2
  require File.expand_path('../lib/rspayd/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspayd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - !binary |
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2013-01-17 00:00:00 Z
20
+ date: 2013-02-06 00:00:00 Z
21
21
  dependencies: []
22
22
 
23
23
  description: Gem for generating spayd content