Skip to content

Commit 4e53ed8

Browse files
committed
Merge pull request #1 from zzak/master
Sync with fork
2 parents d0f098b + ff8ecf9 commit 4e53ed8

File tree

5 files changed

+29
-12
lines changed

5 files changed

+29
-12
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
script: "bundle exec rake test"
2+
3+
rvm:
4+
- ruby-head
5+
6+
matrix:
7+
allow_failures:
8+
- rvm: ruby-head
9+
fast_finish: true

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Openssl
22

3-
TODO: Write a gem description
3+
* [![Build Status](https://travis-ci.org/zzak/openssl.svg?branch=master)](https://travis-ci.org/zzak/openssl)
4+
5+
OpenSSL provides SSL, TLS and general purpose cryptography. It wraps the OpenSSL library.
46

57
## Installation
68

@@ -24,8 +26,17 @@ TODO: Write usage instructions here
2426

2527
## Contributing
2628

27-
1. Fork it ( https://github.com/[my-github-username]/openssl/fork )
29+
1. Fork it ( https://github.com/zzak/openssl/fork )
2830
2. Create your feature branch (`git checkout -b my-new-feature`)
2931
3. Commit your changes (`git commit -am 'Add some feature'`)
3032
4. Push to the branch (`git push origin my-new-feature`)
3133
5. Create a new Pull Request
34+
35+
## Updating from source
36+
37+
```
38+
~/code/openssl => cp -R ~/src/ruby/ext/openssl/*.{c,h} ext/openssl/.
39+
~/code/openssl => cp -R ~/src/ruby/ext/openssl/deprecation.rb ext/openssl/deprecation.rb
40+
~/code/openssl => cp -R ~/src/ruby/ext/openssl/extconf.rb ext/openssl/extconf.rb
41+
~/code/openssl => cp -R ~/src/ruby/ext/openssl/lib/* lib/.
42+
```

lib/openssl/version.rb

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/openssl/x509.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ module RFC2253DN
7070
HexPair = /#{HexChar}#{HexChar}/
7171
HexString = /#{HexPair}+/
7272
Pair = /\\(?:[#{Special}]|\\|"|#{HexPair})/
73-
StringChar = /[^#{Special}\\"]/
73+
StringChar = /[^\\"#{Special}]/
7474
QuoteChar = /[^\\"]/
7575
AttributeType = /[a-zA-Z][0-9a-zA-Z]*|[0-9]+(?:\.[0-9]+)*/
7676
AttributeValue = /

openssl.gemspec

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# coding: utf-8
22
lib = File.expand_path('../lib', __FILE__)
33
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4-
require 'openssl/version'
4+
require 'openssl'
55

66
Gem::Specification.new do |spec|
77
spec.name = "openssl"
88
spec.version = OpenSSL::VERSION
9-
spec.authors = ["SHIBATA Hiroshi"]
10-
spec.email = ["hsbt@ruby-lang.org"]
11-
spec.summary = %q{Write a short summary. Required.}
12-
spec.description = %q{Write a longer description. Optional.}
13-
spec.homepage = ""
9+
spec.authors = ["Martin Bosslet", "SHIBATA Hiroshi", "Zachary Scott"]
10+
spec.email = ["ruby-core@ruby-lang.org"]
11+
spec.summary = %q{OpenSSL provides SSL, TLS and general purpose cryptography.}
12+
spec.description = %q{It wraps the OpenSSL library.}
13+
spec.homepage = "http://www.ruby-lang.org/"
1414

1515
spec.files = `git ls-files -z`.split("\x0")
1616
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }

0 commit comments

Comments
 (0)