tsundere 0.1.3 → 0.1.4

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -19,5 +19,9 @@ module Tsundere
19
19
  super
20
20
  end
21
21
  end # method_missing
22
+
23
+ def respond_to? meth
24
+ @parent.respond_to? meth
25
+ end # meth
22
26
  end # imouto
23
27
  end # Tsundere
@@ -0,0 +1,19 @@
1
+ require 'spec_helper'
2
+
3
+ class SchoolGirl
4
+ include Tsundere
5
+ attr_tsundere :show_up, :as => { :user => 1 }
6
+
7
+ def show_up
8
+ 1
9
+ end # show_up
10
+ end # StereotypicalLoli
11
+
12
+ describe SchoolGirl do
13
+ before :each do
14
+ @tsukihi = SchoolGirl.new
15
+ end # each
16
+ it "should respond to show_up" do
17
+ @tsukihi.should respond_to :show_up
18
+ end # it
19
+ end # SchoolGirl
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "tsundere"
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Thomas Chen", "Trevor Umeda"]
@@ -41,6 +41,7 @@ Gem::Specification.new do |s|
41
41
  "lib/tsundere/instance_methods.rb",
42
42
  "spec/array_spec.rb",
43
43
  "spec/class_methods_spec.rb",
44
+ "spec/imouto_spec.rb",
44
45
  "spec/instance_methods_spec.rb",
45
46
  "spec/spec_helper.rb",
46
47
  "spec/tsundere_spec.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tsundere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -143,6 +143,7 @@ files:
143
143
  - lib/tsundere/instance_methods.rb
144
144
  - spec/array_spec.rb
145
145
  - spec/class_methods_spec.rb
146
+ - spec/imouto_spec.rb
146
147
  - spec/instance_methods_spec.rb
147
148
  - spec/spec_helper.rb
148
149
  - spec/tsundere_spec.rb
@@ -164,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
164
165
  version: '0'
165
166
  segments:
166
167
  - 0
167
- hash: -1910265586590923580
168
+ hash: 1314369738905571817
168
169
  required_rubygems_version: !ruby/object:Gem::Requirement
169
170
  none: false
170
171
  requirements: