dao 5.5.1 → 5.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Rakefile +5 -5
  2. data/dao.gemspec +1 -4
  3. data/lib/dao.rb +1 -1
  4. metadata +2 -4
  5. data/a.rb +0 -7
  6. data/notes/ara.txt +0 -11
data/Rakefile CHANGED
@@ -62,8 +62,8 @@ end
62
62
 
63
63
  task :gemspec do
64
64
  ignore_extensions = ['git', 'svn', 'tmp', /sw./, 'bak', 'gem']
65
- ignore_directories = ['pkg']
66
- ignore_files = ['test/log']
65
+ ignore_directories = ['pkg', 'notes']
66
+ ignore_files = ['test/log', 'a.rb']
67
67
 
68
68
  shiteless =
69
69
  lambda do |list|
@@ -73,9 +73,9 @@ task :gemspec do
73
73
  ignore_extensions.any?{|ext| ext === extension}
74
74
  end
75
75
  list.delete_if do |entry|
76
- next unless test(?d, entry)
77
- dirname = File.expand_path(entry)
78
- ignore_directories.any?{|dir| File.expand_path(dir) == dirname}
76
+ #next unless test(?d, entry)
77
+ path = File.expand_path(entry)
78
+ ignore_directories.any?{|dir| path =~ /^#{ Regexp.escape(File.expand_path(dir)) }/}
79
79
  end
80
80
  list.delete_if do |entry|
81
81
  next unless test(?f, entry)
data/dao.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "dao"
6
- spec.version = "5.5.1"
6
+ spec.version = "5.5.2"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "dao"
9
9
  spec.description = "presenter, conducer, api, and better form objects for you rails' pleasure"
@@ -14,7 +14,6 @@ Gem::Specification::new do |spec|
14
14
  "Gemfile.lock",
15
15
  "README",
16
16
  "Rakefile",
17
- "a.rb",
18
17
  "dao.gemspec",
19
18
  "lib",
20
19
  "lib/dao",
@@ -86,8 +85,6 @@ Gem::Specification::new do |spec|
86
85
  "lib/dao/validations/common.rb",
87
86
  "lib/dao/validations/instance.rb",
88
87
  "lib/dao/validations/validator.rb",
89
- "notes",
90
- "notes/ara.txt",
91
88
  "test",
92
89
  "test/active_model_conducer_lint_test.rb",
93
90
  "test/api_test.rb",
data/lib/dao.rb CHANGED
@@ -11,7 +11,7 @@
11
11
  # dao libs
12
12
  #
13
13
  module Dao
14
- Version = '5.5.1' unless defined?(Version)
14
+ Version = '5.5.2' unless defined?(Version)
15
15
 
16
16
  def version
17
17
  Dao::Version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dao
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.5.1
4
+ version: 5.5.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-09-17 00:00:00.000000000 Z
12
+ date: 2016-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -181,7 +181,6 @@ files:
181
181
  - Gemfile.lock
182
182
  - README
183
183
  - Rakefile
184
- - a.rb
185
184
  - dao.gemspec
186
185
  - lib/dao.rb
187
186
  - lib/dao/active_record.rb
@@ -241,7 +240,6 @@ files:
241
240
  - lib/dao/validations/common.rb
242
241
  - lib/dao/validations/instance.rb
243
242
  - lib/dao/validations/validator.rb
244
- - notes/ara.txt
245
243
  - test/active_model_conducer_lint_test.rb
246
244
  - test/api_test.rb
247
245
  - test/conducer_test.rb
data/a.rb DELETED
@@ -1,7 +0,0 @@
1
- require 'dao'
2
-
3
- form = Dao::Form.new(Map.for(:name => 'key'))
4
-
5
- key = form.key_for(:a, '{{ i }}', :b, '{{ j }}')
6
-
7
- p key
data/notes/ara.txt DELETED
@@ -1,11 +0,0 @@
1
- todo:
2
-
3
- - rack parameter encoding or safe array parsing
4
-
5
- - kill api layer?
6
-
7
- - conducer document
8
- - def prepare // lifecycle changes
9
-
10
-
11
- done: