enhanced_date_select 1.2.1 → 1.2.3

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: 6ce7bcb5916d32b0840c8026441549c3dc657cdf
4
- data.tar.gz: af4b6b970d8160b52c98fddbeb38d89c583142f5
3
+ metadata.gz: 1c45e894d0c6f5f46f7f27f5033839e440e40bb4
4
+ data.tar.gz: 1514e8bd6cf242a95a9233ea6b8f224f078a6e11
5
5
  SHA512:
6
- metadata.gz: d5865aaaa30c4c07b51479d44bf3590a73c2ee010b2383d93396b39da03fb5a612ccb61ece092e068d6dc93f79196b99d339bd7a75aff8fc6dc4cc9e7ad5c895
7
- data.tar.gz: 49b1edef63a34e0e20bb5293ebe48675f8c4abdc0e0c1b7532229656191ba47f552264aecd3aa486ad19cb7e977218cb11b6a9fb8cd3cd61a51bc9bde5d55e0d
6
+ metadata.gz: 1caa645b2652c06a2ec37f46f68d70be9a30cbf607505b067c44c7788c47c803a3ce22ff26e88900ca16907a292792cc0ad44957ff25f0654498fc4814e53554
7
+ data.tar.gz: 2d81be690c010f0023d8eb6765360027e26bf18495fc88dd66784292a2c88726046aa4b9ce150d13326a1f412d956c9c329d1c8e9ebcbe86143faf21af207f59
data/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- require File.expand_path('../version', __FILE__)
2
+ require File.expand_path('../lib/version', __FILE__)
3
3
  require 'rubygems'
4
4
  require 'bundler/setup'
5
5
  require 'bundler/gem_tasks'
@@ -1,4 +1,4 @@
1
- require File.expand_path("../version", __FILE__)
1
+ require File.expand_path("../lib/version", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "enhanced_date_select"
@@ -9,9 +9,9 @@ Gem::Specification.new do |s|
9
9
  s.homepage = "http://github.com/bogdanRada/enhanced_date_select"
10
10
  s.description = "\"Enhances ActionView with a customizable date select form helper where any valid HTML attribute can be applied.\""
11
11
  s.authors = ["bogdanRada"]
12
-
12
+
13
13
  s.date = Date.today
14
-
14
+
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.rdoc"
@@ -21,21 +21,21 @@ Gem::Specification.new do |s|
21
21
  s.test_files = s.files.grep(/^(spec)/)
22
22
  s.require_paths = ["lib"]
23
23
  s.required_ruby_version = '>= 1.9'
24
-
24
+
25
25
  s.add_development_dependency 'appraisal', '~> 2.0', '>= 2.0'
26
26
  s.add_development_dependency 'coveralls','~> 0.8', '>= 0.8'
27
27
  s.add_development_dependency 'guard', '~> 2.13', '>= 2.13'
28
28
  s.add_development_dependency 'guard-rspec', '~> 4.6', '>= 4.6'
29
29
  s.add_development_dependency 'lorax', '~> 0', '>= 0.2'
30
30
  s.add_development_dependency 'mocha','~> 1.1', '>= 1.1.0'
31
- s.add_development_dependency 'nokogiri', '~> 1.6', '>= 1.6'
31
+ s.add_development_dependency 'nokogiri', '~> 1.6', '>= 1.6'
32
32
  s.add_development_dependency 'phare', '~> 0.7', '>= 0.7'
33
33
  s.add_development_dependency 'rake', '~> 10.4', '>= 10.4'
34
34
  s.add_development_dependency 'rspec-mocks', '~>3.3', '>= 3.3'
35
35
  s.add_development_dependency 'rspec-rails', '~> 3.3', '>= 3.3'
36
- s.add_development_dependency 'rubocop', '0.33'
37
- s.add_development_dependency 'shoulda', '~> 3.5', '>= 3.5.0'
36
+ s.add_development_dependency 'rubocop', '~>0.33' , '>= 0.33'
37
+ s.add_development_dependency 'shoulda', '~> 3.5', '>= 3.5.0'
38
38
  s.add_development_dependency 'simplecov', '~> 0.10', '>= 0.10'
39
39
  s.add_development_dependency 'simplecov-summary', '~> 0.0', '>= 0.0.4'
40
-
40
+
41
41
  end
data/lib/version.rb ADDED
@@ -0,0 +1,22 @@
1
+ # Returns the version of the currently loaded gem as a <tt>Gem::Version</tt>
2
+ module EnhancedDateSelect
3
+ # Returns the version of the currently loaded gem as a <tt>Gem::Version</tt>
4
+ def self.gem_version
5
+ Gem::Version.new VERSION::STRING
6
+ end
7
+
8
+ # the module that is used to generate the gem version
9
+ module VERSION
10
+ # the major version of the gem
11
+ MAJOR = 1
12
+ # the minor version of the gem
13
+ MINOR = 2
14
+ # the tiny version of the gem
15
+ TINY = 3
16
+ # if the version should be a e
17
+ PRE = nil
18
+
19
+ # the full version of the gem composed from major minor tiny and prerelease versions
20
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
21
+ end
22
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enhanced_date_select
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-13 00:00:00.000000000 Z
11
+ date: 2015-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -234,14 +234,20 @@ dependencies:
234
234
  name: rubocop
235
235
  requirement: !ruby/object:Gem::Requirement
236
236
  requirements:
237
- - - '='
237
+ - - "~>"
238
+ - !ruby/object:Gem::Version
239
+ version: '0.33'
240
+ - - ">="
238
241
  - !ruby/object:Gem::Version
239
242
  version: '0.33'
240
243
  type: :development
241
244
  prerelease: false
242
245
  version_requirements: !ruby/object:Gem::Requirement
243
246
  requirements:
244
- - - '='
247
+ - - "~>"
248
+ - !ruby/object:Gem::Version
249
+ version: '0.33'
250
+ - - ">="
245
251
  - !ruby/object:Gem::Version
246
252
  version: '0.33'
247
253
  - !ruby/object:Gem::Dependency
@@ -326,9 +332,9 @@ files:
326
332
  - Rakefile
327
333
  - enhanced_date_select.gemspec
328
334
  - lib/enhanced_date_select.rb
335
+ - lib/version.rb
329
336
  - spec/enhanced_date_select_spec.rb
330
337
  - spec/spec_helper.rb
331
- - version.rb
332
338
  homepage: http://github.com/bogdanRada/enhanced_date_select
333
339
  licenses:
334
340
  - MIT
data/version.rb DELETED
@@ -1,15 +0,0 @@
1
- module EnhancedDateSelect
2
- # Returns the version of the currently loaded Rails as a <tt>Gem::Version</tt>
3
- def self.gem_version
4
- Gem::Version.new VERSION::STRING
5
- end
6
-
7
- module VERSION
8
- MAJOR = 1
9
- MINOR = 2
10
- TINY = 1
11
- PRE = nil
12
-
13
- STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
14
- end
15
- end