ransack_chronic 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: df0bc946e6c4e673c495f4a7e7143488d7f504d9cf17dab6346f4f692990ad5e
4
+ data.tar.gz: 032e261cd9596c5b9c99c65daa661a6d14bd90e0b73d8657411ab94b4e39182b
5
+ SHA512:
6
+ metadata.gz: bd79ec7ae181f3b58fad3cd7281d4df229f75bb8a1da83307779d5d73309f6bb75c8d4dfcacabf17a8e854eca16a39105882788f3afc897c880072b177a334e0
7
+ data.tar.gz: 1d02c6d089254c2bddb498c4c07f09022b738adcdbe199c42ea762fc07acb4095f16a482afab70feba762e225b687024ce923df3b5af62e61e797a7dad0e2c97
@@ -1,3 +1,3 @@
1
1
  module RansackChronic
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -1,5 +1,3 @@
1
- require 'ransack/nodes'
2
-
3
1
  # Add Chronic parsing to date and time casting
4
2
  module Ransack
5
3
  module Nodes
@@ -1,7 +1,5 @@
1
- # -*- encoding: utf-8 -*-
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'ransack_chronic/version'
1
+ # encoding: utf-8
2
+ require_relative 'lib/ransack_chronic/version'
5
3
 
6
4
  Gem::Specification.new do |gem|
7
5
  gem.name = "ransack_chronic"
@@ -10,7 +8,7 @@ Gem::Specification.new do |gem|
10
8
  gem.email = ["nathan.f77@gmail.com"]
11
9
  gem.description = %q{Parse time/date natural language query strings with Chronic}
12
10
  gem.summary = %q{Parse time/date query strings with Chronic}
13
- gem.homepage = ""
11
+ gem.homepage = "https://github.com/ndbroadbent/ransack_chronic"
14
12
  gem.license = "MIT"
15
13
 
16
14
  gem.files = `git ls-files`.split($/)
@@ -18,5 +16,6 @@ Gem::Specification.new do |gem|
18
16
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
17
  gem.require_paths = ["lib"]
20
18
 
21
- gem.add_dependency 'chronic', '>= 0.6.7'
19
+ gem.add_dependency 'chronic', '~> 0.10.2', '>= 0.10.2'
20
+ gem.add_dependency 'ransack', '~> 4.0'
22
21
  end
metadata CHANGED
@@ -1,32 +1,48 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ransack_chronic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
5
- prerelease:
4
+ version: 1.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Nathan Broadbent
9
- autorequire:
10
8
  bindir: bin
11
9
  cert_chain: []
12
- date: 2012-12-20 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
13
11
  dependencies:
14
12
  - !ruby/object:Gem::Dependency
15
13
  name: chronic
16
14
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
15
  requirements:
19
- - - ! '>='
16
+ - - "~>"
20
17
  - !ruby/object:Gem::Version
21
- version: 0.6.7
18
+ version: 0.10.2
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: 0.10.2
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: 0.10.2
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 0.10.2
32
+ - !ruby/object:Gem::Dependency
33
+ name: ransack
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - "~>"
37
+ - !ruby/object:Gem::Version
38
+ version: '4.0'
22
39
  type: :runtime
23
40
  prerelease: false
24
41
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
42
  requirements:
27
- - - ! '>='
43
+ - - "~>"
28
44
  - !ruby/object:Gem::Version
29
- version: 0.6.7
45
+ version: '4.0'
30
46
  description: Parse time/date natural language query strings with Chronic
31
47
  email:
32
48
  - nathan.f77@gmail.com
@@ -34,7 +50,7 @@ executables: []
34
50
  extensions: []
35
51
  extra_rdoc_files: []
36
52
  files:
37
- - .gitignore
53
+ - ".gitignore"
38
54
  - Gemfile
39
55
  - LICENSE.txt
40
56
  - README.md
@@ -43,35 +59,25 @@ files:
43
59
  - lib/ransack_chronic/version.rb
44
60
  - lib/ransack_overrides/nodes/value.rb
45
61
  - ransack_chronic.gemspec
46
- homepage: ''
62
+ homepage: https://github.com/ndbroadbent/ransack_chronic
47
63
  licenses:
48
64
  - MIT
49
- post_install_message:
65
+ metadata: {}
50
66
  rdoc_options: []
51
67
  require_paths:
52
68
  - lib
53
69
  required_ruby_version: !ruby/object:Gem::Requirement
54
- none: false
55
70
  requirements:
56
- - - ! '>='
71
+ - - ">="
57
72
  - !ruby/object:Gem::Version
58
73
  version: '0'
59
- segments:
60
- - 0
61
- hash: 3477056354571484605
62
74
  required_rubygems_version: !ruby/object:Gem::Requirement
63
- none: false
64
75
  requirements:
65
- - - ! '>='
76
+ - - ">="
66
77
  - !ruby/object:Gem::Version
67
78
  version: '0'
68
- segments:
69
- - 0
70
- hash: 3477056354571484605
71
79
  requirements: []
72
- rubyforge_project:
73
- rubygems_version: 1.8.24
74
- signing_key:
75
- specification_version: 3
80
+ rubygems_version: 3.6.9
81
+ specification_version: 4
76
82
  summary: Parse time/date query strings with Chronic
77
83
  test_files: []