flextures 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.ja.rdoc +0 -4
- data/README.rdoc +0 -8
- data/VERSION +1 -1
- data/flextures.gemspec +2 -2
- data/lib/flextures/flextures.rb +1 -0
- data/lib/flextures/flextures_loader.rb +1 -2
- metadata +7 -7
data/README.ja.rdoc
CHANGED
@@ -26,10 +26,6 @@ gem化されているので、bundlerで次のように記述して、普通にb
|
|
26
26
|
|
27
27
|
gem "flextures"
|
28
28
|
|
29
|
-
現在flexturesは機能を追加したバージョンアップをした3系への移行作業途中で
|
30
|
-
ソースコード、マニュアルは3系のものになっています
|
31
|
-
最新版のソースコードはgithub上に挙げられているのでbundlerにguthubのリポジトリのURLを追加して下さい
|
32
|
-
|
33
29
|
ちなみに開発環境はruby1.9以上のバージョン、rails3以上、もしくはPadrinoを想定しています
|
34
30
|
|
35
31
|
== 使い方
|
data/README.rdoc
CHANGED
@@ -26,14 +26,6 @@ Please use bundler.
|
|
26
26
|
|
27
27
|
gem "flextures"
|
28
28
|
|
29
|
-
curent flextures is developping version3.0
|
30
|
-
|
31
|
-
This document and sourcecode and documents(readme.rdoc,wiki) write about version flextures 3.0 (current released version is 2.1.0)
|
32
|
-
if you want to use flextures3.0
|
33
|
-
your Gemfile should set option github url
|
34
|
-
|
35
|
-
gem "flextures", git:"https://github.com/baban/flextures"
|
36
|
-
|
37
29
|
(Development emnvoriment must be ruby1.9 higer and rails3 higher)
|
38
30
|
|
39
31
|
== How to use
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1
|
data/flextures.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "flextures"
|
8
|
-
s.version = "3.0.
|
8
|
+
s.version = "3.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["baban"]
|
12
|
-
s.date = "2013-06-
|
12
|
+
s.date = "2013-06-27"
|
13
13
|
s.description = "load and dump fixtures"
|
14
14
|
s.email = "babanba.n@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/flextures/flextures.rb
CHANGED
@@ -125,6 +125,7 @@ module Flextures
|
|
125
125
|
table_names = table_names.map{ |option| option.merge silent: true } if ENV["OPTION"].to_s.split(",").include?("silent")
|
126
126
|
table_names = table_names.map{ |option| option.merge unfilter: true } if ENV["OPTION"].to_s.split(",").include?("unfilter")
|
127
127
|
table_names = table_names.map{ |option| option.merge strict: true } if ENV["OPTION"].to_s.split(",").include?("strict")
|
128
|
+
table_names = table_names.map{ |option| option.merge stair: true } if ENV["OPTION"].to_s.split(",").include?("stair")
|
128
129
|
|
129
130
|
# if mode is 'read mode' and file is not exist value is not return
|
130
131
|
table_names.select! &exist if option[:mode] && option[:mode] == 'read'
|
@@ -10,7 +10,7 @@ require 'flextures/flextures_factory'
|
|
10
10
|
|
11
11
|
module Flextures
|
12
12
|
# data loader
|
13
|
-
module Loader
|
13
|
+
module Loader
|
14
14
|
PARENT = Flextures
|
15
15
|
|
16
16
|
@@option_cache = {}
|
@@ -245,7 +245,6 @@ module Flextures
|
|
245
245
|
return ["#{file_path}.csv", :csv] if type.member?(:csv) and File.exist? "#{file_path}.csv"
|
246
246
|
return ["#{file_path}.yml", :yml] if type.member?(:yml) and File.exist? "#{file_path}.yml"
|
247
247
|
end
|
248
|
-
|
249
248
|
[ File.join(base_dir_name, "#{file_name}.csv"), nil ]
|
250
249
|
end
|
251
250
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flextures
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
|
-
requirement: &
|
16
|
+
requirement: &70356824923140 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - =
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.3.5
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70356824923140
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jeweler
|
27
|
-
requirement: &
|
27
|
+
requirement: &70356824922280 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - =
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 1.8.3
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70356824922280
|
36
36
|
description: load and dump fixtures
|
37
37
|
email: babanba.n@gmail.com
|
38
38
|
executables: []
|
@@ -89,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
89
|
version: '0'
|
90
90
|
segments:
|
91
91
|
- 0
|
92
|
-
hash: -
|
92
|
+
hash: -140287376495517345
|
93
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|