dragonfly-activerecord 0.1.0 → 1.0.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: c0b2e1ead6f33913d7bd6ea10f849327206ff368
4
- data.tar.gz: 159786b1cc1b7b9992f0b1922d1b40c80dd0627e
3
+ metadata.gz: 6654ea13f6ea7e03be7db3d5f21c99d5583e7ffb
4
+ data.tar.gz: 9e0a9d30903294a9999ed9f1a406c811c72583ef
5
5
  SHA512:
6
- metadata.gz: 15b52b9146902030d0d8c563fe2f760fd28fb69d795e0a7e4cb60407199c75fc8347ef064378325a593dcd8971f73aa41c326e16f0b0013bc09292b739e59541
7
- data.tar.gz: 8bf1c426ba915ceb724df52e9818e33677180647b05c967a7dac9159a23cf4cfab44788a4b874979b1f6a36ae5e52074715bc8261468b3e066f99e2f563b10c3
6
+ metadata.gz: 870720b16885eee19928a41d743730c6c940e511a9d605d9e6efa80c98acb34b9a8efae8f13c2db96adf47a31278129670e867be814af5c5e4fadf79699b9395
7
+ data.tar.gz: 92f55b9b7cd4e4fd79ec40e78910c72edcfa235dea14f17b1d1590da01581eded93db479fdebd4202cd6e7653121c5189ac62f8b6b1156334119d523787791ae
@@ -1 +1 @@
1
- 2.0.0-p353
1
+ 2.1.2
@@ -1,7 +1,7 @@
1
1
  rvm:
2
2
  - "1.9.3"
3
3
  - "2.0.0"
4
- - "2.1.0"
4
+ - "2.1.2"
5
5
  gemfile:
6
6
  - gemfiles/rails32.gemfile
7
7
  - gemfiles/rails40_pg.gemfile
@@ -1,87 +1,94 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dragonfly-activerecord (0.1.0)
4
+ dragonfly-activerecord (1.0.0)
5
5
  activerecord (>= 3.2.6)
6
6
  dragonfly (>= 1.0.2)
7
7
 
8
8
  GEM
9
- remote: http://yarp.dev/
9
+ remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (4.0.2)
12
- activesupport (= 4.0.2)
13
- builder (~> 3.1.0)
14
- activerecord (4.0.2)
15
- activemodel (= 4.0.2)
16
- activerecord-deprecated_finders (~> 1.0.2)
17
- activesupport (= 4.0.2)
18
- arel (~> 4.0.0)
19
- activerecord-deprecated_finders (1.0.3)
20
- activesupport (4.0.2)
21
- i18n (~> 0.6, >= 0.6.4)
22
- minitest (~> 4.2)
23
- multi_json (~> 1.3)
11
+ activemodel (4.1.5)
12
+ activesupport (= 4.1.5)
13
+ builder (~> 3.1)
14
+ activerecord (4.1.5)
15
+ activemodel (= 4.1.5)
16
+ activesupport (= 4.1.5)
17
+ arel (~> 5.0.0)
18
+ activesupport (4.1.5)
19
+ i18n (~> 0.6, >= 0.6.9)
20
+ json (~> 1.7, >= 1.7.7)
21
+ minitest (~> 5.1)
24
22
  thread_safe (~> 0.1)
25
- tzinfo (~> 0.3.37)
26
- appraisal (0.5.2)
23
+ tzinfo (~> 1.1)
24
+ addressable (2.3.6)
25
+ appraisal (1.0.2)
27
26
  bundler
28
27
  rake
29
- arel (4.0.1)
30
- atomic (1.1.14)
31
- builder (3.1.4)
32
- celluloid (0.15.2)
33
- timers (~> 1.1.0)
28
+ thor (>= 0.14.0)
29
+ arel (5.0.1.20140414130214)
30
+ builder (3.2.2)
31
+ celluloid (0.16.0)
32
+ timers (~> 4.0.0)
34
33
  coderay (1.1.0)
35
34
  diff-lcs (1.2.5)
36
- dragonfly (1.0.2)
35
+ dragonfly (1.0.7)
36
+ addressable (~> 2.3)
37
37
  multi_json (~> 1.0)
38
38
  rack
39
39
  ffi (1.9.3)
40
- formatador (0.2.4)
41
- guard (2.2.5)
40
+ formatador (0.2.5)
41
+ guard (2.6.1)
42
42
  formatador (>= 0.2.4)
43
- listen (~> 2.1)
43
+ listen (~> 2.7)
44
44
  lumberjack (~> 1.0)
45
45
  pry (>= 0.9.12)
46
46
  thor (>= 0.18.1)
47
- guard-rspec (4.2.3)
47
+ guard-rspec (4.3.1)
48
48
  guard (~> 2.1)
49
49
  rspec (>= 2.14, < 4.0)
50
- i18n (0.6.9)
51
- listen (2.4.0)
50
+ hitimes (1.2.2)
51
+ i18n (0.6.11)
52
+ json (1.8.1)
53
+ listen (2.7.9)
52
54
  celluloid (>= 0.15.2)
53
55
  rb-fsevent (>= 0.9.3)
