padrino-support 0.13.3.4 → 0.14.0.rc1

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: 44f29710d53c72eb95b98327aa2f3bd23c6f7ef4
4
- data.tar.gz: ec65408ee0e6e9d7f796c84710b389297d9cad63
3
+ metadata.gz: 0f074050ef78b1af579c9b9e436c30603c61e9d0
4
+ data.tar.gz: be07d1666759dd7e63f15a34596fc88b23e6641f
5
5
  SHA512:
6
- metadata.gz: bee2e7a63373bf859359a63867e9f2730e91cbe7972500da0cbff838263c3d8a867394d671b55198852fdf44410a008891a910392e24cea62683ff6c13b5637f
7
- data.tar.gz: fd0a247994853c4d3803554406048387c7c1994dfb3366fbdbc0bd13abfd791370a49997183b1c5ff0a62da3b0e023dacd062bc8bbbe4667bc983ff398268aac
6
+ metadata.gz: 0e59145d73a2b39bc2777b81e731d4d0e10eca05f3426da02f0006e5a6baa230178704ef6be970befac8665111ddab5b45041cfdc213984735be7bca004b69a1
7
+ data.tar.gz: d742cd5e1f270b2a0a2f9099b41f141570165a94470c295389b80fba8b9bfd78e310e3a44997dc8ef0eeed8bb800bf63854e498862dd23f22a3bf5611b90cdf5
@@ -1,28 +1,27 @@
1
1
  ##
2
- # This file loads certain extensions required by Padrino from ActiveSupport.
2
+ # This file loads certain extensions required by Padrino.
3
3
  #
4
-
5
- # Remove these on 0.14:
6
- require 'active_support/core_ext/string/output_safety' # SafeBuffer and html_safe
7
- require 'active_support/core_ext/object/blank' # present?
8
- require 'active_support/core_ext/hash/keys' # symbolize_keys
9
- require 'active_support/core_ext/hash/indifferent_access' # params[:foo]
10
- require 'active_support/core_ext/hash/reverse_merge' # reverse_merge
11
- require 'active_support/core_ext/module/aliasing' # alias_method_chain
12
- require 'active_support/core_ext/array/extract_options' # Array#extract_options!
13
- require 'active_support/core_ext/hash/slice' # slice
14
- begin
15
- require 'active_support/core_ext/object/deep_dup' # AS 4.1
16
- rescue LoadError
17
- require 'active_support/core_ext/hash/deep_dup' # AS >= 3.1
18
- end
19
-
20
-
21
4
  require 'padrino-support/core_ext/string/colorize'
22
5
  require 'padrino-support/core_ext/object_space'
23
6
  require 'padrino-support/file_set'
24
7
  require 'padrino-support/utils'
25
8
 
9
+ if ENV["AS_VERSION"]
10
+ # require ActiveSupport features for tests or legacy projects
11
+ require 'active_support/core_ext/string/output_safety' # SafeBuffer and html_safe
12
+ require 'active_support/core_ext/object/blank' # present?
13
+ require 'active_support/core_ext/hash/keys' # symbolize_keys
14
+ require 'active_support/core_ext/hash/indifferent_access' # params[:foo]
15
+ require 'active_support/core_ext/hash/reverse_merge' # reverse_merge
16
+ require 'active_support/core_ext/module/aliasing' # alias_method_chain
17
+ require 'active_support/core_ext/array/extract_options' # Array#extract_options!
18
+ require 'active_support/core_ext/hash/slice' # slice
19
+ begin
20
+ require 'active_support/core_ext/object/deep_dup' # AS 4.1
21
+ rescue LoadError
22
+ require 'active_support/core_ext/hash/deep_dup' # AS >= 3.1
23
+ end
24
+ end
26
25
 
27
26
  ##
28
27
  # Loads our locale configuration files
@@ -22,6 +22,4 @@ Gem::Specification.new do |s|
22
22
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
23
23
  s.require_paths = ["lib"]
24
24
  s.rdoc_options = ["--charset=UTF-8"]
25
-
26
- s.add_dependency("activesupport", ">= 3.1")
27
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.3.4
4
+ version: 0.14.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -12,22 +12,8 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2017-06-10 00:00:00.000000000 Z
16
- dependencies:
17
- - !ruby/object:Gem::Dependency
18
- name: activesupport
19
- requirement: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: '3.1'
24
- type: :runtime
25
- prerelease: false
26
- version_requirements: !ruby/object:Gem::Requirement
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- version: '3.1'
15
+ date: 2016-11-02 00:00:00.000000000 Z
16
+ dependencies: []
31
17
  description: A number of support methods and extensions for Padrino framework
32
18
  email: padrinorb@gmail.com
33
19
  executables: []
@@ -87,12 +73,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
73
  version: '0'
88
74
  required_rubygems_version: !ruby/object:Gem::Requirement
89
75
  requirements:
90
- - - ">="
76
+ - - ">"
91
77
  - !ruby/object:Gem::Version
92
- version: 1.3.6
78
+ version: 1.3.1
93
79
  requirements: []
94
80
  rubyforge_project: padrino-support
95
- rubygems_version: 2.6.12
81
+ rubygems_version: 2.6.6
96
82
  signing_key:
97
83
  specification_version: 4
98
84
  summary: Support for padrino