scottie 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02d3726631d445d8f5256cfc23f569edb8cac1e8
4
- data.tar.gz: 1ecd30b871e5bebcce3d9507d0b5ad505dbe205e
3
+ metadata.gz: 1535e6dad7165d724375a2300d58ca6254c1a8ed
4
+ data.tar.gz: 265f685a2155c5da5f98247269e44e7a9866551c
5
5
  SHA512:
6
- metadata.gz: 53664b5bbb4f2fcdac881f8cab95b1e6772c440fe74a75a4615121afcf7cfb36ae3b3553f67a98ad5721f4b37bfa1d70ddd44da3bedbeb08a3aff9e1b9e378dd
7
- data.tar.gz: 967c073386b720ba2d1d6425664cbc7d85590929e648de4df4272ce9fef61205d57fa96162ed988e9bbf06ebb6030998e9ee7d0c94101cbe22e1dd1b5dd3a0d5
6
+ metadata.gz: 857238b5213dddbb4e9c09d56af914b7bb5f60b6dc6b1569e291450e7b79d2219c9cf2306c5c87524bc947aa6d4f9d62efc587220a503f16e248c159b983d68e
7
+ data.tar.gz: 52b823946202c2b73de4e8f7d8ed9e0b35573f4a615588861e3c2b6ae8c4c9fce4a0ae4246c84dc22ebe2c472baabbf675ea5f306bc5dc503a732dcbaa7320a2
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Scottie
2
2
 
3
- 型制約付きのaccessorを作成するgemです。
3
+ Adds accessors (using type_constraints) to Module class.
4
4
 
5
- type_constraintsを使用します。
5
+ [![Build Status](https://travis-ci.org/hisaichi5518/scottie.svg)](https://travis-ci.org/hisaichi5518/scottie)
6
6
 
7
7
  ## Synopsis
8
8
 
@@ -1,3 +1,3 @@
1
1
  module Scottie
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/scottie.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "type_constraints", "~> 0.1.4"
21
+ spec.add_runtime_dependency "type_constraints", "~> 0.1.5"
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.7"
24
24
  spec.add_development_dependency "rake", "~> 10.0"
data/spec/scottie_spec.rb CHANGED
@@ -13,10 +13,10 @@ describe Scottie do
13
13
  t = ScottieTest.new
14
14
  t.test = "test"
15
15
  expect(t.test).to eq "test"
16
- expect { t.test = 1000 }.to raise_error TypeConstraints::Exceptions::Invalid
16
+ expect { t.test = 1000 }.to raise_error TypeConstraints::InvalidError
17
17
 
18
18
  t.hoge = 100
19
19
  expect(t.hoge).to eq 100
20
- expect { t.hoge = "hoge" }.to raise_error TypeConstraints::Exceptions::Invalid
20
+ expect { t.hoge = "hoge" }.to raise_error TypeConstraints::InvalidError
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scottie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - hisaichi5518
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-09 00:00:00.000000000 Z
11
+ date: 2015-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: type_constraints
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.4
19
+ version: 0.1.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.1.4
26
+ version: 0.1.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  requirements: []
108
108
  rubyforge_project:
109
- rubygems_version: 2.2.2
109
+ rubygems_version: 2.2.0
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Adds accessors (using type_constraints) to your class.