54
56
  rb-inotify (>= 0.9)
55
- lumberjack (1.0.4)
57
+ lumberjack (1.0.9)
56
58
  method_source (0.8.2)
57
- minitest (4.7.5)
58
- multi_json (1.8.2)
59
- mysql2 (0.3.14)
59
+ minitest (5.4.1)
60
+ multi_json (1.10.1)
61
+ mysql2 (0.3.16)
60
62
  pg (0.17.1)
61
- pry (0.9.12.4)
62
- coderay (~> 1.0)
63
- method_source (~> 0.8)
63
+ pry (0.10.1)
64
+ coderay (~> 1.1.0)
65
+ method_source (~> 0.8.1)
64
66
  slop (~> 3.4)
65
67
  rack (1.5.2)
66
- rake (10.1.1)
68
+ rake (10.3.2)
67
69
  rb-fsevent (0.9.4)
68
- rb-inotify (0.9.3)
70
+ rb-inotify (0.9.5)
69
71
  ffi (>= 0.5.0)
70
- rspec (2.14.1)
71
- rspec-core (~> 2.14.0)
72
- rspec-expectations (~> 2.14.0)
73
- rspec-mocks (~> 2.14.0)
74
- rspec-core (2.14.7)
75
- rspec-expectations (2.14.4)
76
- diff-lcs (>= 1.1.3, < 2.0)
77
- rspec-mocks (2.14.4)
78
- slop (3.4.7)
79
- sqlite3 (1.3.8)
80
- thor (0.18.1)
81
- thread_safe (0.1.3)
82
- atomic
83
- timers (1.1.0)
84
- tzinfo (0.3.38)
72
+ rspec (3.1.0)
73
+ rspec-core (~> 3.1.0)
74
+ rspec-expectations (~> 3.1.0)
75
+ rspec-mocks (~> 3.1.0)
76
+ rspec-core (3.1.2)
77
+ rspec-support (~> 3.1.0)
78
+ rspec-expectations (3.1.0)
79
+ diff-lcs (>= 1.2.0, < 2.0)
80
+ rspec-support (~> 3.1.0)
81
+ rspec-mocks (3.1.0)
82
+ rspec-support (~> 3.1.0)
83
+ rspec-support (3.1.0)
84
+ slop (3.6.0)
85
+ sqlite3 (1.3.9)
86
+ thor (0.19.1)
87
+ thread_safe (0.3.4)
88
+ timers (4.0.1)
89
+ hitimes
90
+ tzinfo (1.2.2)
91
+ thread_safe (~> 0.1)
85
92
 
86
93
  PLATFORMS
87
94
  ruby
data/README.md CHANGED
@@ -54,8 +54,7 @@ require 'dragonfly-activerecord/store'
54
54
 
55
55
  Dragonfly.app.configure do
56
56
  # ... your existing configuration here
