time_for_a_boolean 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/lib/time_for_a_boolean.rb +4 -3
- data/lib/time_for_a_boolean/version.rb +1 -1
- data/time_for_a_boolean.gemspec +18 -17
- metadata +22 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbf0c85160e6f03e435e5c8cd3002883f16881f8
|
4
|
+
data.tar.gz: 832ed8dd09cb0f949c352fe31ec7025ce473a5f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b57c1ccca319e9ad9a5540884df5b32837db8a60151750619435205920a05d5bb8b46758a4f1163aba265e162345315869233f55f995479d876e3c0f2459eb9c
|
7
|
+
data.tar.gz: 8134bd168033a61a6588f5a3538c6ab52f5e18e00353e8b2a03f6108cbdc8dcd23cf9705e4bdfd50953a495f4f9e309be613c208111e5db82a707efa507c6e22
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
ruby
|
data/lib/time_for_a_boolean.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
require
|
2
|
-
require
|
3
|
-
require
|
1
|
+
require "active_support/core_ext/module/delegation"
|
2
|
+
require "active_record/connection_adapters/column"
|
3
|
+
require "time_for_a_boolean/version"
|
4
|
+
require "time_for_a_boolean/railtie"
|
4
5
|
|
5
6
|
module TimeForABoolean
|
6
7
|
def time_for_a_boolean(attribute)
|
data/time_for_a_boolean.gemspec
CHANGED
@@ -1,29 +1,30 @@
|
|
1
1
|
# coding: utf-8
|
2
|
-
lib = File.expand_path(
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require
|
4
|
+
require "time_for_a_boolean/version"
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name
|
8
|
-
spec.version
|
9
|
-
spec.authors
|
10
|
-
spec.email
|
7
|
+
spec.name = "time_for_a_boolean"
|
8
|
+
spec.version = TimeForABoolean::VERSION
|
9
|
+
spec.authors = ["Caleb Thompson"]
|
10
|
+
spec.email = ["caleb@calebthompson.io"]
|
11
11
|
spec.description = <<-DESCRIPTION
|
12
12
|
Use timestamp values to represent boolean data such as deleted, published,
|
13
13
|
or subscribed.
|
14
14
|
DESCRIPTION
|
15
|
-
spec.summary
|
16
|
-
spec.homepage
|
17
|
-
spec.license
|
15
|
+
spec.summary = "Back boolean values with timestamps"
|
16
|
+
spec.homepage = "https://github.com/calebthompson/time_for_a_boolean"
|
17
|
+
spec.license = "MIT"
|
18
18
|
|
19
|
-
spec.files
|
20
|
-
spec.test_files
|
21
|
-
spec.require_paths = [
|
19
|
+
spec.files = `git ls-files`.split($/)
|
20
|
+
spec.test_files = spec.files.grep(%r{^spec/})
|
21
|
+
spec.require_paths = ["lib"]
|
22
22
|
|
23
|
-
spec.add_dependency
|
23
|
+
spec.add_dependency "activerecord"
|
24
|
+
spec.add_dependency "railties"
|
24
25
|
|
25
|
-
spec.add_development_dependency
|
26
|
-
spec.add_development_dependency
|
27
|
-
spec.add_development_dependency
|
28
|
-
spec.add_development_dependency
|
26
|
+
spec.add_development_dependency "bundler"
|
27
|
+
spec.add_development_dependency "coveralls"
|
28
|
+
spec.add_development_dependency "rake"
|
29
|
+
spec.add_development_dependency "rspec"
|
29
30
|
end
|
metadata
CHANGED
@@ -1,17 +1,31 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: time_for_a_boolean
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Thompson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activerecord
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: railties
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
31
|
- - ">="
|
@@ -28,16 +42,16 @@ dependencies:
|
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
|
-
- - "
|
45
|
+
- - ">="
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
47
|
+
version: '0'
|
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: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: coveralls
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
136
|
version: '0'
|
123
137
|
requirements: []
|
124
138
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.
|
139
|
+
rubygems_version: 2.4.6
|
126
140
|
signing_key:
|
127
141
|
specification_version: 4
|
128
142
|
summary: Back boolean values with timestamps
|