database_cleaner-remote_api 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/Rakefile +17 -1
- data/lib/database_cleaner/remote_api/version.rb +1 -1
- metadata +91 -12
- metadata.gz.sig +1 -0
- checksums.yaml +0 -7
data.tar.gz.sig
ADDED
Binary file
|
data/Rakefile
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
#!/usr/bin/env rake
|
2
|
+
|
3
|
+
require 'appraisal'
|
4
|
+
|
2
5
|
begin
|
3
6
|
require 'bundler/setup'
|
4
7
|
rescue LoadError
|
@@ -20,8 +23,21 @@ RDoc::Task.new(:rdoc) do |rdoc|
|
|
20
23
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
21
24
|
end
|
22
25
|
|
23
|
-
|
26
|
+
# Find the right dummy Rakefile to load. If in appraisal, use that version of dummy Rails, else default to 3.2.
|
27
|
+
rails_minor_version = if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
|
28
|
+
ENV['BUNDLE_GEMFILE'].split('/').last.scan(/(\d).(\d)/).join
|
29
|
+
else
|
30
|
+
'32'
|
31
|
+
end
|
32
|
+
APP_RAKEFILE = File.expand_path("../spec/dummy_#{rails_minor_version}/Rakefile", __FILE__)
|
33
|
+
|
34
|
+
# Ensure the dummy app is in the test environment
|
35
|
+
ENV['RAILS_ENV'] ||= 'test'
|
36
|
+
|
37
|
+
# Stop Rails from resetting the BUNDLE_GEMFILE env variable on load.
|
38
|
+
old_bundle_gemfile = ENV['BUNDLE_GEMFILE']
|
24
39
|
load 'rails/tasks/engine.rake'
|
40
|
+
ENV['BUNDLE_GEMFILE'] = old_bundle_gemfile
|
25
41
|
|
26
42
|
# Load all tasks
|
27
43
|
Dir[File.join(File.dirname(__FILE__), 'tasks/**/*.rake')].each {|f| load f }
|
metadata
CHANGED
@@ -1,32 +1,63 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: database_cleaner-remote_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Julian Tescher
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
11
|
+
cert_chain:
|
12
|
+
- !binary |-
|
13
|
+
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURLakNDQWhLZ0F3SUJB
|
14
|
+
Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREE3TVEwd0N3WURWUVFEREFSNWIz
|
15
|
+
VnkKTVJVd0V3WUtDWkltaVpQeUxHUUJHUllGWlcxaGFXd3hFekFSQmdvSmtp
|
16
|
+
YUprL0lzWkFFWkZnTmpiMjB3SGhjTgpNVE13TmpFME1Ua3hNalE0V2hjTk1U
|
17
|
+
UXdOakUwTVRreE1qUTRXakE3TVEwd0N3WURWUVFEREFSNWIzVnlNUlV3CkV3
|
18
|
+
WUtDWkltaVpQeUxHUUJHUllGWlcxaGFXd3hFekFSQmdvSmtpYUprL0lzWkFF
|
19
|
+
WkZnTmpiMjB3Z2dFaU1BMEcKQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3Z2dF
|
20
|
+
S0FvSUJBUUM5V2p2SmluV1Y3aDlWZUxsZjQreUh4cjFMRi84LwpISEZDS1lF
|
21
|
+
cy9aclVKTHJwbXVVV1Vya2dwd0liVjVGVXZxa1hvQ2NDdlIyejY1bEFPTlp0
|
22
|
+
ZHZnM3lnQkJYZmw3CnJRYU5iL0VNTXp1bG1mMjZ6dEF0VVAwSXBhejBwWC9x
|
23
|
+
bHpETGtEa2hYeFVCMXJVY3h1WjJSaWYwSHNPdFFPNWQKTXpRZlJFc1lEdFdN
|
24
|
+
aWxlTHhjSW1DeHRvRTVyK3RHMnNiSjcyZ3hQMFF5Z0F3TCtta2UvL0Mwd1BW
|
25
|
+
Q0JDOXpJMgpmd2habVREMmRteXgwSlc4QzBZUiszOGtxdE1sZENjSVFPUFJI
|
26
|
+
NnVlL0pBeWZ4YW9zWXlOTEs1enVVb1cxTVNSCmwxUE1XYjNmRURYcHJibmt1
|
27
|
+
NDk2ZjAyNkZBZ0RuOFRGc1dERncrS2hId1RnSVlBU2Jnb3BZcVdUQWdNQkFB
|
28
|
+
R2oKT1RBM01Ba0dBMVVkRXdRQ01BQXdIUVlEVlIwT0JCWUVGTTBLQ1FMTWlP
|
29
|
+
am5zTDFURXU1SUZGUkNhcjRDTUFzRwpBMVVkRHdRRUF3SUVzREFOQmdrcWhr
|
30
|
+
aUc5dzBCQVFVRkFBT0NBUUVBc2NXMzNxOGcwakxrQUU4alpuSVlqYk8zCmho
|
31
|
+
TnBTeVhPMUptSkVibTVxOXY1ckRxaGo4UlRiZGQxMDB0RndHYzJ0SVZpUjll
|
32
|
+
ZFE4WjcyczlnRUFkVTZONFAKSHBvWWNOT3FFVDhGcXMrbzE2bGJrNzRvbjZH
|
33
|
+
djlTNUxaakJRMVV1SXFEYkVOdVR6b2d4WTI1WXg1ZElHSHlJbwo3cnpvcmY0
|
34
|
+
ZTRLQ05GdzE5Qkc1TTNpamxNdmNpU0d4SVBibUpvYVNhN202MnN1ZEdyM0Ny
|
35
|
+
RXBSZ01aQnZwMUVhCklMYVBpSTFQaFZ1cmZvdjJ5MCtZVDByYk9ydjRjV29C
|
36
|
+
V3NaK2F3dzJpU05DNVhGaEEvOHhzSzBCbHRZUkY5blAKSEE0MVV0RHhySmtI
|
37
|
+
TDNOMXo4Z1BNWFNyRlQ0MUZSMndnazgrbDE0UCs3ZzFVVFBpZDJFSXdmdDJ4
|
38
|
+
T2JGZUE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
39
|
+
date: 2013-06-14 00:00:00.000000000 Z
|
12
40
|
dependencies:
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: rails
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
16
45
|
requirements:
|
17
|
-
- -
|
46
|
+
- - ! '>='
|
18
47
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.
|
48
|
+
version: 3.1.0
|
20
49
|
type: :runtime
|
21
50
|
prerelease: false
|
22
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
23
53
|
requirements:
|
24
|
-
- -
|
54
|
+
- - ! '>='
|
25
55
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.
|
56
|
+
version: 3.1.0
|
27
57
|
- !ruby/object:Gem::Dependency
|
28
58
|
name: database_cleaner
|
29
59
|
requirement: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
30
61
|
requirements:
|
31
62
|
- - ~>
|
32
63
|
- !ruby/object:Gem::Version
|
@@ -34,6 +65,7 @@ dependencies:
|
|
34
65
|
type: :runtime
|
35
66
|
prerelease: false
|
36
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
37
69
|
requirements:
|
38
70
|
- - ~>
|
39
71
|
- !ruby/object:Gem::Version
|
@@ -41,6 +73,7 @@ dependencies:
|
|
41
73
|
- !ruby/object:Gem::Dependency
|
42
74
|
name: sqlite3
|
43
75
|
requirement: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
44
77
|
requirements:
|
45
78
|
- - ~>
|
46
79
|
- !ruby/object:Gem::Version
|
@@ -48,6 +81,7 @@ dependencies:
|
|
48
81
|
type: :development
|
49
82
|
prerelease: false
|
50
83
|
version_requirements: !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
51
85
|
requirements:
|
52
86
|
- - ~>
|
53
87
|
- !ruby/object:Gem::Version
|
@@ -55,6 +89,7 @@ dependencies:
|
|
55
89
|
- !ruby/object:Gem::Dependency
|
56
90
|
name: rspec-rails
|
57
91
|
requirement: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
58
93
|
requirements:
|
59
94
|
- - ~>
|
60
95
|
- !ruby/object:Gem::Version
|
@@ -62,13 +97,31 @@ dependencies:
|
|
62
97
|
type: :development
|
63
98
|
prerelease: false
|
64
99
|
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
65
101
|
requirements:
|
66
102
|
- - ~>
|
67
103
|
- !ruby/object:Gem::Version
|
68
104
|
version: 2.13.2
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: rdoc
|
107
|
+
requirement: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ! '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '3.4'
|
113
|
+
type: :development
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '3.4'
|
69
121
|
- !ruby/object:Gem::Dependency
|
70
122
|
name: capybara
|
71
123
|
requirement: !ruby/object:Gem::Requirement
|
124
|
+
none: false
|
72
125
|
requirements:
|
73
126
|
- - ~>
|
74
127
|
- !ruby/object:Gem::Version
|
@@ -76,6 +129,7 @@ dependencies:
|
|
76
129
|
type: :development
|
77
130
|
prerelease: false
|
78
131
|
version_requirements: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
79
133
|
requirements:
|
80
134
|
- - ~>
|
81
135
|
- !ruby/object:Gem::Version
|
@@ -83,6 +137,7 @@ dependencies:
|
|
83
137
|
- !ruby/object:Gem::Dependency
|
84
138
|
name: simplecov
|
85
139
|
requirement: !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
86
141
|
requirements:
|
87
142
|
- - ~>
|
88
143
|
- !ruby/object:Gem::Version
|
@@ -90,10 +145,27 @@ dependencies:
|
|
90
145
|
type: :development
|
91
146
|
prerelease: false
|
92
147
|
version_requirements: !ruby/object:Gem::Requirement
|
148
|
+
none: false
|
93
149
|
requirements:
|
94
150
|
- - ~>
|
95
151
|
- !ruby/object:Gem::Version
|
96
152
|
version: 0.7.1
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: appraisal
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
none: false
|
157
|
+
requirements:
|
158
|
+
- - ~>
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: 0.5.2
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
none: false
|
165
|
+
requirements:
|
166
|
+
- - ~>
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: 0.5.2
|
97
169
|
description: Simply creates an HTTP API for cleaning your database to be used by client
|
98
170
|
tests.
|
99
171
|
email:
|
@@ -118,25 +190,32 @@ files:
|
|
118
190
|
- README.md
|
119
191
|
homepage: https://github.com/jtescher/database_cleaner-remote_api
|
120
192
|
licenses: []
|
121
|
-
metadata: {}
|
122
193
|
post_install_message:
|
123
194
|
rdoc_options: []
|
124
195
|
require_paths:
|
125
196
|
- lib
|
126
197
|
required_ruby_version: !ruby/object:Gem::Requirement
|
198
|
+
none: false
|
127
199
|
requirements:
|
128
|
-
- - '>='
|
200
|
+
- - ! '>='
|
129
201
|
- !ruby/object:Gem::Version
|
130
202
|
version: '0'
|
203
|
+
segments:
|
204
|
+
- 0
|
205
|
+
hash: -2752588305541383512
|
131
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
|
+
none: false
|
132
208
|
requirements:
|
133
|
-
- - '>='
|
209
|
+
- - ! '>='
|
134
210
|
- !ruby/object:Gem::Version
|
135
211
|
version: '0'
|
212
|
+
segments:
|
213
|
+
- 0
|
214
|
+
hash: -2752588305541383512
|
136
215
|
requirements: []
|
137
216
|
rubyforge_project:
|
138
|
-
rubygems_version:
|
217
|
+
rubygems_version: 1.8.25
|
139
218
|
signing_key:
|
140
|
-
specification_version:
|
219
|
+
specification_version: 3
|
141
220
|
summary: An API for database_cleaner remote wipes
|
142
221
|
test_files: []
|
metadata.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
^�PҥgB8�6���(�c�����k-���i�i�&I��Œ�ӛ[��D@�ݓ��B �|F@B/d�����
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 37f2daab2be71e5d98bdaede177ee178dc476f23
|
4
|
-
data.tar.gz: 5bff14bab383a928f2d0dc9a775c11855ff349da
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 0aab52bc67d1fa6f37804ad1db97fd0d0b694b17d8e9f1c58621298d5e748617281901cbdb733fc26d21661080cee43a071b37f5e2dbf7a05f9a207d6ff92bf4
|
7
|
-
data.tar.gz: 87117a8f3ffab847c0078beeaebf1e7403c07695c2efe8c572123431782a57a1821794276e25701713c1075c5fb3f1d98b4faeee427fe995f70ffdb70e3c3b4c
|