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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30d3d6fb61fadfe42cb1b68e28ee31febc5c14db
4
- data.tar.gz: 3413a70030888435ed32146dba0e8e3ddc379560
3
+ metadata.gz: bbf0c85160e6f03e435e5c8cd3002883f16881f8
4
+ data.tar.gz: 832ed8dd09cb0f949c352fe31ec7025ce473a5f8
5
5
  SHA512:
6
- metadata.gz: 8ce3a5d10696968948d50b41e3762e2afd698987439a5c7ac58b6c8b268f9d806cb0fefdafb6d84c40255220add9e659a64c5f1e622d2f66b9b7a843ab288854
7
- data.tar.gz: 8ef16ab77d836e6fb0ca32871c6f70f68f99366abd9a6f9720d7e359a9acecab1b0a7a845dc9f42d6766dcf6d4bdfe7966df2d783f56d994bd128412d36e5546
6
+ metadata.gz: b57c1ccca319e9ad9a5540884df5b32837db8a60151750619435205920a05d5bb8b46758a4f1163aba265e162345315869233f55f995479d876e3c0f2459eb9c
7
+ data.tar.gz: 8134bd168033a61a6588f5a3538c6ab52f5e18e00353e8b2a03f6108cbdc8dcd23cf9705e4bdfd50953a495f4f9e309be613c208111e5db82a707efa507c6e22
@@ -1 +1 @@
1
- 2.1.2
1
+ ruby
@@ -1,6 +1,7 @@
1
- require 'active_record/connection_adapters/column'
2
- require 'time_for_a_boolean/version'
3
- require 'time_for_a_boolean/railtie'
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)
@@ -1,3 +1,3 @@
1
1
  module TimeForABoolean
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
@@ -1,29 +1,30 @@
1
1
  # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
2
+ lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'time_for_a_boolean/version'
4
+ require "time_for_a_boolean/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = 'time_for_a_boolean'
8
- spec.version = TimeForABoolean::VERSION
9
- spec.authors = ['Caleb Thompson']
10
- spec.email = ['caleb@calebthompson.io']
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 = 'Back boolean values with timestamps'
16
- spec.homepage = 'https://github.com/calebthompson/time_for_a_boolean'
17
- spec.license = 'MIT'
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 = `git ls-files`.split($/)
20
- spec.test_files = spec.files.grep(%r{^spec/})
21
- spec.require_paths = ['lib']
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 'rails'
23
+ spec.add_dependency "activerecord"
24
+ spec.add_dependency "railties"
24
25
 
25
- spec.add_development_dependency 'bundler', '~> 1.3'
26
- spec.add_development_dependency 'coveralls'
27
- spec.add_development_dependency 'rake'
28
- spec.add_development_dependency 'rspec'
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.5
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: 2014-10-06 00:00:00.000000000 Z
11
+ date: 2015-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rails
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: '1.3'
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: '1.3'
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.2.2
139
+ rubygems_version: 2.4.6
126
140
  signing_key:
127
141
  specification_version: 4
128
142
  summary: Back boolean values with timestamps