undies 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA512:
3
+ metadata.gz: e39f7c0584b3ada6017784a0edd8988df770322118a246e6c3ca37d12f0474dfbde9bc9483155126fdec56ecbdbff4c438fb9a6b27f997e36bd9e230aad37717
4
+ data.tar.gz: 883e7b9474c45c3fd3683c81b59d7cf741fde620bfed08fcfb03cd0943e4c91a6f6fcc4852d0b34c0c6f1aba6db70bfe057f2e7368399f7633ae5e2248b86a15
5
+ SHA1:
6
+ metadata.gz: 1171f7a8c773c719f6d4d8f872ec30f54ed0fbf9
7
+ data.tar.gz: f7e80d36347a2abb3d166df461cc05c134e17623
data/Gemfile CHANGED
@@ -2,10 +2,10 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rake'
6
- gem 'pry'
5
+ gem 'pry', "~> 0.9.0"
7
6
 
8
- gem 'ruby-prof'
7
+ # Lock down gem version because it requires a newer version of ruby
8
+ gem 'ruby-prof', "~> 0.13.1"
9
9
  gem 'whysoslow'
10
10
  gem 'ansi'
11
11
 
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011-Present Kelly Redding
1
+ Copyright (c) 2011-Present Kelly Redding and Collin Redding
2
2
 
3
3
  MIT License
4
4
 
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ $LOAD_PATH.push(File.expand_path("../..", __FILE__))
3
4
  require 'bench/bench_runner'
4
5
 
5
6
  UndiesBenchRunner.new
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ $LOAD_PATH.push(File.expand_path("../..", __FILE__))
3
4
  require 'bench/profiler_runner'
4
5
 
5
6
  runner = UndiesProfilerRunner.new(ARGV[0] || 'large')
@@ -1,3 +1,3 @@
1
1
  module Undies
2
- VERSION = "3.0.0"
2
+ VERSION = "3.1.0"
3
3
  end
@@ -6,3 +6,14 @@ $LOAD_PATH.unshift(File.expand_path("../..", __FILE__))
6
6
 
7
7
  # require pry for debugging (`binding.pry`)
8
8
  require 'pry'
9
+
10
+ require 'test/support/factory'
11
+
12
+ # 1.8.7 backfills
13
+
14
+ # Array#sample
15
+ if !(a = Array.new).respond_to?(:sample) && a.respond_to?(:choice)
16
+ class Array
17
+ alias_method :sample, :choice
18
+ end
19
+ end
@@ -0,0 +1,6 @@
1
+ require 'assert/factory'
2
+
3
+ module Factory
4
+ extend Assert::Factory
5
+
6
+ end
@@ -6,11 +6,11 @@ require "undies/version"
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = "undies"
8
8
  gem.version = Undies::VERSION
9
- gem.authors = ["Kelly Redding"]
10
- gem.email = ["kelly@kellyredding.com"]
11
- gem.description = %q{A pure-Ruby DSL for streaming templated HTML, XML, or plain text.}
9
+ gem.authors = ["Kelly Redding", "Collin Redding"]
10
+ gem.email = ["kelly@kellyredding.com", "collin.redding@me.com"]
12
11
  gem.summary = %q{A pure-Ruby DSL for streaming templated HTML, XML, or plain text.}
13
- gem.homepage = "http://github.com/kellyredding/undies"
12
+ gem.description = %q{A pure-Ruby DSL for streaming templated HTML, XML, or plain text.}
13
+ gem.homepage = "http://github.com/redding/undies"
14
14
  gem.license = 'MIT'
15
15
 
16
16
  gem.files = `git ls-files`.split($/)
@@ -18,6 +18,6 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- gem.add_development_dependency("assert")
21
+ gem.add_development_dependency("assert", ["~> 2.16.1"])
22
22
 
23
23
  end
metadata CHANGED
@@ -1,39 +1,31 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: undies
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
5
- prerelease:
6
- segments:
7
- - 3
8
- - 0
9
- - 0
10
- version: 3.0.0
4
+ version: 3.1.0
11
5
  platform: ruby
12
6
  authors:
