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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 040a8a1d11eb8bd08d37ea35775496c6c7535775
4
- data.tar.gz: 567407cdfd672876fe9262739a5790d11289f2a8
3
+ metadata.gz: 14c99341c8f4c868c734bd7043ad3897d7fd7bfc
4
+ data.tar.gz: 2559f6e70b729d2326cd825d2a6b7eb3b99ecb49
5
5
  SHA512:
6
- metadata.gz: 5cf4a5effb4d7bc04240eeab51a63e8ea5034bdfc70db81aced37d136fab298332c578e2e302f5c6165f402f7c28e1d67943b7f6efefef17d0211a860246d31a
7
- data.tar.gz: 12afd08be8c0ffc49a12b83952a32f09cc722866d4d28d15d1d7c560695e0cbaa15fee908742616d2c28d0c6871e7925915113980272f4d29a66679ea9867cc2
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}"
@@ -1,3 +1,3 @@
1
1
  module LimesurveyRails
2
- VERSION = "1.3.0"
2
+ VERSION = "1.4.0"
3
3
  end
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.3.0
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-20 00:00:00.000000000 Z
11
+ date: 2015-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails