swifty 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/swifty.rb +6 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43bc77f9337e54cefe90c2481b3ca1aeb696abdd
4
- data.tar.gz: 92ca9a8f2ff8d4f4f9eaffc8d7fe31cdad9e34f5
3
+ metadata.gz: a6e4e0e1c074cbfb41732d08f8b618024de0cb88
4
+ data.tar.gz: 6f7f38ca58971ad2267425fbd59533ab38dadeb2
5
5
  SHA512:
6
- metadata.gz: 8859172926148c7e074b54f4af830367b5a12b6893286516c8a48a8c95fff67c517552ea825c0400b57467c73c32d2670f108f3dff1f8a1c799ace39cdc51add
7
- data.tar.gz: 74b51f5ef2c28356bc8900bf59312a3eb8a6cc18e994b9378feea96032ecb55eb6b4682cafc7dacda5c2d9878e06728601804587e05c7fe62a68569d6bafa552
6
+ metadata.gz: 26317b0e88585b4d093f2f80cb3dda1af0878791cd40211437f775a6dabf0dd40318b0252a7ec33f9e205c47267c2b4e5e4731e699c67b86f2d00cf4682d6b92
7
+ data.tar.gz: dbd2a5d750f58478bac6ef09c35248505d0553cc203989e238bc8647879bef45b45eac897c7f676102590e7376784bdbe24c4c859d70c9c3df879de4358eabe0
data/lib/swifty.rb CHANGED
@@ -57,7 +57,10 @@ class Swifty
57
57
  end
58
58
  alias_method :to_yml, :to_yaml
59
59
 
60
- def transactions
61
- statement.transactions
62
- end
60
+ private
61
+
62
+ def method_missing(name, *args)
63
+ return statement.send(name, *args) if statement.respond_to?(name)
64
+ super name, *args
65
+ end
63
66
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swifty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Kampp