phper 0.8.4 → 0.8.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +3 -3
  2. data/Gemfile.lock +4 -4
  3. data/VERSION +1 -1
  4. data/lib/phper.rb +1 -1
  5. data/phper.gemspec +12 -12
  6. metadata +167 -162
data/Gemfile CHANGED
@@ -3,9 +3,9 @@ source "http://rubygems.org"
3
3
  # Example:
4
4
  # gem "activesupport", ">= 2.3.5"
5
5
  gem "rest-client"
6
- gem 'keystorage', '> 0.1'
7
- gem 'highline', '> 1.6'
8
- gem 'command-line-utils' , '>= 0.0.1'
6
+ gem 'keystorage'
7
+ gem 'highline'
8
+ gem 'command-line-utils'
9
9
  gem 'launchy'
10
10
  gem 'json'
11
11
  gem 'rdoc'
@@ -7,7 +7,7 @@ GEM
7
7
  addressable (2.3.2)
8
8
  command-line-utils (0.0.7)
9
9
  git (1.2.5)
10
- highline (1.6.14)
10
+ highline (1.6.15)
11
11
  i18n (0.6.1)
12
12
  jeweler (1.8.4)
13
13
  bundler (~> 1.0)
@@ -40,11 +40,11 @@ PLATFORMS
40
40
 
41
41
  DEPENDENCIES
42
42
  bundler
43
- command-line-utils (>= 0.0.1)
44
- highline (> 1.6)
43
+ command-line-utils
44
+ highline
45
45
  jeweler
46
46
  json
47
- keystorage (> 0.1)
47
+ keystorage
48
48
  launchy
49
49
  mocha
50
50
  rdoc
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.4
1
+ 0.8.5
@@ -53,7 +53,7 @@ module Phper
53
53
  def encode(str,salt=".")
54
54
  enc = OpenSSL::Cipher::Cipher.new('aes256')
55
55
  enc.encrypt.pkcs5_keyivgen(salt)
56
- ((enc.update(str) + enc.final).unpack("H*")).to_s
56
+ ((enc.update(str) + enc.final).unpack("H*")).first.to_s
57
57
  end
58
58
 
59
59
  def decode(str,salt=".")
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "phper"
8
- s.version = "0.8.4"
8
+ s.version = "0.8.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yoshihiro TAKAHARA"]
12
- s.date = "2012-09-19"
12
+ s.date = "2012-09-21"
13
13
  s.description = "phper"
14
14
  s.email = "y.takahara@gmail.com"
15
15
  s.executables = ["markdown", "phper"]
@@ -40,7 +40,7 @@ Gem::Specification.new do |s|
40
40
  s.homepage = "http://github.com/tumf/phper"
41
41
  s.licenses = ["MIT"]
42
42
  s.require_paths = ["lib"]
43
- s.rubygems_version = "1.8.21"
43
+ s.rubygems_version = "1.8.24"
44
44
  s.summary = "phper"
45
45
 
46
46
  if s.respond_to? :specification_version then
@@ -48,9 +48,9 @@ Gem::Specification.new do |s|
48
48
 
49
49
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
50
  s.add_runtime_dependency(%q<rest-client>, [">= 0"])
51
- s.add_runtime_dependency(%q<keystorage>, ["> 0.1"])
52
- s.add_runtime_dependency(%q<highline>, ["> 1.6"])
53
- s.add_runtime_dependency(%q<command-line-utils>, [">= 0.0.1"])
51
+ s.add_runtime_dependency(%q<keystorage>, [">= 0"])
52
+ s.add_runtime_dependency(%q<highline>, [">= 0"])
53
+ s.add_runtime_dependency(%q<command-line-utils>, [">= 0"])
54
54
  s.add_runtime_dependency(%q<launchy>, [">= 0"])
55
55
  s.add_runtime_dependency(%q<json>, [">= 0"])
56
56
  s.add_runtime_dependency(%q<rdoc>, [">= 0"])
@@ -60,9 +60,9 @@ Gem::Specification.new do |s|
60
60
  s.add_development_dependency(%q<mocha>, [">= 0"])
61
61
  else
62
62
  s.add_dependency(%q<rest-client>, [">= 0"])
