carrierwave-serializable 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 82b85107d099ff5b2a82563dbf639e3ca631c6c2
4
+ data.tar.gz: a2798da3550f46b3d7be053cb3d43fbff509741c
5
+ SHA512:
6
+ metadata.gz: cb3c735071dd56ae4a164be785e66d0222dbdf562a52a89f4f2b52687854f9af98155d34368d528d2bbea4484558dab56b5056f19612e9fe7fe4a1ded933947d
7
+ data.tar.gz: 54d6de876914bf435231947a1f5363bcd0a821a3be78243b0cbc3c56e6d1c476f202e13310ea46406cfa0aba7607aaace1e7ce692f2b150584ac2486e2f8bce8
@@ -32,28 +32,30 @@ module CarrierWave
32
32
  @#{column}_changed
33
33
  end
34
34
  RUBY
35
- end
36
35
 
37
- class_eval <<-RUBY, __FILE__, __LINE__+1
38
- def write_uploader(column, identifier)
39
- if self.class.serialized_uploader?(column)
40
- serialized_field = self.send self.class.serialized_uploaders[column]
41
- serialized_field[column.to_s] = identifier
42
- else
43
- super
36
+
37
+ class_eval <<-RUBY, __FILE__, __LINE__+1
38
+ def write_uploader(column, identifier)
39
+ if self.class.serialized_uploader?(column)
40
+ serialized_field = self.send self.class.serialized_uploaders[column]
41
+ serialized_field[column.to_s] = identifier
42
+ else
43
+ super
44
+ end
44
45
  end
45
- end
46
-
47
- def read_uploader(column)
48
- if self.class.serialized_uploader?(column)
49
- serialized_field = self.send self.class.serialized_uploaders[column]
50
- serialized_field[column.to_s]
51
- else
52
- super
46
+
47
+ def read_uploader(column)
48
+ if self.class.serialized_uploader?(column)
49
+ serialized_field = self.send self.class.serialized_uploaders[column]
50
+ serialized_field[column.to_s]
51
+ else
52
+ super
53
+ end
53
54
  end
54
- end
55
- RUBY
55
+ RUBY
56
+
57
+ end
56
58
  end
57
59
  end # Serializable
58
60
  end # ActiveRecord
59
- end # CarrierWave
61
+ end # CarrierWave
@@ -1,5 +1,5 @@
1
1
  module CarrierWave
2
2
  module Serializable
3
- VERSION = "0.0.2"
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carrierwave-serializable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 0.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Tima Maslyuchenko
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-18 00:00:00.000000000 Z
11
+ date: 2013-09-04 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: carrierwave
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  description: Carrierwave plugin that allow mount uploader to serialized field
@@ -45,26 +42,25 @@ files:
45
42
  - lib/carrierwave-serializable/version.rb
46
43
  homepage: https://github.com/timsly/carrierwave-serializable
47
44
  licenses: []
45
+ metadata: {}
48
46
  post_install_message:
49
47
  rdoc_options: []
50
48
  require_paths:
51
49
  - lib
52
50
  required_ruby_version: !ruby/object:Gem::Requirement
53
- none: false
54
51
  requirements:
55
- - - ! '>='
52
+ - - '>='
56
53
  - !ruby/object:Gem::Version
57
54
  version: '0'
58
55
  required_rubygems_version: !ruby/object:Gem::Requirement
59
- none: false
60
56
  requirements:
61
- - - ! '>='
57
+ - - '>='
62
58
  - !ruby/object:Gem::Version
63
59
  version: '0'
64
60
  requirements: []
65
61
  rubyforge_project:
66
- rubygems_version: 1.8.23
62
+ rubygems_version: 2.0.3
67
63
  signing_key:
68
- specification_version: 3
64
+ specification_version: 4
69
65
  summary: Carrierwave plugin that allow mount uploader to serialized field
70
66
  test_files: []