bijection 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/README.md +10 -0
  2. data/bijection.gemspec +3 -1
  3. data/lib/bijection.rb +1 -1
  4. metadata +10 -6
@@ -0,0 +1,10 @@
1
+ License
2
+ =======
3
+
4
+ Bijection is released under the [BSD license](http://opensource.org/licenses/BSD-3-Clause).
5
+
6
+
7
+ Documentation
8
+ =============
9
+
10
+ Run 'yard' in the root directory after cloning the project.
@@ -5,11 +5,12 @@ require "bijection"
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "bijection"
7
7
  s.version = Bijection::VERSION
8
+ s.license = 'BSD'
8
9
  s.authors = ["Ryan Berckmans"]
9
10
  s.email = ["ryan.berckmans@gmail.com"]
10
11
  s.homepage = "https://github.com/ryanberckmans/bijection"
11
12
  s.summary = "bijection container in ruby"
12
- s.description = s.summary + ". See example in Class Bijection."
13
+ s.description = s.summary + ". See example in class Bijection."
13
14
 
14
15
  s.rubyforge_project = "bijection"
15
16
 
@@ -17,4 +18,5 @@ Gem::Specification.new do |s|
17
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
20
  s.require_paths = ["lib"]
21
+ s.required_ruby_version = '>= 1.9.2'
20
22
  end
@@ -30,7 +30,7 @@
30
30
  # is_nil = b.get_x "returns nil if not found" # is_nil == nil
31
31
  # b.inverse! # X and Y are now swapped; all as above with x and y swapped
32
32
  class Bijection
33
- VERSION = "0.1.0"
33
+ VERSION = "0.1.1"
34
34
 
35
35
  def initialize
36
36
  @X = {} # @X[x] -> y
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bijection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,9 +9,10 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-06-21 00:00:00.000000000Z
12
+ date: 2012-12-04 00:00:00.000000000 -05:00
13
+ default_executable:
13
14
  dependencies: []
14
- description: bijection container in ruby. See example in Class Bijection.
15
+ description: bijection container in ruby. See example in class Bijection.
15
16
  email:
16
17
  - ryan.berckmans@gmail.com
17
18
  executables: []
@@ -23,13 +24,16 @@ files:
23
24
  - .rvmrc
24
25
  - .yardopts
25
26
  - Gemfile
27
+ - README.md
26
28
  - Rakefile
27
29
  - bijection.gemspec
28
30
  - lib/bijection.rb
29
31
  - spec/lib/bijection_spec.rb
30
32
  - spec/spec_helper.rb
33
+ has_rdoc: true
31
34
  homepage: https://github.com/ryanberckmans/bijection
32
- licenses: []
35
+ licenses:
36
+ - BSD
33
37
  post_install_message:
34
38
  rdoc_options: []
35
39
  require_paths:
@@ -39,7 +43,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
39
43
  requirements:
40
44
  - - ! '>='
41
45
  - !ruby/object:Gem::Version
42
- version: '0'
46
+ version: 1.9.2
43
47
  required_rubygems_version: !ruby/object:Gem::Requirement
44
48
  none: false
45
49
  requirements:
@@ -48,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
52
  version: '0'
49
53
  requirements: []
50
54
  rubyforge_project: bijection
51
- rubygems_version: 1.8.5
55
+ rubygems_version: 1.6.2
52
56
  signing_key:
53
57
  specification_version: 3
54
58
  summary: bijection container in ruby