63
- s.add_dependency(%q<keystorage>, ["> 0.1"])
64
- s.add_dependency(%q<highline>, ["> 1.6"])
65
- s.add_dependency(%q<command-line-utils>, [">= 0.0.1"])
63
+ s.add_dependency(%q<keystorage>, [">= 0"])
64
+ s.add_dependency(%q<highline>, [">= 0"])
65
+ s.add_dependency(%q<command-line-utils>, [">= 0"])
66
66
  s.add_dependency(%q<launchy>, [">= 0"])
67
67
  s.add_dependency(%q<json>, [">= 0"])
68
68
  s.add_dependency(%q<rdoc>, [">= 0"])
@@ -73,9 +73,9 @@ Gem::Specification.new do |s|
73
73
  end
74
74
  else
75
75
  s.add_dependency(%q<rest-client>, [">= 0"])
76
- s.add_dependency(%q<keystorage>, ["> 0.1"])
77
- s.add_dependency(%q<highline>, ["> 1.6"])
78
- s.add_dependency(%q<command-line-utils>, [">= 0.0.1"])
76
+ s.add_dependency(%q<keystorage>, [">= 0"])
77
+ s.add_dependency(%q<highline>, [">= 0"])
78
+ s.add_dependency(%q<command-line-utils>, [">= 0"])
79
79
  s.add_dependency(%q<launchy>, [">= 0"])
80
80
  s.add_dependency(%q<json>, [">= 0"])
81
81
  s.add_dependency(%q<rdoc>, [">= 0"])
metadata CHANGED
@@ -1,191 +1,202 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: phper
3
- version: !ruby/object:Gem::Version
4
- hash: 55
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.5
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 8
9
- - 4
10
- version: 0.8.4
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Yoshihiro TAKAHARA
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-09-19 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- version_requirements: &id001 !ruby/object:Gem::Requirement
22
- none: false
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- hash: 3
27
- segments:
28
- - 0
29
- version: "0"
12
+ date: 2012-09-21 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
30
15
  name: rest-client
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
31
22
  type: :runtime
32
23
  prerelease: false
33
- requirement: *id001
34
- - !ruby/object:Gem::Dependency
35
- version_requirements: &id002 !ruby/object:Gem::Requirement
36
- none: false
37
- requirements:
38
- - - ">"
39
- - !ruby/object:Gem::Version
40
- hash: 9
41
- segments:
42
- - 0
43
- - 1
44
- version: "0.1"
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
45
31
  name: keystorage
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
46
38
  type: :runtime
47
39
  prerelease: false
48
- requirement: *id002
49
- - !ruby/object:Gem::Dependency
50
- version_requirements: &id003 !ruby/object:Gem::Requirement
51
- none: false
52
- requirements:
53
- - - ">"
54
- - !ruby/object:Gem::Version
55
- hash: 3
56
- segments:
57
- - 1
58
- - 6
59
- version: "1.6"
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
60
47
  name: highline
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
61
54
  type: :runtime
62
55
  prerelease: false
63
- requirement: *id003
64
- - !ruby/object:Gem::Dependency
65
- version_requirements: &id004 !ruby/object:Gem::Requirement
66
- none: false
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- hash: 29
71
- segments:
72
- - 0
73
- - 0
74
- - 1
75
- version: 0.0.1
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
76
63
  name: command-line-utils
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
77
70
  type: :runtime
78
71
  prerelease: false
79
- requirement: *id004
80
- - !ruby/object:Gem::Dependency
81
- version_requirements: &id005 !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- hash: 3
87
- segments:
88
- - 0
89
- version: "0"
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
90
79
  name: launchy
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
91
86
  type: :runtime
92
87
  prerelease: false
93
- requirement: *id005
94
- - !ruby/object:Gem::Dependency
95
- version_requirements: &id006 !ruby/object:Gem::Requirement
96
- none: false
97
- requirements:
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- hash: 3
101
- segments:
102
- - 0
103
- version: "0"
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
104
95
  name: json
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
105
102
  type: :runtime
106
103
  prerelease: false
