xmppify 0.0.56 → 0.0.57

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8712b9346c0fa8e31b2995ce85905436b844cad
4
- data.tar.gz: 64c5c42918fe670f63c96a4231fa6b5a8f2c440e
3
+ metadata.gz: 4bb6a2ab5ac3fd88293b4be777936b9e20c8dcec
4
+ data.tar.gz: ae0d8392585efd217eff1b12a6dfb92e37176041
5
5
  SHA512:
6
- metadata.gz: 39ca0829a32d29c8257f33137f329877466bf1efc81d910076edda7e9c98c2a363bf03f305ebb23dc8734fbec2b5f0be6c5a9b1b8b6389136689ff46f6fce8f6
7
- data.tar.gz: f907b460fde4a2b9f9c15d0c8b1ab24151369c7c3974c47a48e89d2859c952c743f328a216f26edbd763a3927a1da30c5635b028b4d601e6ca08a97ac6b569ec
6
+ metadata.gz: a29b3d83643a720b5c384f2a92fd283fde3bd3adeb8656cdb7ab6a2cd6d3ce63383244d18a5137275fb55e4efaedc6089d56e5a116983e353a25fd5ceb3b1b3e
7
+ data.tar.gz: e7e5facf94840731e699d757dc5b1c8528d7d25c3094d12e47eb235d5010893334bf463e9891fbdc3722d2b5013359666f5cd5b6fcbeb410de811715af74c7cc
@@ -0,0 +1,28 @@
1
+ module Xmppify
2
+ module ApplicationHelper
3
+ def method_missing method, *args, &block
4
+ puts "LOOKING FOR ROUTES #{method}"
5
+ if method.to_s.end_with?('_path') or method.to_s.end_with?('_url')
6
+ if main_app.respond_to?(method)
7
+ main_app.send(method, *args)
8
+ else
9
+ super
10
+ end
11
+ else
12
+ super
13
+ end
14
+ end
15
+
16
+ def respond_to?(method)
17
+ if method.to_s.end_with?('_path') or method.to_s.end_with?('_url')
18
+ if main_app.respond_to?(method)
19
+ true
20
+ else
21
+ super
22
+ end
23
+ else
24
+ super
25
+ end
26
+ end
27
+ end
28
+ end
@@ -1,3 +1,3 @@
1
1
  module Xmppify
2
- VERSION = "0.0.56"
2
+ VERSION = "0.0.57"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xmppify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.56
4
+ version: 0.0.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie
@@ -493,6 +493,7 @@ files:
493
493
  - bin/restclient
494
494
  - bin/thor
495
495
  - config/initializers/devise.rb
496
+ - config/initializers/xmppify.rb
496
497
  - config/locales/devise.en.yml
497
498
  - config/routes.rb
498
499
  - db/migrate/20140329065635_create_users.rb