57
- datastore Storage::DataStore.new
58
- end
57
+ datastore Dragonfly::ActiveRecord::Store.new
59
58
  ```
60
59
 
61
60
  ... and you're good to go!
@@ -1,79 +1,88 @@
1
1
  PATH
2
- remote: /Users/mezis/Dropbox/Development/dragonfly-activerecord
2
+ remote: ../
3
3
  specs:
4
- dragonfly-activerecord (0.1.0)
4
+ dragonfly-activerecord (1.0.0)
5
5
  activerecord (>= 3.2.6)
6
6
  dragonfly (>= 1.0.2)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (3.2.15)
12
- activesupport (= 3.2.15)
11
+ activemodel (3.2.19)
12
+ activesupport (= 3.2.19)
13
13
  builder (~> 3.0.0)
14
- activerecord (3.2.15)
15
- activemodel (= 3.2.15)
16
- activesupport (= 3.2.15)
14
+ activerecord (3.2.19)
15
+ activemodel (= 3.2.19)
16
+ activesupport (= 3.2.19)
17
17
  arel (~> 3.0.2)
18
18
  tzinfo (~> 0.3.29)
19
- activesupport (3.2.15)
19
+ activesupport (3.2.19)
20
20
  i18n (~> 0.6, >= 0.6.4)
21
21
  multi_json (~> 1.0)
22
- appraisal (0.5.2)
22
+ addressable (2.3.6)
23
+ appraisal (1.0.2)
23
24
  bundler
24
25
  rake
26
+ thor (>= 0.14.0)
25
27
  arel (3.0.3)
26
28
  builder (3.0.4)
27
- celluloid (0.15.2)
28
- timers (~> 1.1.0)
29
+ celluloid (0.16.0)
30
+ timers (~> 4.0.0)
29
31
  coderay (1.1.0)
30
32
  diff-lcs (1.2.5)
31
- dragonfly (1.0.2)
33
+ dragonfly (1.0.7)
34
+ addressable (~> 2.3)
32
35
  multi_json (~> 1.0)
33
36
  rack
34
37
  ffi (1.9.3)
35
- formatador (0.2.4)
36
- guard (2.2.4)
38
+ formatador (0.2.5)
39
+ guard (2.6.1)
37
40
  formatador (>= 0.2.4)
38
- listen (~> 2.1)
41
+ listen (~> 2.7)
39
42
  lumberjack (~> 1.0)
40
43
  pry (>= 0.9.12)
41
44
  thor (>= 0.18.1)
42
- guard-rspec (4.2.0)
43
- guard (>= 2.1.1)
45
+ guard-rspec (4.3.1)
46
+ guard (~> 2.1)
44
47
  rspec (>= 2.14, < 4.0)
45
- i18n (0.6.9)
46
- listen (2.4.0)
48
+ hitimes (1.2.2)
49
+ i18n (0.6.11)
50
+ listen (2.7.9)
47
51
  celluloid (>= 0.15.2)
48
52
  rb-fsevent (>= 0.9.3)
49
53
  rb-inotify (>= 0.9)
50
- lumberjack (1.0.4)
54
+ lumberjack (1.0.9)
51
55
  method_source (0.8.2)
52
- multi_json (1.8.2)
53
- mysql2 (0.3.14)
56
+ multi_json (1.10.1)
57
+ mysql2 (0.3.16)
54
58
  pg (0.17.1)
55
- pry (0.9.12.4)
56
- coderay (~> 1.0)
57
- method_source (~> 0.8)
59
+ pry (0.10.1)
60
+ coderay (~> 1.1.0)
61
+ method_source (~> 0.8.1)
58
62
  slop (~> 3.4)
59
63
  rack (1.5.2)
60
- rake (10.1.1)
61
- rb-fsevent (0.9.3)
62
- rb-inotify (0.9.2)
64
+ rake (10.3.2)
65
+ rb-fsevent (0.9.4)
66
+ rb-inotify (0.9.5)
63
67
  ffi (>= 0.5.0)
64
- rspec (2.14.1)
65
- rspec-core (~> 2.14.0)
66
- rspec-expectations (~> 2.14.0)
67
- rspec-mocks (~> 2.14.0)
68
- rspec-core (2.14.7)
69
- rspec-expectations (2.14.4)
70
- diff-lcs (>= 1.1.3, < 2.0)
71
- rspec-mocks (2.14.4)
72
- slop (3.4.7)
73
- sqlite3 (1.3.8)
74
- thor (0.18.1)
75
- timers (1.1.0)
76
- tzinfo (0.3.38)
68
+ rspec (3.1.0)
69
+ rspec-core (~> 3.1.0)
70
+ rspec-expectations (~> 3.1.0)
71
+ rspec-mocks (~> 3.1.0)
72
+ rspec-core (3.1.2)
73
+ rspec-support (~> 3.1.0)
74
+ rspec-expectations (3.1.0)
75
+ diff-lcs (>= 1.2.0, < 2.0)
76
+ rspec-support (~> 3.1.0)
77
+ rspec-mocks (3.1.0)
78
+ rspec-support (~> 3.1.0)
79
+ rspec-support (3.1.0)
80
+ slop (3.6.0)
81
+ sqlite3 (1.3.9)
82
+ thor (0.19.1)
83
+ timers (4.0.1)
84
+ hitimes
85
+ tzinfo (0.3.41)
77
86
 
78
87
  PLATFORMS
79
88
  ruby
@@ -1,87 +1,94 @@
1
1
  PATH
2
- remote: /Users/mezis/Dropbox/Development/dragonfly-activerecord
2
+ remote: ../
3
3
  specs:
4
- dragonfly-activerecord (0.1.0)
4
+ dragonfly-activerecord (1.0.0)
5
5
  activerecord (>= 3.2.6)
6
6
  dragonfly (>= 1.0.2)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (4.0.2)
12
- activesupport (= 4.0.2)
11
+ activemodel (4.0.9)
12
+ activesupport (= 4.0.9)
13
13
  builder (~> 3.1.0)
14
- activerecord (4.0.2)
15
- activemodel (= 4.0.2)
14
+ activerecord (4.0.9)
15
+ activemodel (= 4.0.9)
16
16
  activerecord-deprecated_finders (~> 1.0.2)
17
- activesupport (= 4.0.2)
17
+ activesupport (= 4.0.9)
18
18
  arel (~> 4.0.0)
19
19
  activerecord-deprecated_finders (1.0.3)
20
- activesupport (4.0.2)
21
- i18n (~> 0.6, >= 0.6.4)
20
+ activesupport (4.0.9)
21
+ i18n (~> 0.6, >= 0.6.9)
22
22
  minitest (~> 4.2)
23
23
  multi_json (~> 1.3)
24
24
  thread_safe (~> 0.1)
25
25
  tzinfo (~> 0.3.37)
26
- appraisal (0.5.2)
26
+ addressable (2.3.6)
27
+ appraisal (1.0.2)
27
28
  bundler
28
29
  rake
29
- arel (4.0.1)
30
- atomic (1.1.14)
30
+ thor (>= 0.14.0)
31
+ arel (4.0.2)
31
32
  builder (3.1.4)
32
- celluloid (0.15.2)
33
- timers (~> 1.1.0)
33
+ celluloid (0.16.0)
34
+ timers (~> 4.0.0)
34
35
  coderay (1.1.0)
35
36
  diff-lcs (1.2.5)
36
- dragonfly (1.0.2)
37
+ dragonfly (1.0.7)
38
+ addressable (~> 2.3)
37
39
  multi_json (~> 1.0)
38
40
  rack
39
41
  ffi (1.9.3)
40
- formatador (0.2.4)
41
- guard (2.2.4)
42
+ formatador (0.2.5)
43
+ guard (2.6.1)
42
44
  formatador (>= 0.2.4)
43
- listen (~> 2.1)
45
+ listen (~> 2.7)
44
46
  lumberjack (~> 1.0)
45
47
  pry (>= 0.9.12)
46
48
  thor (>= 0.18.1)
47
- guard-rspec (4.2.0)
48
- guard (>= 2.1.1)
49
+ guard-rspec (4.3.1)
50
+ guard (~> 2.1)
49
51
  rspec (>= 2.14, < 4.0)
50
- i18n (0.6.9)
51
- listen (2.4.0)
52
+ hitimes (1.2.2)
53
+ i18n (0.6.11)
54
+ listen (2.7.9)
52
55
  celluloid (>= 0.15.2)
53
56
  rb-fsevent (>= 0.9.3)
54
57
  rb-inotify (>= 0.9)
55
- lumberjack (1.0.4)
58
+ lumberjack (1.0.9)
56
59
  method_source (0.8.2)
57
60
  minitest (4.7.5)
58
- multi_json (1.8.2)
59
- mysql2 (0.3.14)
61
+ multi_json (1.10.1)
62
+ mysql2 (0.3.16)
60
63
  pg (0.17.1)
61
- pry (0.9.12.4)
62
- coderay (~> 1.0)
63
- method_source (~> 0.8)
64
+ pry (0.10.1)
65
+ coderay (~> 1.1.0)
66
+ method_source (~> 0.8.1)
64
67
  slop (~> 3.4)
65
68
  rack (1.5.2)
66
- rake (10.1.1)
67
- rb-fsevent (0.9.3)
68
- rb-inotify (0.9.2)
69
+ rake (10.3.2)
70
+ rb-fsevent (0.9.4)
71
+ rb-inotify (0.9.5)
69
72
  ffi (>= 0.5.0)
70
- rspec (2.14.1)
71
- rspec-core (~> 2.14.0)
72
- rspec-expectations (~> 2.14.0)
73
- rspec-mocks (~> 2.14.0)
74
- rspec-core (2.14.7)
75
- rspec-expectations (2.14.4)
76
- diff-lcs (>= 1.1.3, < 2.0)
77
- rspec-mocks (2.14.4)
78
- slop (3.4.7)
79
- sqlite3 (1.3.8)
80
- thor (0.18.1)
81
- thread_safe (0.1.3)
82
- atomic
83
- timers (1.1.0)
84
- tzinfo (0.3.38)
73
+ rspec (3.1.0)
74
+ rspec-core (~> 3.1.0)
75
+ rspec-expectations (~> 3.1.0)
76
+ rspec-mocks (~> 3.1.0)
77
+ rspec-core (3.1.2)
78
+ rspec-support (~> 3.1.0)
79
+ rspec-expectations (3.1.0)
80
+ diff-lcs (>= 1.2.0, < 2.0)
81
+ rspec-support (~> 3.1.0)
82
+ rspec-mocks (3.1.0)
83
+ rspec-support (~> 3.1.0)
84
+ rspec-support (3.1.0)
85
+ slop (3.6.0)
86
+ sqlite3 (1.3.9)
87
+ thor (0.19.1)
88
+ thread_safe (0.3.4)
89
+ timers (4.0.1)
90
+ hitimes
91
+ tzinfo (0.3.41)
85
92
 
86
93
  PLATFORMS
87
94
  ruby
@@ -1,87 +1,94 @@
1
1
  PATH
2
- remote: /Users/mezis/Dropbox/Development/dragonfly-activerecord
2
+ remote: ../
3
3
  specs:
4
- dragonfly-activerecord (0.1.0)
4
+ dragonfly-activerecord (1.0.0)
5
5
  activerecord (>= 3.2.6)
6
6
  dragonfly (>= 1.0.2)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (4.0.2)
12
- activesupport (= 4.0.2)
11
+ activemodel (4.0.9)
12
+ activesupport (= 4.0.9)
13
13
  builder (~> 3.1.0)
14
- activerecord (4.0.2)
15
- activemodel (= 4.0.2)
14
+ activerecord (4.0.9)
15
+ activemodel (= 4.0.9)
16
16
  activerecord-deprecated_finders (~> 1.0.2)
17
- activesupport (= 4.0.2)
17
+ activesupport (= 4.0.9)
18
18
  arel (~> 4.0.0)
19
19
  activerecord-deprecated_finders (1.0.3)
20
- activesupport (4.0.2)
21
- i18n (~> 0.6, >= 0.6.4)
20
+ activesupport (4.0.9)
21
+ i18n (~> 0.6, >= 0.6.9)
22
22
  minitest (~> 4.2)
23
23
  multi_json (~> 1.3)
24
24
  thread_safe (~> 0.1)
25
25
  tzinfo (~> 0.3.37)
26
- appraisal (0.5.2)
26
+ addressable (2.3.6)
27
+ appraisal (1.0.2)
27
28
  bundler
28
29
  rake
29
- arel (4.0.1)
30
- atomic (1.1.14)
30
+ thor (>= 0.14.0)
31
+ arel (4.0.2)
31
32
  builder (3.1.4)
32
- celluloid (0.15.2)
33
- timers (~> 1.1.0)
33
+ celluloid (0.16.0)
34
+ timers (~> 4.0.0)
34
35
  coderay (1.1.0)
35
36
  diff-lcs (1.2.5)
36
- dragonfly (1.0.2)
37
+ dragonfly (1.0.7)
38
+ addressable (~> 2.3)
37
39
  multi_json (~> 1.0)
38
40
  rack
39
41
  ffi (1.9.3)
40
- formatador (0.2.4)
41
- guard (2.2.4)
42
+ formatador (0.2.5)
43
+ guard (2.6.1)
42
44
  formatador (>= 0.2.4)
43
- listen (~> 2.1)
45
+ listen (~> 2.7)
44
46
  lumberjack (~> 1.0)
45
47
  pry (>= 0.9.12)
46
48
  thor (>= 0.18.1)
47
- guard-rspec (4.2.0)
48
- guard (>= 2.1.1)
49
+ guard-rspec (4.3.1)
50
+ guard (~> 2.1)
49
51
  rspec (>= 2.14, < 4.0)
50
- i18n (0.6.9)
51
- listen (2.4.0)
52
+ hitimes (1.2.2)
53
+ i18n (0.6.11)
54
+ listen (2.7.9)
52
55
  celluloid (>= 0.15.2)
53
56
  rb-fsevent (>= 0.9.3)
54
57
  rb-inotify (>= 0.9)
55
- lumberjack (1.0.4)
58
+ lumberjack (1.0.9)
56
59
  method_source (0.8.2)
57
60
  minitest (4.7.5)
58
- multi_json (1.8.2)
59
- mysql2 (0.3.14)
61
+ multi_json (1.10.1)
62
+ mysql2 (0.3.16)
60
63
  pg (0.17.1)
61
- pry (0.9.12.4)
62
- coderay (~> 1.0)
63
- method_source (~> 0.8)
64
+ pry (0.10.1)
65
+ coderay (~> 1.1.0)
66
+ method_source (~> 0.8.1)
64
67
  slop (~> 3.4)
65
68
  rack (1.5.2)
66
- rake (10.1.1)
67
- rb-fsevent (0.9.3)
68
- rb-inotify (0.9.2)
69
+ rake (10.3.2)
70
+ rb-fsevent (0.9.4)
71
+ rb-inotify (0.9.5)
69
72
  ffi (>= 0.5.0)
70
- rspec (2.14.1)
71
- rspec-core (~> 2.14.0)
72
- rspec-expectations (~> 2.14.0)
73
- rspec-mocks (~> 2.14.0)
74
- rspec-core (2.14.7)
75
- rspec-expectations (2.14.4)
76
- diff-lcs (>= 1.1.3, < 2.0)
77
- rspec-mocks (2.14.4)
78
- slop (3.4.7)
79
- sqlite3 (1.3.8)
80
- thor (0.18.1)
81
- thread_safe (0.1.3)
82
- atomic
83
- timers (1.1.0)
84
- tzinfo (0.3.38)
73
+ rspec (3.1.0)
74
+ rspec-core (~> 3.1.0)
75
+ rspec-expectations (~> 3.1.0)
76
+ rspec-mocks (~> 3.1.0)
77
+ rspec-core (3.1.2)
78
+ rspec-support (~> 3.1.0)
79
+ rspec-expectations (3.1.0)
80
+ diff-lcs (>= 1.2.0, < 2.0)
81
+ rspec-support (~> 3.1.0)
82
+ rspec-mocks (3.1.0)
83
+ rspec-support (~> 3.1.0)
84
+ rspec-support (3.1.0)
85
+ slop (3.6.0)
86
+ sqlite3 (1.3.9)
87
+ thor (0.19.1)
88
+ thread_safe (0.3.4)
89
+ timers (4.0.1)
90
+ hitimes
91
+ tzinfo (0.3.41)
85
92
 
86
93
  PLATFORMS
87
94
  ruby
@@ -1,87 +1,94 @@
1
1
  PATH
2
- remote: /Users/mezis/Dropbox/Development/dragonfly-activerecord
2
+ remote: ../
3
3
  specs:
4
- dragonfly-activerecord (0.1.0)
4
+ dragonfly-activerecord (1.0.0)
5
5
  activerecord (>= 3.2.6)
6
6
  dragonfly (>= 1.0.2)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (4.0.2)
12
- activesupport (= 4.0.2)
11
+ activemodel (4.0.9)
12
+ activesupport (= 4.0.9)
13
13
  builder (~> 3.1.0)
14
- activerecord (4.0.2)
15
- activemodel (= 4.0.2)
14
+ activerecord (4.0.9)
15
+ activemodel (= 4.0.9)
16
16
  activerecord-deprecated_finders (~> 1.0.2)
17
- activesupport (= 4.0.2)
17
+ activesupport (= 4.0.9)
18
18
  arel (~> 4.0.0)
19
19
  activerecord-deprecated_finders (1.0.3)
20
- activesupport (4.0.2)
21
- i18n (~> 0.6, >= 0.6.4)
20
+ activesupport (4.0.9)
21
+ i18n (~> 0.6, >= 0.6.9)
22
22
  minitest (~> 4.2)
23
23
  multi_json (~> 1.3)
24
24
  thread_safe (~> 0.1)
25
25
  tzinfo (~> 0.3.37)
26
- appraisal (0.5.2)
26
+ addressable (2.3.6)
27
+ appraisal (1.0.2)
27
28
  bundler
28
29
  rake
29
- arel (4.0.1)
30
- atomic (1.1.14)
30
+ thor (>= 0.14.0)
31
+ arel (4.0.2)
31
32
  builder (3.1.4)
32
- celluloid (0.15.2)
33
- timers (~> 1.1.0)
33
+ celluloid (0.16.0)
34
+ timers (~> 4.0.0)
34
35
  coderay (1.1.0)
35
36
  diff-lcs (1.2.5)
36
- dragonfly (1.0.2)
37
+ dragonfly (1.0.7)
38
+ addressable (~> 2.3)
37
39
  multi_json (~> 1.0)
38
40
  rack
39
41
  ffi (1.9.3)
40
- formatador (0.2.4)
41
- guard (2.2.4)
42
+ formatador (0.2.5)
43
+ guard (2.6.1)
42
44
  formatador (>= 0.2.4)
43
- listen (~> 2.1)
45
+ listen (~> 2.7)
44
46
  lumberjack (~> 1.0)
45
47
  pry (>= 0.9.12)
46
48
  thor (>= 0.18.1)
47
- guard-rspec (4.2.0)
48
- guard (>= 2.1.1)
49
+ guard-rspec (4.3.1)
50
+ guard (~> 2.1)
49
51
  rspec (>= 2.14, < 4.0)
50
- i18n (0.6.9)
51
- listen (2.4.0)
52
+ hitimes (1.2.2)
53
+ i18n (0.6.11)
54
+ listen (2.7.9)
52
55
  celluloid (>= 0.15.2)
53
56
  rb-fsevent (>= 0.9.3)
54
57
  rb-inotify (>= 0.9)
55
- lumberjack (1.0.4)
58
+ lumberjack (1.0.9)
56
59
  method_source (0.8.2)
57
60
  minitest (4.7.5)
58
- multi_json (1.8.2)
59
- mysql2 (0.3.14)
61
+ multi_json (1.10.1)
62
+ mysql2 (0.3.16)
60
63
  pg (0.17.1)
61
- pry (0.9.12.4)
62
- coderay (~> 1.0)
63
- method_source (~> 0.8)
64
+ pry (0.10.1)
65
+ coderay (~> 1.1.0)
66
+ method_source (~> 0.8.1)
64
67
  slop (~> 3.4)
65
68
  rack (1.5.2)
66
- rake (10.1.1)
67
- rb-fsevent (0.9.3)
68
- rb-inotify (0.9.2)
69
+ rake (10.3.2)
70
+ rb-fsevent (0.9.4)
71
+ rb-inotify (0.9.5)
69
72
  ffi (>= 0.5.0)
70
- rspec (2.14.1)
71
- rspec-core (~> 2.14.0)
72
- rspec-expectations (~> 2.14.0)
73
- rspec-mocks (~> 2.14.0)
74
- rspec-core (2.14.7)
75
- rspec-expectations (2.14.4)
76
- diff-lcs (>= 1.1.3, < 2.0)
77
- rspec-mocks (2.14.4)
78
- slop (3.4.7)
79
- sqlite3 (1.3.8)
80
- thor (0.18.1)
81
- thread_safe (0.1.3)
82
- atomic
83
- timers (1.1.0)
84
- tzinfo (0.3.38)
73
+ rspec (3.1.0)
74
+ rspec-core (~> 3.1.0)
75
+ rspec-expectations (~> 3.1.0)
76
+ rspec-mocks (~> 3.1.0)
77
+ rspec-core (3.1.2)
78
+ rspec-support (~> 3.1.0)
79
+ rspec-expectations (3.1.0)
80
+ diff-lcs (>= 1.2.0, < 2.0)
81
+ rspec-support (~> 3.1.0)
82
+ rspec-mocks (3.1.0)
83
+ rspec-support (~> 3.1.0)
84
+ rspec-support (3.1.0)
85
+ slop (3.6.0)
86
+ sqlite3 (1.3.9)
87
+ thor (0.19.1)
88
+ thread_safe (0.3.4)
89
+ timers (4.0.1)
90
+ hitimes
91
+ tzinfo (0.3.41)
85
92
 
86
93
  PLATFORMS
87
94
  ruby
@@ -1,87 +1,94 @@
1
1
  PATH
2
- remote: /Users/mezis/Dropbox/Development/dragonfly-activerecord
2
+ remote: ../
3
3
  specs:
4
- dragonfly-activerecord (0.1.0)
4
+ dragonfly-activerecord (1.0.0)
5
5
  activerecord (>= 3.2.6)
6
6
  dragonfly (>= 1.0.2)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (4.0.2)
12
- activesupport (= 4.0.2)
11
+ activemodel (4.0.9)
12
+ activesupport (= 4.0.9)
13
13
  builder (~> 3.1.0)
14
- activerecord (4.0.2)
15
- activemodel (= 4.0.2)
14
+ activerecord (4.0.9)
15
+ activemodel (= 4.0.9)
16
16
  activerecord-deprecated_finders (~> 1.0.2)
17
- activesupport (= 4.0.2)
17
+ activesupport (= 4.0.9)
18
18
  arel (~> 4.0.0)
19
19
  activerecord-deprecated_finders (1.0.3)
20
- activesupport (4.0.2)
21
- i18n (~> 0.6, >= 0.6.4)
20
+ activesupport (4.0.9)
21
+ i18n (~> 0.6, >= 0.6.9)
22
22
  minitest (~> 4.2)
23
23
  multi_json (~> 1.3)
24
24
  thread_safe (~> 0.1)
25
25
  tzinfo (~> 0.3.37)
26
- appraisal (0.5.2)
26
+ addressable (2.3.6)
27
+ appraisal (1.0.2)
27
28
  bundler
28
29
  rake
29
- arel (4.0.1)
30
- atomic (1.1.14)
30
+ thor (>= 0.14.0)
31
+ arel (4.0.2)
31
32
  builder (3.1.4)
32
- celluloid (0.15.2)
33
- timers (~> 1.1.0)
33
+ celluloid (0.16.0)
34
+ timers (~> 4.0.0)
34
35
  coderay (1.1.0)
35
36
  diff-lcs (1.2.5)
36
- dragonfly (1.0.2)
37
+ dragonfly (1.0.7)
38
+ addressable (~> 2.3)
37
39
  multi_json (~> 1.0)
38
40
  rack
39
41
  ffi (1.9.3)
40
- formatador (0.2.4)
41
- guard (2.2.4)
42
+ formatador (0.2.5)
43
+ guard (2.6.1)
42
44
  formatador (>= 0.2.4)
43
- listen (~> 2.1)
45
+ listen (~> 2.7)
44
46
  lumberjack (~> 1.0)
45
47
  pry (>= 0.9.12)
46
48
  thor (>= 0.18.1)
47
- guard-rspec (4.2.0)
48
- guard (>= 2.1.1)
49
+ guard-rspec (4.3.1)
50
+ guard (~> 2.1)
49
51
  rspec (>= 2.14, < 4.0)
50
- i18n (0.6.9)
51
- listen (2.4.0)
52
+ hitimes (1.2.2)
53
+ i18n (0.6.11)
54
+ listen (2.7.9)
52
55
  celluloid (>= 0.15.2)
53
56
  rb-fsevent (>= 0.9.3)
54
57
  rb-inotify (>= 0.9)
55
- lumberjack (1.0.4)
58
+ lumberjack (1.0.9)
56
59
  method_source (0.8.2)
57
60
  minitest (4.7.5)
58
- multi_json (1.8.2)
59
- mysql2 (0.3.14)
61
+ multi_json (1.10.1)
62
+ mysql2 (0.3.16)
60
63
  pg (0.17.1)
61
- pry (0.9.12.4)
62
- coderay (~> 1.0)
63
- method_source (~> 0.8)
64
+ pry (0.10.1)
65
+ coderay (~> 1.1.0)
66
+ method_source (~> 0.8.1)
64
67
  slop (~> 3.4)
65
68
  rack (1.5.2)
66
- rake (10.1.1)
67
- rb-fsevent (0.9.3)
68
- rb-inotify (0.9.2)
69
+ rake (10.3.2)
70
+ rb-fsevent (0.9.4)
71
+ rb-inotify (0.9.5)
69
72
  ffi (>= 0.5.0)
70
- rspec (2.14.1)
71
- rspec-core (~> 2.14.0)
72
- rspec-expectations (~> 2.14.0)
73
- rspec-mocks (~> 2.14.0)
74
- rspec-core (2.14.7)
75
- rspec-expectations (2.14.4)
76
- diff-lcs (>= 1.1.3, < 2.0)
77
- rspec-mocks (2.14.4)
78
- slop (3.4.7)
79
- sqlite3 (1.3.8)
80
- thor (0.18.1)
81
- thread_safe (0.1.3)
82
- atomic
83
- timers (1.1.0)
84
- tzinfo (0.3.38)
73
+ rspec (3.1.0)
74
+ rspec-core (~> 3.1.0)
75
+ rspec-expectations (~> 3.1.0)
76
+ rspec-mocks (~> 3.1.0)
77
+ rspec-core (3.1.2)
78
+ rspec-support (~> 3.1.0)
79
+ rspec-expectations (3.1.0)
80
+ diff-lcs (>= 1.2.0, < 2.0)
81
+ rspec-support (~> 3.1.0)
82
+ rspec-mocks (3.1.0)
83
+ rspec-support (~> 3.1.0)
84
+ rspec-support (3.1.0)
85
+ slop (3.6.0)
86
+ sqlite3 (1.3.9)
87
+ thor (0.19.1)
88
+ thread_safe (0.3.4)
89
+ timers (4.0.1)
90
+ hitimes
91
+ tzinfo (0.3.41)
85
92
 
86
93
  PLATFORMS
87
94
  ruby
@@ -1,5 +1,5 @@
1
1
  module Dragonfly
2
2
  module ActiveRecord
3
- VERSION = "0.1.0"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
@@ -9,7 +9,7 @@ describe Dragonfly::ActiveRecord::Migration do
9
9
  end
10
10
 
11
11
  it 'is a proper migration' do
12
- subject.ancestors.should include(ActiveRecord::Migration)
12
+ expect(subject.ancestors).to include(ActiveRecord::Migration)
13
13
  end
14
14
 
15
15
  it 'applies cleanly' do
@@ -30,13 +30,13 @@ describe Dragonfly::ActiveRecord::Migration do
30
30
  it 'result in a functional chunks model' do
31
31
  model_class.table_name = 'storage_chunks'
32
32
  model_class.create(file_id: 123, idx: 456, encoded_data: 'foobar')
33
- model_class.count.should == 1
33
+ expect(model_class.count).to eq(1)
34
34
  end
35
35
 
36
36
  it 'result in a functional files model' do
37
37
  model_class.table_name = 'storage_files'
38
38
  model_class.create(metadata: 'foobar', accessed_at: Time.now)
39
- model_class.count.should == 1
39
+ expect(model_class.count).to eq(1)
40
40
  end
41
41
  end
42
42
  end
@@ -15,13 +15,13 @@ describe Dragonfly::ActiveRecord::Store do
15
15
 
16
16
  before { prepare_database }
17
17
 
18
- share_examples_for 'store and retrieve' do
18
+ shared_examples_for 'store and retrieve' do
19
19
  it 'retrieves the data' do
20
20
  id = subject.write(fake_file)
21
21
  returned_data, returned_meta = subject.read(id)
22
22
 
23
- returned_data.length.should == data.length
24
- returned_data.read.should == data
23
+ expect(returned_data.length).to eq(data.length)
24
+ expect(returned_data.read).to eq(data)
25
25
  end
26
26
  end
27
27
 
@@ -42,6 +42,6 @@ describe Dragonfly::ActiveRecord::Store do
42
42
  end
43
43
 
44
44
  it 'returns nil for missing files' do
45
- subject.read('1337').should be_nil
45
+ expect(subject.read('1337')).to be_nil
46
46
  end
47
47
  end
@@ -46,10 +46,6 @@ class TestMigration < ActiveRecord::Migration
46
46
  end
47
47
 
48
48
  RSpec.configure do |config|
49
- config.treat_symbols_as_metadata_keys_with_true_values = true
50
- config.run_all_when_everything_filtered = true
51
- config.filter_run :focus
52
-
53
49
  # Run specs in random order to surface order dependencies. If you find an
54
50
  # order dependency and want to debug it, you can fix the order by providing
55
51
  # the seed, which is printed after each run.
metadata CHANGED
@@ -1,167 +1,167 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dragonfly-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Letessier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-05 00:00:00.000000000 Z
11
+ date: 2014-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: appraisal
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sqlite3
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: pg
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: mysql2
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: guard
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: guard-rspec
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: activerecord
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '>='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: 3.2.6
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '>='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: 3.2.6
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: dragonfly
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - '>='
157
+ - - ">="
158
158
  - !ruby/object:Gem::Version
159
159
  version: 1.0.2
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - '>='
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: 1.0.2
167
167
  description: ActiveRecord-backed data store for Dragonfly
@@ -171,11 +171,11 @@ executables: []
171
171
  extensions: []
172
172
  extra_rdoc_files: []
173
173
  files:
174
- - .gitignore
175
- - .gitmodules
176
- - .rspec
177
- - .ruby-version
178
- - .travis.yml
174
+ - ".gitignore"
175
+ - ".gitmodules"
176
+ - ".rspec"
177
+ - ".ruby-version"
178
+ - ".travis.yml"
179
179
  - Appraisals
180
180
  - Gemfile
181
181
  - Gemfile.lock
@@ -214,17 +214,17 @@ require_paths:
214
214
  - lib
215
215
  required_ruby_version: !ruby/object:Gem::Requirement
216
216
  requirements:
217
- - - '>='
217
+ - - ">="
218
218
  - !ruby/object:Gem::Version
219
219
  version: '0'
220
220
  required_rubygems_version: !ruby/object:Gem::Requirement
221
221
  requirements:
222
- - - '>='
222
+ - - ">="
223
223
  - !ruby/object:Gem::Version
224
224
  version: '0'
225
225
  requirements: []
226
226
  rubyforge_project:
227
- rubygems_version: 2.0.14
227
+ rubygems_version: 2.2.2
228
228
  signing_key:
229
229
  specification_version: 4
230
230
  summary: ActiveRecord-backed data store for Dragonfly