smart-period 1.0.0 → 1.0.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/period/version.rb +3 -1
  3. data/period.gemspec +13 -13
  4. metadata +6 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd14ecdd3ede7c4ca9abb4fa8c06abf1a6cf07cc518492f964e607ae43a723ce
4
- data.tar.gz: 3245f5e367c91c2d20afa9ca6a90e86f00371a962436fd98a59d3ff97f6307ad
3
+ metadata.gz: 5df770ae3301222917ed286b21cd001dffedfabcbcd957b7645231a85dac6ea9
4
+ data.tar.gz: bd565e152c142c751229ff4e3fd8f17f0085f6445722902fb9ba5fe75af4ddf4
5
5
  SHA512:
6
- metadata.gz: 6ca42e1a8a26268ffeb33d04965c4494ffb4b334992e59289ff5c56dedc19ee110a8a2a9f0798cadb69337ea1df8d8670a6ca975058fb8c05ddf5103bd3ff0dd
7
- data.tar.gz: 5d728d18e9870ba11c348d3b137cf737f36c9ea57c31df0eb98ae9a3e986a431a0aa503d4784fa0214f2bc6d64e11614b91f523e826feec58625a37382b6bb20
6
+ metadata.gz: eef66c5e59a8054c20647d74cd7beb3749f6683fe359dd7f7effc31c2d659c624a3277b5378039089fd494175515d64cd77eb8a29e8a3ee3917bda65ec708b31
7
+ data.tar.gz: 737039391b6228fccabf86725e55e75aa0381044ffbd7d7887d9b480d264ccbaa3b4fcead214efbdbfaa83a24c334818c365cd276140302c2a14f0a11a15de5f
@@ -1,3 +1,5 @@
1
1
  module Period
2
- VERSION = '1.0.0'.freeze
2
+
3
+ VERSION = '1.0.1'.freeze
4
+
3
5
  end
@@ -8,23 +8,23 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ['billau_l']
9
9
  spec.email = ['billau_l@modulotech.fr']
10
10
 
11
- spec.summary = 'Write a short summary, because RubyGems requires one.'
12
- spec.description = 'Write a longer description or delete this line.'
13
- # spec.homepage = "Put your gem's website or public repo URL here."
11
+ spec.summary = 'Manage time ranges without brain damage.'
12
+ spec.description = "Period.new('01/01/2020'..Time.now)"
13
+ spec.homepage = "https://github.com/billaul/period"
14
14
  spec.license = 'MIT'
15
15
 
16
16
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
17
  # to allow pushing to a single host or delete this section to allow pushing to any host.
18
- # if spec.respond_to?(:metadata)
19
- # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
20
- #
21
- # spec.metadata["homepage_uri"] = spec.homepage
22
- # spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
23
- # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
24
- # else
25
- # raise "RubyGems 2.0 or newer is required to protect against " \
26
- # "public gem pushes."
27
- # end
18
+ if spec.respond_to?(:metadata)
19
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
20
+
21
+ spec.metadata["homepage_uri"] = spec.homepage
22
+ # spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
23
+ # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
24
+ else
25
+ raise "RubyGems 2.0 or newer is required to protect against " \
26
+ "public gem pushes."
27
+ end
28
28
 
29
29
  # Specify which files should be added to the gem when it is released.
30
30
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart-period
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - billau_l
@@ -66,7 +66,7 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '10.0'
69
- description: Write a longer description or delete this line.
69
+ description: Period.new('01/01/2020'..Time.now)
70
70
  email:
71
71
  - billau_l@modulotech.fr
72
72
  executables: []
@@ -106,10 +106,11 @@ files:
106
106
  - locales/en.yml
107
107
  - locales/fr.yml
108
108
  - period.gemspec
109
- homepage:
109
+ homepage: https://github.com/billaul/period
110
110
  licenses:
111
111
  - MIT
112
- metadata: {}
112
+ metadata:
113
+ homepage_uri: https://github.com/billaul/period
113
114
  post_install_message:
114
115
  rdoc_options: []
115
116
  require_paths:
@@ -129,5 +130,5 @@ requirements: []
129
130
  rubygems_version: 3.1.2
130
131
  signing_key:
131
132
  specification_version: 4
132
- summary: Write a short summary, because RubyGems requires one.
133
+ summary: Manage time ranges without brain damage.
133
134
  test_files: []