107
- requirement: *id006
108
- - !ruby/object:Gem::Dependency
109
- version_requirements: &id007 !ruby/object:Gem::Requirement
110
- none: false
111
- requirements:
112
- - - ">="
113
- - !ruby/object:Gem::Version
114
- hash: 3
115
- segments:
116
- - 0
117
- version: "0"
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
118
111
  name: rdoc
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
119
118
  type: :runtime
120
119
  prerelease: false
121
- requirement: *id007
122
- - !ruby/object:Gem::Dependency
123
- version_requirements: &id008 !ruby/object:Gem::Requirement
124
- none: false
125
- requirements:
126
- - - ">="
127
- - !ruby/object:Gem::Version
128
- hash: 3
129
- segments:
130
- - 0
131
- version: "0"
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
132
127
  name: shoulda
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
133
134
  type: :development
134
135
  prerelease: false
135
- requirement: *id008
136
- - !ruby/object:Gem::Dependency
137
- version_requirements: &id009 !ruby/object:Gem::Requirement
138
- none: false
139
- requirements:
140
- - - ">="
141
- - !ruby/object:Gem::Version
142
- hash: 3
143
- segments:
144
- - 0
145
- version: "0"
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
146
143
  name: bundler
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
147
150
  type: :development
148
151
  prerelease: false
149
- requirement: *id009
150
- - !ruby/object:Gem::Dependency
151
- version_requirements: &id010 !ruby/object:Gem::Requirement
152
- none: false
153
- requirements:
154
- - - ">="
155
- - !ruby/object:Gem::Version
156
- hash: 3
157
- segments:
158
- - 0
159
- version: "0"
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ - !ruby/object:Gem::Dependency
160
159
  name: jeweler
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
161
166
  type: :development
162
167
  prerelease: false
163
- requirement: *id010
164
- - !ruby/object:Gem::Dependency
165
- version_requirements: &id011 !ruby/object:Gem::Requirement
166
- none: false
167
- requirements:
168
- - - ">="
169
- - !ruby/object:Gem::Version
170
- hash: 3
171
- segments:
172
- - 0
173
- version: "0"
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ - !ruby/object:Gem::Dependency
174
175
  name: mocha
176
+ requirement: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
175
182
  type: :development
176
183
  prerelease: false
177
- requirement: *id011
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
178
190
  description: phper
179
191
  email: y.takahara@gmail.com
180
- executables:
192
+ executables:
181
193
  - markdown
182
194
  - phper
183
195
  extensions: []
184
-
185
- extra_rdoc_files:
196
+ extra_rdoc_files:
186
197
  - LICENSE.txt
187
198
  - README.md
188
- files:
199
+ files:
189
200
  - .document
190
201
  - .travis.yml
191
202
  - Gemfile
@@ -205,37 +216,31 @@ files:
205
216
  - test/helper.rb
206
217
  - test/test_phper.rb
207
218
  homepage: http://github.com/tumf/phper
208
- licenses:
219
+ licenses:
209
220
  - MIT
210
221
  post_install_message:
211
222
  rdoc_options: []
212
-
213
- require_paths:
223
+ require_paths:
214
224
  - lib
215
- required_ruby_version: !ruby/object:Gem::Requirement
225
+ required_ruby_version: !ruby/object:Gem::Requirement
216
226
  none: false
217
- requirements:
218
- - - ">="
219
- - !ruby/object:Gem::Version
220
- hash: 3
221
- segments:
227
+ requirements:
228
+ - - ! '>='
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ segments:
222
232
  - 0
223
- version: "0"
224
- required_rubygems_version: !ruby/object:Gem::Requirement
233
+ hash: 1381142744319848530
234
+ required_rubygems_version: !ruby/object:Gem::Requirement
225
235
  none: false
226
- requirements:
227
- - - ">="
228
- - !ruby/object:Gem::Version
229
- hash: 3
230
- segments:
231
- - 0
232
- version: "0"
236
+ requirements:
237
+ - - ! '>='
238
+ - !ruby/object:Gem::Version
239
+ version: '0'
233
240
  requirements: []
234
-
235
241
  rubyforge_project:
236
- rubygems_version: 1.8.21
242
+ rubygems_version: 1.8.24
237
243
  signing_key:
238
244
  specification_version: 3
239
245
  summary: phper
240
246
  test_files: []
241
-