liqpay 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ ## 0.1.2
2
+
3
+ * Fixed initializer syntax
data/README.md CHANGED
@@ -14,7 +14,7 @@ The recommended way is setting the `Liqpay.default_options` hash somewhere in
14
14
  your initializers.
15
15
 
16
16
  You MUST supply the `merchant_id` and `merchant_signature` options, that are
17
- provided by LiqPAY when you sign up.
17
+ provided by LiqPAY when you sign up, on the [merchant details page](https://liqpay.com/?do=shop_access).
18
18
 
19
19
  ## Processing payments through Liq&Buy
20
20
 
@@ -2,6 +2,8 @@ require 'liqpay/liqpay_helper'
2
2
 
3
3
  module Liqpay
4
4
  class Railtie < Rails::Railtie
5
- ActionView::Base.send :include, Liqpay::LiqpayHelper
5
+ initializer 'liqpay.view_helpers' do |app|
6
+ ActionView::Base.send :include, Liqpay::LiqpayHelper
7
+ end
6
8
  end
7
9
  end
@@ -9,7 +9,7 @@ module Liqpay
9
9
  attr_reader :encoded_xml, :signature, :xml
10
10
 
11
11
  ATTRIBUTES = %w(merchant_id order_id amount currency description status code transaction_id pay_way sender_phone goods_id pays_count)
12
- %w(merchant_id order_id amount currency description status code transaction_id pay_way sender_phone goods_id pays_count).each do |attr|
12
+ %w(merchant_id order_id description goods_id pays_count).each do |attr|
13
13
  attr_reader attr
14
14
  end
15
15
 
@@ -1,3 +1,3 @@
1
1
  module Liqpay
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liqpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-27 00:00:00.000000000 Z
12
+ date: 2012-02-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
- requirement: &70242412091200 !ruby/object:Gem::Requirement
16
+ requirement: &70239324845220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70242412091200
24
+ version_requirements: *70239324845220
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70242412089580 !ruby/object:Gem::Requirement
27
+ requirement: &70239324844620 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70242412089580
35
+ version_requirements: *70239324844620
36
36
  description: LiqPAY billing API implementation in Ruby
37
37
  email:
38
38
  - leonid@shevtsov.me
@@ -41,6 +41,7 @@ extensions: []
41
41
  extra_rdoc_files: []
42
42
  files:
43
43
  - .gitignore
44
+ - CHANGELOG.md
44
45
  - Gemfile
45
46
  - README.md
46
47
  - Rakefile
@@ -66,7 +67,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
67
  version: '0'
67
68
  segments:
68
69
  - 0
69
- hash: -4052472609860904412
70
+ hash: 3679480104141870157
70
71
  required_rubygems_version: !ruby/object:Gem::Requirement
71
72
  none: false
72
73
  requirements:
@@ -75,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
76
  version: '0'
76
77
  segments:
77
78
  - 0
78
- hash: -4052472609860904412
79
+ hash: 3679480104141870157
79
80
  requirements: []
80
81
  rubyforge_project:
81
82
  rubygems_version: 1.8.11