fe_core_ext 0.1.13 → 0.1.14

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: 3037a04f2ca1469de0c047179796871ff906f830
4
- data.tar.gz: a2ec715a51eb0eb5f29e017035829b2737887d5b
3
+ metadata.gz: 55005bb178154452a478eb3c732714e383bb89de
4
+ data.tar.gz: 2bd8a35430057bf7fb117e713c5c1aaf2d37a30a
5
5
  SHA512:
6
- metadata.gz: 6908bb1c45c1b2252e9c4e593cf8d2a6e6e739165d6e618314c457567f5fbb79b54b520b62d170e364d1e32269f6e8766beaf3fb1fbe7b833b75c8c47bd4b210
7
- data.tar.gz: 710a47003bb916a131e049a795ac48da1b4d8346bfd64c06c5eb18ce7a9dd35f87fab6d946deb4c6fb95281cf2fa955b06fdae0d798051d1b115573734cf0213
6
+ metadata.gz: 96674bc2c7b3bc011a21dfa9564a17be4c3278b054647542ecf5bbab9a5d31abdb2af92a9834b6e8547da2c37c7549de8c451682716486d7a921d4be638c2d88
7
+ data.tar.gz: e048b926098b9ebd5172022e8fd7e9c481d396c3e3dcd6196760c4b5d31ef8b3f2a63843e88100340c116e27b6ba71975772b72c3169ec409c5bc53ad1f74b2a
data/fe_core_ext.gemspec CHANGED
@@ -19,8 +19,9 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_development_dependency "bundler", "~> 1.10"
23
- spec.add_development_dependency "rake", "~> 10.0"
22
+ spec.add_runtime_dependency 'activesupport'
23
+ spec.add_development_dependency 'bundler', '~> 1.10'
24
+ spec.add_development_dependency 'rake', '~> 10.0'
24
25
  spec.add_development_dependency 'rspec', '~> 0'
25
26
  spec.add_development_dependency 'selenium-webdriver', '~> 0'
26
27
  end
@@ -0,0 +1,16 @@
1
+ require 'pathname'
2
+ require 'yaml'
3
+
4
+ module FeCoreExt::CoreExt
5
+ end
6
+
7
+ module FeCoreExt::CoreExt::Pathname
8
+ def load_yaml
9
+ return unless exist?
10
+ YAML.load_file(self)
11
+ end
12
+ end
13
+
14
+ class Pathname
15
+ include FeCoreExt::CoreExt::Pathname
16
+ end
@@ -1,3 +1,3 @@
1
1
  module FeCoreExt
2
- VERSION = '0.1.13'
2
+ VERSION = '0.1.14'
3
3
  end
data/lib/fe_core_ext.rb CHANGED
@@ -2,6 +2,7 @@ require 'fe_core_ext/version'
2
2
  require 'fe_core_ext/core_ext/array'
3
3
  require 'fe_core_ext/core_ext/string'
4
4
  require 'fe_core_ext/core_ext/csv'
5
+ require 'fe_core_ext/core_ext/pathname'
5
6
 
6
7
  module FeCoreExt
7
8
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fe_core_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-01 00:00:00.000000000 Z
11
+ date: 2016-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -86,6 +100,7 @@ files:
86
100
  - lib/fe_core_ext.rb
87
101
  - lib/fe_core_ext/core_ext/array.rb
88
102
  - lib/fe_core_ext/core_ext/csv.rb
103
+ - lib/fe_core_ext/core_ext/pathname.rb
89
104
  - lib/fe_core_ext/core_ext/string.rb
90
105
  - lib/fe_core_ext/gem_ext.rb
91
106
  - lib/fe_core_ext/gem_ext/selenium_webdriver.rb