13
7
  - Kelly Redding
8
+ - Collin Redding
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2013-07-20 00:00:00 Z
13
+ date: 2016-06-17 00:00:00 Z
19
14
  dependencies:
20
15
  - !ruby/object:Gem::Dependency
21
16
  name: assert
22
17
  prerelease: false
23
18
  requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
19
  requirements:
26
- - - ">="
20
+ - - ~>
27
21
  - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
22
+ version: 2.16.1
32
23
  type: :development
33
24
  version_requirements: *id001
34
25
  description: A pure-Ruby DSL for streaming templated HTML, XML, or plain text.
35
26
  email:
36
27
  - kelly@kellyredding.com
28
+ - collin.redding@me.com
37
29
  executables: []
38
30
 
39
31
  extensions: []
@@ -44,9 +36,8 @@ files:
44
36
  - .gitignore
45
37
  - ARCH.md
46
38
  - Gemfile
47
- - LICENSE.txt
39
+ - LICENSE
48
40
  - README.md
49
- - Rakefile
50
41
  - bench/bench
51
42
  - bench/bench_runner.rb
52
43
  - bench/large.html.erb
@@ -73,6 +64,7 @@ files:
73
64
  - lib/undies/version.rb
74
65
  - test/helper.rb
75
66
  - test/support/element.rb
67
+ - test/support/factory.rb
76
68
  - test/support/templates/content.html.rb
77
69
  - test/support/templates/index.html.rb
78
70
  - test/support/templates/layout.html.rb
@@ -91,42 +83,36 @@ files:
91
83
  - test/unit/template_source_render_tests.rb
92
84
  - test/unit/template_tests.rb
93
85
  - undies.gemspec
94
- homepage: http://github.com/kellyredding/undies
86
+ homepage: http://github.com/redding/undies
95
87
  licenses:
96
88
  - MIT
89
+ metadata: {}
90
+
97
91
  post_install_message:
98
92
  rdoc_options: []
99
93
 
100
94
  require_paths:
101
95
  - lib
102
96
  required_ruby_version: !ruby/object:Gem::Requirement
103
- none: false
104
97
  requirements:
105
- - - ">="
98
+ - &id002
99
+ - ">="
106
100
  - !ruby/object:Gem::Version
107
- hash: 3
108
- segments:
109
- - 0
110
101
  version: "0"
111
102
  required_rubygems_version: !ruby/object:Gem::Requirement
112
- none: false
113
103
  requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- hash: 3
117
- segments:
118
- - 0
119
- version: "0"
104
+ - *id002
120
105
  requirements: []
121
106
 
122
107
  rubyforge_project:
123
- rubygems_version: 1.8.24
108
+ rubygems_version: 2.5.1
124
109
  signing_key:
125
- specification_version: 3
110
+ specification_version: 4
126
111
  summary: A pure-Ruby DSL for streaming templated HTML, XML, or plain text.
127
112
  test_files:
128
113
  - test/helper.rb
129
114
  - test/support/element.rb
115
+ - test/support/factory.rb
130
116
  - test/support/templates/content.html.rb
131
117
  - test/support/templates/index.html.rb
132
118
  - test/support/templates/layout.html.rb
data/Rakefile DELETED
@@ -1,30 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
3
- namespace :bench do
4
-
5
- desc "Run the bench script."
6
- task :run do
7
- require 'bench/bench_runner'
8
- UndiesBenchRunner.new
9
- end
10
-
11
- desc "Run the profiler on 1000 rows."
12
- task :profiler do
13
- require 'bench/profiler_runner'
14
- UndiesProfilerRunner.new('verylarge').print_flat(STDOUT, :min_percent => 1)
15
- end
16
-
17
- desc "Run all the tests, then the profiler, then the bench."
18
- task :all do
19
- Rake::Task['test'].invoke
20
- puts
21
- Rake::Task['bench:profiler'].invoke
22
- puts
23
- Rake::Task['bench:run'].invoke
24
- end
25
-
26
- end
27
-
28
- task :bench do
29
- Rake::Task['bench:run'].invoke
30
- end