hanami-helpers 1.0.0.rc1 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58a60f67ff85ddb61e5a68b0a87f0f5a7ec2d22e
4
- data.tar.gz: 989297254b00238bb50d36e0e93c1dbf99c4ca2e
3
+ metadata.gz: fa41f81d01269e88ddcde3488cdc395b24487419
4
+ data.tar.gz: 9b5fee09a1aa741fc37361f47936b923511c06b9
5
5
  SHA512:
6
- metadata.gz: 2e887f237116bf1e037184901baaba9c7e93d4782ac85df6ddb196fadb359ebb8c88c72fb70278b108e445e307ec16b1ef91f013f0846a571e30593c72973349
7
- data.tar.gz: 48abb3ef35077c629b8ce0698564accb0ed23335a171baa518df256799770e0e2d81466a0ea75e8e72fc3380eaf14750859f7597bcd5346546e5584891f1f03d
6
+ metadata.gz: 1f04218c83fd34376c30c4eb2dc0b70e6d6b2660c37760319e96e05b04068997fb2a09eec79c27cca9e015b7f3bbea5355815fbe597b3b23c124536e489479a7
7
+ data.tar.gz: 9b8b4cec68ed485dcc11a46276d3e08956ac2510b355e816ed57dfb2883e0c253bf8e2819e85cd4d462b30be6fa727bc02362e693f96ca76f64ab28836811800
@@ -1,6 +1,8 @@
1
1
  # Hanami::Helpers
2
2
  View helpers for Ruby web applications
3
3
 
4
+ ## v1.0.0 - 2017-04-06
5
+
4
6
  ## v1.0.0.rc1 - 2017-03-31
5
7
 
6
8
  ## v1.0.0.beta2 - 2017-03-17
@@ -1,4 +1,5 @@
1
1
  # coding: utf-8
2
+
2
3
  lib = File.expand_path('../lib', __FILE__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'hanami/helpers/version'
@@ -20,7 +21,7 @@ Gem::Specification.new do |spec|
20
21
  spec.require_paths = ['lib']
21
22
  spec.required_ruby_version = '>= 2.3.0'
22
23
 
23
- spec.add_dependency 'hanami-utils', '~> 1.0.0.rc1'
24
+ spec.add_dependency 'hanami-utils', '~> 1.0'
24
25
 
25
26
  spec.add_development_dependency 'bundler', '~> 1.6'
26
27
  spec.add_development_dependency 'rake', '~> 11'
@@ -326,7 +326,7 @@ module Hanami
326
326
  # @param content [Symbol,String,NilClass] the content
327
327
  # @param attributes [Hash] HTML attributes to pass to the label tag
328
328
  #
329
- # @since 1.0.0.beta2
329
+ # @since 1.0.0
330
330
  #
331
331
  # @example Basic usage
332
332
  # <%=
@@ -572,7 +572,7 @@ module Hanami
572
572
  # @param name [Symbol] the input name
573
573
  # @param attributes [Hash] HTML attributes to pass to the input tag
574
574
  #
575
- # @since 1.0.0.beta2
575
+ # @since 1.0.0
576
576
  #
577
577
  # @example Basic usage
578
578
  # <%=
@@ -600,7 +600,7 @@ module Hanami
600
600
  # @param name [Symbol] the input name
601
601
  # @param attributes [Hash] HTML attributes to pass to the input tag
602
602
  #
603
- # @since 1.0.0.beta2
603
+ # @since 1.0.0
604
604
  #
605
605
  # @example Basic usage
606
606
  # <%=
@@ -628,7 +628,7 @@ module Hanami
628
628
  # @param name [Symbol] the input name
629
629
  # @param attributes [Hash] HTML attributes to pass to the input tag
630
630
  #
631
- # @since 1.0.0.beta2
631
+ # @since 1.0.0
632
632
  #
633
633
  # @example Basic usage
634
634
  # <%=
@@ -684,7 +684,7 @@ module Hanami
684
684
  # @param name [Symbol] the input name
685
685
  # @param attributes [Hash] HTML attributes to pass to the input tag
686
686
  #
687
- # @since 1.0.0.beta2
687
+ # @since 1.0.0
688
688
  #
689
689
  # @example Basic usage
690
690
  # <%=
@@ -715,7 +715,7 @@ module Hanami
715
715
  # @param name [Symbol] the input name
716
716
  # @param attributes [Hash] HTML attributes to pass to the input tag
717
717
  #
718
- # @since 1.0.0.beta2
718
+ # @since 1.0.0
719
719
  #
720
720
  # @example Basic usage
721
721
  # <%=
@@ -856,7 +856,7 @@ module Hanami
856
856
  # @param name [Symbol] the input name
857
857
  # @param attributes [Hash] HTML attributes to pass to the number input
858
858
  #
859
- # @since 1.0.0.beta2
859
+ # @since 1.0.0
860
860
  #
861
861
  # @example Basic usage
862
862
  # <%=
@@ -975,7 +975,7 @@ module Hanami
975
975
  # @param name [Symbol] the input name
976
976
  # @param attributes [Hash] HTML attributes to pass to the input tag
977
977
  #
978
- # @since 1.0.0.beta2
978
+ # @since 1.0.0
979
979
  #
980
980
  # @example Basic usage
981
981
  # <%=
@@ -1302,7 +1302,7 @@ module Hanami
1302
1302
  # @param content [String] The content
1303
1303
  # @param attributes [Hash] HTML attributes to pass to the button tag
1304
1304
  #
1305
- # @since 1.0.0.beta2
1305
+ # @since 1.0.0
1306
1306
  #
1307
1307
  # @example Basic usage
1308
1308
  # <%=
@@ -1335,7 +1335,7 @@ module Hanami
1335
1335
  # @param source [String] The **absolute URL** of the image
1336
1336
  # @param attributes [Hash] HTML attributes to pass to the button tag
1337
1337
  #
1338
- # @since 1.0.0.beta2
1338
+ # @since 1.0.0
1339
1339
  #
1340
1340
  # @example Basic usage
1341
1341
  # <%=
@@ -1462,7 +1462,7 @@ module Hanami
1462
1462
  # Input <tt>name</tt> HTML attribute
1463
1463
  #
1464
1464
  # @api private
1465
- # @since 1.0.0.beta1
1465
+ # @since 1.0.0
1466
1466
  def _displayed_input_name(name)
1467
1467
  _input_name(name).gsub(/\[\d+\]/, '[]')
1468
1468
  end
@@ -54,7 +54,7 @@ module Hanami
54
54
  result
55
55
  end
56
56
 
57
- # @since 1.0.0.beta1
57
+ # @since 1.0.0
58
58
  # @api private
59
59
  def _dig(base, key)
60
60
  case base
@@ -3,6 +3,6 @@ module Hanami
3
3
  # Define version
4
4
  #
5
5
  # @since 0.1.0
6
- VERSION = '1.0.0.rc1'.freeze
6
+ VERSION = '1.0.0'.freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-31 00:00:00.000000000 Z
11
+ date: 2017-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hanami-utils
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0.rc1
19
+ version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0.rc1
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -123,9 +123,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
123
  version: 2.3.0
124
124
  required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - ">"
126
+ - - ">="
127
127
  - !ruby/object:Gem::Version
128
- version: 1.3.1
128
+ version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
131
  rubygems_version: 2.6.11