limesurvey_rails 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/limesurvey_rails/limesurvey_rails.rb +1 -1
- data/lib/limesurvey_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14c99341c8f4c868c734bd7043ad3897d7fd7bfc
|
4
|
+
data.tar.gz: 2559f6e70b729d2326cd825d2a6b7eb3b99ecb49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22040e09763a05d23ae34fabd433f6d9d0c8adafb4242d32f5f4179f0a3b1f4f3d48937895440422c56e98949bdfa0e10c1331e87d757747c2c41fbc0ff87c77
|
7
|
+
data.tar.gz: 8461ed0bae5619ca2d5dbb382349126beb295f2805fefca9ebd874f1d02eb8a65b572bb3edb9d886cda70c1a853fd610b31ce00c80d2e1b7dc14ef580a3ec91b
|
@@ -51,7 +51,7 @@ module LimesurveyRails
|
|
51
51
|
|
52
52
|
def self.method_missing(method_name, *arguments, &block)
|
53
53
|
if API_METHODS.include? method_name.to_s
|
54
|
-
if connected?
|
54
|
+
if api # was: if connected? which is more costly
|
55
55
|
# t0=Time.now
|
56
56
|
result = api.send(method_name, *arguments.unshift(session_key))
|
57
57
|
# puts "#{method_name} in #{Time.now-t0}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: limesurvey_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- masciugo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|