irxrb 0.0.7 → 0.1.0

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzZlYTIzZjhjNmRhYTIwZGJmZDM0N2I4YzU0N2Y2YmVkOTY5OGU5Mw==
4
+ MmUxYWI0M2Y2NTQ4MzU0MDUzMDlhNWZlYTg2NWZkMjg5ODkzMjA5ZA==
5
5
  data.tar.gz: !binary |-
6
- MzJlOWIzNTRmY2E0M2E2MzJiZjVjOWZiODI3M2JkNGY1ZWNhMmRhOA==
6
+ YWMzMWRmNTBmN2JjYzFkODllMDRlY2Y5NTZhOWY0NDU1M2RkYzliZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTNkMWZjYWQ2MTcwYTZlNDI2ZTlmZWQzMjZhNWU1N2E5NjI5MWU0YTkzNWY4
10
- OTU5MmZkMTdiYTAyZmRiNzQwOTA5YjY5ZmJkM2E3MjNjNGM2OGNhODkzNmRj
11
- ZjYzOTY4MGE3ZGFmZWZiNDllZjI2N2RmYTU4Njk3NDUwMzJlYTI=
9
+ MTYxYjQ3NDc2OTE5N2JiZGU4ZDMzZTdiZWU5NTU1ZDE5NTMyNWU0NzZkZDk1
10
+ ZGVlMTNjN2I4ZDAwZjY4YTRiYzg5YWM0NThmMWM5MmUzMTMyYzAxOGY2MGEy
11
+ NjUxNzExZmU5MTY2M2E5MDhjNWZkZDAyNDU5NzdkYjBkMTE5M2Y=
12
12
  data.tar.gz: !binary |-
13
- NjQzZWQ1YTM1M2ZkYTdkNTkxMmFlYWVjOTM3MzIyMjJiMjM3MTAzYmI5NjY4
14
- YmJhODNjNjI0MmYxZjY3M2MwMWQ2YTY1Njk5YWRjMWMyZGI4NGZjMmJkMGM0
15
- YjFmZjJiMjQ3YjY1NDMyMTk0Nzk3Zjk5OGU1NTk0MWMyYTQxYzc=
13
+ NTRiNDlkNjBlMTIzZTlmYzFlNjliZGQyYmM0YTU2N2I4NjRlMzI5MTlkZGQ5
14
+ NWFjMDViYjIzMzQ5YTJkMTk3YjJkN2JjZTIxNWYwNWRmODVkNzEwZGI4N2Y3
15
+ OWJjODI0ZDAzNzUyNzViOWFjMzZmNzA3MTAyNTBiODRiYzY1ZTY=
@@ -7,7 +7,7 @@ Gem::Specification.new do |gem|
7
7
  gem.description = %q{Ruby extension}
8
8
  gem.summary = %q{Ruby extension}
9
9
  gem.homepage = "https://github.com/irxground/irxrb"
10
-
10
+ gem.license = 'MIT'
11
11
  gem.files = `git ls-files`.split($\)
12
12
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
@@ -1,3 +1,3 @@
1
1
  module Irxrb
2
- VERSION = "0.0.7"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -17,8 +17,9 @@ describe Irxrb::GenericType do
17
17
 
18
18
  describe 'instance' do
19
19
  subject { Factory[String].new }
20
- it { should be_an_instance_of(Factory[String]) }
21
- it { should be_kind_of(Factory) }
20
+
21
+ it { should be_kind_of(Factory) }
22
+ it { should be_an_instance_of(Factory[String]) }
22
23
  it { should_not be_an_instance_of(Factory[Object]) }
23
24
 
24
25
  specify { subject.T == String }
@@ -30,17 +31,15 @@ describe Irxrb::GenericType do
30
31
  module Map
31
32
  type_parameter :Key, :Value
32
33
  end
33
-
34
34
  class ConcreteMap
35
35
  include Map[Integer, String]
36
36
  end
37
37
 
38
- subject { ConcreteMap }
39
- specify { subject::Key.should == Integer }
40
- specify { subject::Value.should == String }
41
- specify { subject.new.should be_kind_of(Map) }
42
- specify { subject.new.should be_kind_of(Map[Integer, String]) }
43
- specify { subject.new.should_not be_kind_of(Map[String, String]) }
38
+ specify { ConcreteMap::Key.should == Integer }
39
+ specify { ConcreteMap::Value.should == String }
40
+ specify { ConcreteMap.new.should be_kind_of(Map) }
41
+ specify { ConcreteMap.new.should be_kind_of(Map[Integer, String]) }
42
+ specify { ConcreteMap.new.should_not be_kind_of(Map[String, String]) }
44
43
  end
45
44
  end
46
45
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irxrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - irxground
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-17 00:00:00.000000000 Z
11
+ date: 2013-11-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby extension
14
14
  email:
@@ -51,7 +51,8 @@ files:
51
51
  - spec/range_to_regex_spec.rb
52
52
  - spec/spec_helper.rb
53
53
  homepage: https://github.com/irxground/irxrb
54
- licenses: []
54
+ licenses:
55
+ - MIT
55
56
  metadata: {}
56
57
  post_install_message:
57
58
  rdoc_options: []