nube 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,13 @@
1
+ def define_relation_class klass
2
+ eval("class #{klass.to_s}Relation;end")
3
+ end
4
+
1
5
  module RemoteRelation
2
6
 
3
7
  extend ActiveSupport::Concern
4
8
 
5
9
  included do
6
- eval("class #{self.to_s}Relation;end")
10
+ define_relation_class self
7
11
  eval("#{self.to_s}Relation").class_eval do
8
12
  attr_accessor :xmodel, :params
9
13
 
@@ -1,3 +1,3 @@
1
1
  module Nube
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
@@ -13,6 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.description = %q{Working with remote objects as activerecord}
14
14
  spec.homepage = "https://github.com/gedera/nube.git"
15
15
  spec.license = "MIT"
16
+ spec.required_ruby_version = '>= 1.8.6'
16
17
 
17
18
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
19
  # delete this section to allow pushing this gem to any host.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nube
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - g.edera
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: exe
17
17
  cert_chain: []
18
18
 
19
- date: 2016-07-22 00:00:00 -03:00
19
+ date: 2016-08-02 00:00:00 -03:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - ~>
29
29
  - !ruby/object:Gem::Version
30
- hash: -50651362
30
+ hash: 1953482526
31
31
  segments:
32
32
  - 5
33
33
  - x
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- hash: -50651362
45
+ hash: 1953482526
46
46
  segments:
47
47
  - 5
48
48
  - x
@@ -57,7 +57,7 @@ dependencies:
57
57
  requirements:
58
58
  - - ~>
59
59
  - !ruby/object:Gem::Version
60
- hash: -50651362
60
+ hash: 1953482526
61
61
  segments:
62
62
  - 5
63
63
  - x
@@ -139,10 +139,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
139
  requirements:
140
140
  - - ">="
141
141
  - !ruby/object:Gem::Version
142
- hash: 3
142
+ hash: 59
143
143
  segments:
144
- - 0
145
- version: "0"
144
+ - 1
145
+ - 8
146
+ - 6
147
+ version: 1.8.6
146
148
  required_rubygems_version: !ruby/object:Gem::Requirement
147
149
  none: false
148
150
  requirements: