cowtech-rails 1.9.7.3 → 1.9.7.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,8 +30,17 @@ module Cowtech
30
30
  end
31
31
 
32
32
  def generic(*args)
33
- self.setup(args.delete(:method) || :stmp, args.delete(:configuration))
34
-
33
+ # Load configuration
34
+ if !@configuration then
35
+ conf = args.delete(:configuration)
36
+
37
+ if conf then
38
+ @configuration = conf
39
+ else
40
+ self.setup(args.delete(:method) || :stmp, args.delete(:configuration_file))
41
+ end
42
+ end
43
+
35
44
  # OTTENIAMO GLI ARGOMENTI
36
45
  args = (if args.is_a?(Hash) then args else args[0] end).delete_if { |k,v| v.blank? }
37
46
 
@@ -10,7 +10,7 @@ module Cowtech
10
10
  MAJOR = 1
11
11
  MINOR = 9
12
12
  PATCH = 7
13
- BUILD = 3
13
+ BUILD = 4
14
14
 
15
15
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cowtech-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.7.3
4
+ version: 1.9.7.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-08-16 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cowtech-extensions
16
- requirement: &70355826771680 !ruby/object:Gem::Requirement
16
+ requirement: &70157163374120 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70355826771680
24
+ version_requirements: *70157163374120
25
25
  description: A general purpose Rails utility plugin.
26
26
  email: shogun_panda@me.com
27
27
  executables: []