pxpay 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/pxpay/init.rb +5 -1
  3. data/pxpay.gemspec +1 -1
  4. metadata +47 -35
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -1 +1,5 @@
1
- PXPAY_CONFIG = YAML.load_file("#{Rails.root}/config/pxpay.yml")[Rails.env]
1
+ if File.exists?("#{Rails.root}/config/pxpay.yml")
2
+ PXPAY_CONFIG = YAML.load_file("#{Rails.root}/config/pxpay.yml")[Rails.env]
3
+ else
4
+ print "Please run rails generate pxpay:install to generate a pxpay config file"
5
+ end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pxpay}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bradley Priest"]
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pxpay
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 29
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
- - 2
9
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
10
11
  platform: ruby
11
12
  authors:
12
13
  - Bradley Priest
@@ -18,139 +19,149 @@ date: 2011-03-13 00:00:00 +13:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
22
+ type: :development
23
+ prerelease: false
21
24
  name: shoulda
22
- requirement: &id001 !ruby/object:Gem::Requirement
25
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
26
  none: false
24
27
  requirements:
25
28
  - - ">="
26
29
  - !ruby/object:Gem::Version
30
+ hash: 3
27
31
  segments:
28
32
  - 0
29
33
  version: "0"
34
+ requirement: *id001
35
+ - !ruby/object:Gem::Dependency
30
36
  type: :development
31
37
  prerelease: false
32
- version_requirements: *id001
33
- - !ruby/object:Gem::Dependency
34
38
  name: bundler
35
- requirement: &id002 !ruby/object:Gem::Requirement
39
+ version_requirements: &id002 !ruby/object:Gem::Requirement
36
40
  none: false
37
41
  requirements:
38
42
  - - ~>
39
43
  - !ruby/object:Gem::Version
44
+ hash: 23
40
45
  segments:
41
46
  - 1
42
47
  - 0
43
48
  - 0
44
49
  version: 1.0.0
50
+ requirement: *id002
51
+ - !ruby/object:Gem::Dependency
45
52
  type: :development
46
53
  prerelease: false
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
54
  name: jeweler
50
- requirement: &id003 !ruby/object:Gem::Requirement
55
+ version_requirements: &id003 !ruby/object:Gem::Requirement
51
56
  none: false
52
57
  requirements:
53
58
  - - ~>
54
59
  - !ruby/object:Gem::Version
60
+ hash: 7
55
61
  segments:
56
62
  - 1
57
63
  - 5
58
64
  - 2
59
65
  version: 1.5.2
66
+ requirement: *id003
67
+ - !ruby/object:Gem::Dependency
60
68
  type: :development
61
69
  prerelease: false
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
64
70
  name: rcov
65
- requirement: &id004 !ruby/object:Gem::Requirement
71
+ version_requirements: &id004 !ruby/object:Gem::Requirement
66
72
  none: false
67
73
  requirements:
68
74
  - - ">="
69
75
  - !ruby/object:Gem::Version
76
+ hash: 3
70
77
  segments:
71
78
  - 0
72
79
  version: "0"
80
+ requirement: *id004
81
+ - !ruby/object:Gem::Dependency
73
82
  type: :development
74
83
  prerelease: false
75
- version_requirements: *id004
76
- - !ruby/object:Gem::Dependency
77
84
  name: builder
78
- requirement: &id005 !ruby/object:Gem::Requirement
85
+ version_requirements: &id005 !ruby/object:Gem::Requirement
79
86
  none: false
80
87
  requirements:
81
88
  - - ">="
82
89
  - !ruby/object:Gem::Version
90
+ hash: 3
83
91
  segments:
84
92
  - 0
85
93
  version: "0"
94
+ requirement: *id005
95
+ - !ruby/object:Gem::Dependency
86
96
  type: :development
87
97
  prerelease: false
88
- version_requirements: *id005
89
- - !ruby/object:Gem::Dependency
90
98
  name: nokogiri
91
- requirement: &id006 !ruby/object:Gem::Requirement
99
+ version_requirements: &id006 !ruby/object:Gem::Requirement
92
100
  none: false
93
101
  requirements:
94
102
  - - ">="
95
103
  - !ruby/object:Gem::Version
104
+ hash: 3
96
105
  segments:
97
106
  - 0
98
107
  version: "0"
108
+ requirement: *id006
109
+ - !ruby/object:Gem::Dependency
99
110
  type: :development
100
111
  prerelease: false
101
- version_requirements: *id006
102
- - !ruby/object:Gem::Dependency
103
112
  name: rest-client
104
- requirement: &id007 !ruby/object:Gem::Requirement
113
+ version_requirements: &id007 !ruby/object:Gem::Requirement
105
114
  none: false
106
115
  requirements:
107
116
  - - ">="
108
117
  - !ruby/object:Gem::Version
118
+ hash: 3
109
119
  segments:
110
120
  - 0
111
121
  version: "0"
112
- type: :development
113
- prerelease: false
114
- version_requirements: *id007
122
+ requirement: *id007
115
123
  - !ruby/object:Gem::Dependency
124
+ type: :runtime
125
+ prerelease: false
116
126
  name: nokogiri
117
- requirement: &id008 !ruby/object:Gem::Requirement
127
+ version_requirements: &id008 !ruby/object:Gem::Requirement
118
128
  none: false
119
129
  requirements:
120
130
  - - ">="
121
131
  - !ruby/object:Gem::Version
132
+ hash: 3
122
133
  segments:
123
134
  - 0
124
135
  version: "0"
136
+ requirement: *id008
137
+ - !ruby/object:Gem::Dependency
125
138
  type: :runtime
126
139
  prerelease: false
127
- version_requirements: *id008
128
- - !ruby/object:Gem::Dependency
129
140
  name: rest-client
130
- requirement: &id009 !ruby/object:Gem::Requirement
141
+ version_requirements: &id009 !ruby/object:Gem::Requirement
131
142
  none: false
132
143
  requirements:
133
144
  - - ">="
134
145
  - !ruby/object:Gem::Version
146
+ hash: 3
135
147
  segments:
136
148
  - 0
137
149
  version: "0"
150
+ requirement: *id009
151
+ - !ruby/object:Gem::Dependency
138
152
  type: :runtime
139
153
  prerelease: false
140
- version_requirements: *id009
141
- - !ruby/object:Gem::Dependency
142
154
  name: builder
143
- requirement: &id010 !ruby/object:Gem::Requirement
155
+ version_requirements: &id010 !ruby/object:Gem::Requirement
144
156
  none: false
145
157
  requirements:
146
158
  - - ">="
147
159
  - !ruby/object:Gem::Version
160
+ hash: 3
148
161
  segments:
149
162
  - 0
150
163
  version: "0"
151
- type: :runtime
152
- prerelease: false
153
- version_requirements: *id010
164
+ requirement: *id010
154
165
  description: A Ruby wrapper around the DPS-hosted PxPay service
155
166
  email: bradleypriest@gmail.com
156
167
  executables: []
@@ -196,7 +207,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
196
207
  requirements:
197
208
  - - ">="
198
209
  - !ruby/object:Gem::Version
199
- hash: 1867572891445724982
210
+ hash: 3
200
211
  segments:
201
212
  - 0
202
213
  version: "0"
@@ -205,6 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
216
  requirements:
206
217
  - - ">="
207
218
  - !ruby/object:Gem::Version
219
+ hash: 3
208
220
  segments:
209
221
  - 0
210
222
  version: "0"