guard_against_physical_delete 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +5 -4
- data/Gemfile +2 -19
- data/Rakefile +1 -36
- data/guard_against_physical_delete.gemspec +10 -33
- metadata +45 -18
- data/VERSION +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02c2548cfaa8943a5e4a5daf8346e8eb9adb291b
|
4
|
+
data.tar.gz: bd9b86a8934b5f991ed03ca4b3fa32afcc2e5d3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc3c00bbdfa6c8c31be45d8ca7ee59f69d01cf5dda46c1931f2d3bd0301ab9e25c757281ccfe064c5d8e5882955433d723e690543388ef4ba8d566bd696cfa9b
|
7
|
+
data.tar.gz: 8831b00d3ac1a863ef5e0f411322cca1ea2b0a46f44b3a2010849ff699811342c893ba433adcfef4660a48b38d1ead177d21cfc4e39d61b1aa0e43a4632db004
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -1,20 +1,3 @@
|
|
1
|
-
source "
|
2
|
-
# Add dependencies required to use your gem here.
|
3
|
-
# Example:
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
1
|
+
source "https://rubygems.org"
|
5
2
|
|
6
|
-
|
7
|
-
# Include everything needed to run rake, tests, features, etc.
|
8
|
-
gem 'activerecord', '>= 3.0.10'
|
9
|
-
gem "bundler"
|
10
|
-
|
11
|
-
group :development do
|
12
|
-
gem 'sqlite3'
|
13
|
-
gem "rdoc", "~> 3.12"
|
14
|
-
gem "jeweler", "~> 1.8.3"
|
15
|
-
gem 'database_cleaner'
|
16
|
-
|
17
|
-
gem 'rspec', '< 2.99'
|
18
|
-
gem 'simplecov', :platforms => [:ruby_19, :ruby_20, :ruby_21]
|
19
|
-
gem 'countdownlatch'
|
20
|
-
end
|
3
|
+
gemspec
|
data/Rakefile
CHANGED
@@ -1,48 +1,13 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
-
require '
|
4
|
-
require 'bundler'
|
5
|
-
begin
|
6
|
-
Bundler.setup(:default, :development)
|
7
|
-
rescue Bundler::BundlerError => e
|
8
|
-
$stderr.puts e.message
|
9
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
-
exit e.status_code
|
11
|
-
end
|
12
|
-
require 'rake'
|
13
|
-
|
14
|
-
require 'jeweler'
|
15
|
-
Jeweler::Tasks.new do |gem|
|
16
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
|
-
gem.name = "guard_against_physical_delete"
|
18
|
-
gem.homepage = "http://github.com/cookpad/guard_against_physical_delete"
|
19
|
-
#gem.license = "MIT"
|
20
|
-
gem.summary = "Guard against physical delete"
|
21
|
-
gem.description = "Guard against physical delete"
|
22
|
-
gem.email = "morita@cookpad.com"
|
23
|
-
gem.authors = ["MORITA shingo"]
|
24
|
-
# dependencies defined in Gemfile
|
25
|
-
end
|
26
|
-
Jeweler::RubygemsDotOrgTasks.new
|
27
|
-
|
28
|
-
|
29
|
-
Dir['lib/tasks/*.rake'].each { |rake| load rake }
|
3
|
+
require 'bundler/gem_tasks'
|
30
4
|
|
31
|
-
require 'rspec/core'
|
32
5
|
require 'rspec/core/rake_task'
|
33
6
|
|
34
7
|
RSpec::Core::RakeTask.new(:spec)
|
35
8
|
|
36
9
|
task :default => :spec
|
37
10
|
|
38
|
-
desc "Run all specs with rcov"
|
39
|
-
RSpec::Core::RakeTask.new(:rcov) do |t|
|
40
|
-
t.rcov = true
|
41
|
-
t.rcov_opts = %w{--rails --exclude osx\/objc,gems\/,spec\/,features\/}
|
42
|
-
end
|
43
|
-
|
44
|
-
task :default => :spec
|
45
|
-
|
46
11
|
require 'rdoc/task'
|
47
12
|
Rake::RDocTask.new do |rdoc|
|
48
13
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
@@ -1,11 +1,8 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
5
2
|
|
6
3
|
Gem::Specification.new do |s|
|
7
4
|
s.name = "guard_against_physical_delete"
|
8
|
-
s.version = "1.0.
|
5
|
+
s.version = "1.0.2"
|
9
6
|
|
10
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
8
|
s.authors = ["MORITA shingo"]
|
@@ -21,34 +18,14 @@ Gem::Specification.new do |s|
|
|
21
18
|
s.rubygems_version = "1.8.15"
|
22
19
|
s.summary = "Guard against physical delete"
|
23
20
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
34
|
-
s.add_development_dependency(%q<database_cleaner>, [">= 0"])
|
35
|
-
else
|
36
|
-
s.add_dependency(%q<activerecord>, [">= 3.0.10"])
|
37
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
38
|
-
s.add_dependency(%q<sqlite3>, [">= 0"])
|
39
|
-
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
40
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
41
|
-
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
42
|
-
s.add_dependency(%q<database_cleaner>, [">= 0"])
|
43
|
-
end
|
44
|
-
else
|
45
|
-
s.add_dependency(%q<activerecord>, [">= 3.0.10"])
|
46
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
47
|
-
s.add_dependency(%q<sqlite3>, [">= 0"])
|
48
|
-
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
49
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
50
|
-
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
51
|
-
s.add_dependency(%q<database_cleaner>, [">= 0"])
|
52
|
-
end
|
21
|
+
s.add_runtime_dependency "activerecord", ">= 3.0.10"
|
22
|
+
s.add_development_dependency "rake", "< 12.0"
|
23
|
+
s.add_development_dependency "rspec", "< 2.99"
|
24
|
+
s.add_development_dependency "sqlite3"
|
25
|
+
s.add_development_dependency "rdoc", "~> 3.12"
|
26
|
+
s.add_development_dependency "bundler"
|
27
|
+
s.add_development_dependency "database_cleaner"
|
28
|
+
s.add_development_dependency "simplecov"
|
29
|
+
s.add_development_dependency "countdownlatch"
|
53
30
|
end
|
54
31
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard_against_physical_delete
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MORITA shingo
|
@@ -24,20 +24,34 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.0.10
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '12.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "<"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '12.0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rspec
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
|
-
- - "
|
45
|
+
- - "<"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
47
|
+
version: '2.99'
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- - "
|
52
|
+
- - "<"
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
54
|
+
version: '2.99'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: sqlite3
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,32 +84,46 @@ dependencies:
|
|
70
84
|
name: bundler
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- - "
|
87
|
+
- - ">="
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
89
|
+
version: '0'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- - "
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: database_cleaner
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
81
109
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
110
|
+
version: '0'
|
83
111
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
112
|
+
name: simplecov
|
85
113
|
requirement: !ruby/object:Gem::Requirement
|
86
114
|
requirements:
|
87
|
-
- - "
|
115
|
+
- - ">="
|
88
116
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
117
|
+
version: '0'
|
90
118
|
type: :development
|
91
119
|
prerelease: false
|
92
120
|
version_requirements: !ruby/object:Gem::Requirement
|
93
121
|
requirements:
|
94
|
-
- - "
|
122
|
+
- - ">="
|
95
123
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
124
|
+
version: '0'
|
97
125
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
126
|
+
name: countdownlatch
|
99
127
|
requirement: !ruby/object:Gem::Requirement
|
100
128
|
requirements:
|
101
129
|
- - ">="
|
@@ -121,7 +149,6 @@ files:
|
|
121
149
|
- License.txt
|
122
150
|
- README.rdoc
|
123
151
|
- Rakefile
|
124
|
-
- VERSION
|
125
152
|
- guard_against_physical_delete.gemspec
|
126
153
|
- lib/guard_against_physical_delete.rb
|
127
154
|
- lib/guard_against_physical_delete/base.rb
|
@@ -150,8 +177,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
177
|
version: '0'
|
151
178
|
requirements: []
|
152
179
|
rubyforge_project:
|
153
|
-
rubygems_version: 2.4.5.
|
180
|
+
rubygems_version: 2.4.5.2
|
154
181
|
signing_key:
|
155
|
-
specification_version:
|
182
|
+
specification_version: 4
|
156
183
|
summary: Guard against physical delete
|
157
184
|
test_files: []
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.0.1
|