lazy_proxy 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -31
- data/.travis.yml +6 -0
- data/Gemfile +8 -2
- data/Gemfile.lock +21 -21
- data/README.md +2 -0
- data/Rakefile +0 -23
- data/lazy_proxy.gemspec +4 -2
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e235699df23f5d8533162121d8dcd613a39fd91a
|
4
|
+
data.tar.gz: 44aa29234c713a6f05b0cb6cb5011ce158978dee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db2e8b263b0bc8e99bc4f63307ad266e85f5bb8d8c8a45c432cb5373717f25aaf78a1966e81baf09e8257e239527808758a13872ef3fb5abfa243c396c8820a7
|
7
|
+
data.tar.gz: 1ef09af36d6fe5dfa771355719ae1a576d56dc408ab01336faa40a4b1232f77071b3295b1e90679b682649cacd4bcc72156325715d2a341bcd2868d794bfd89e
|
data/.gitignore
CHANGED
@@ -10,42 +10,12 @@
|
|
10
10
|
/test/tmp/
|
11
11
|
/test/version_tmp/
|
12
12
|
/tmp/
|
13
|
-
|
14
|
-
# Used by dotenv library to load environment variables.
|
15
|
-
# .env
|
16
|
-
|
17
|
-
## Specific to RubyMotion:
|
18
|
-
.dat*
|
19
|
-
.repl_history
|
20
|
-
build/
|
21
|
-
*.bridgesupport
|
22
|
-
build-iPhoneOS/
|
23
|
-
build-iPhoneSimulator/
|
24
|
-
|
25
|
-
## Specific to RubyMotion (use of CocoaPods):
|
26
|
-
#
|
27
|
-
# We recommend against adding the Pods directory to your .gitignore. However
|
28
|
-
# you should judge for yourself, the pros and cons are mentioned at:
|
29
|
-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
30
|
-
#
|
31
|
-
# vendor/Pods/
|
32
|
-
|
33
|
-
## Documentation cache and generated files:
|
34
13
|
/.yardoc/
|
35
14
|
/_yardoc/
|
36
15
|
/doc/
|
37
16
|
/rdoc/
|
38
|
-
|
39
|
-
## Environment normalization:
|
40
17
|
/.bundle/
|
41
18
|
/vendor/bundle
|
42
19
|
/lib/bundler/man/
|
43
|
-
|
44
|
-
# for a library or gem, you might want to ignore these files since the code is
|
45
|
-
# intended to run in multiple environments; otherwise, check them in:
|
46
|
-
# Gemfile.lock
|
47
|
-
# .ruby-version
|
48
|
-
# .ruby-gemset
|
49
|
-
|
50
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
51
20
|
.rvmrc
|
21
|
+
Gemfile.lock
|
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -6,43 +6,43 @@ PATH
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
ast (2.
|
9
|
+
ast (2.3.0)
|
10
10
|
coderay (1.1.1)
|
11
11
|
diff-lcs (1.2.5)
|
12
12
|
method_source (0.8.2)
|
13
|
-
parser (2.3.
|
13
|
+
parser (2.3.1.4)
|
14
14
|
ast (~> 2.2)
|
15
15
|
powerpack (0.1.1)
|
16
|
-
pry (0.10.
|
16
|
+
pry (0.10.4)
|
17
17
|
coderay (~> 1.1.0)
|
18
18
|
method_source (~> 0.8.1)
|
19
19
|
slop (~> 3.4)
|
20
20
|
rainbow (2.1.0)
|
21
|
-
rake (11.
|
22
|
-
rake-compiler (0.
|
21
|
+
rake (11.3.0)
|
22
|
+
rake-compiler (1.0.1)
|
23
23
|
rake
|
24
|
-
rspec (3.
|
25
|
-
rspec-core (~> 3.
|
26
|
-
rspec-expectations (~> 3.
|
27
|
-
rspec-mocks (~> 3.
|
28
|
-
rspec-core (3.
|
29
|
-
rspec-support (~> 3.
|
30
|
-
rspec-expectations (3.
|
24
|
+
rspec (3.5.0)
|
25
|
+
rspec-core (~> 3.5.0)
|
26
|
+
rspec-expectations (~> 3.5.0)
|
27
|
+
rspec-mocks (~> 3.5.0)
|
28
|
+
rspec-core (3.5.4)
|
29
|
+
rspec-support (~> 3.5.0)
|
30
|
+
rspec-expectations (3.5.0)
|
31
31
|
diff-lcs (>= 1.2.0, < 2.0)
|
32
|
-
rspec-support (~> 3.
|
33
|
-
rspec-mocks (3.
|
32
|
+
rspec-support (~> 3.5.0)
|
33
|
+
rspec-mocks (3.5.0)
|
34
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
-
rspec-support (~> 3.
|
36
|
-
rspec-support (3.
|
37
|
-
rubocop (0.
|
38
|
-
parser (>= 2.3.
|
35
|
+
rspec-support (~> 3.5.0)
|
36
|
+
rspec-support (3.5.0)
|
37
|
+
rubocop (0.44.1)
|
38
|
+
parser (>= 2.3.1.1, < 3.0)
|
39
39
|
powerpack (~> 0.1)
|
40
40
|
rainbow (>= 1.99.1, < 3.0)
|
41
41
|
ruby-progressbar (~> 1.7)
|
42
42
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
43
|
-
ruby-progressbar (1.
|
43
|
+
ruby-progressbar (1.8.1)
|
44
44
|
slop (3.6.0)
|
45
|
-
unicode-display_width (1.
|
45
|
+
unicode-display_width (1.1.1)
|
46
46
|
|
47
47
|
PLATFORMS
|
48
48
|
ruby
|
@@ -56,4 +56,4 @@ DEPENDENCIES
|
|
56
56
|
rubocop
|
57
57
|
|
58
58
|
BUNDLED WITH
|
59
|
-
1.
|
59
|
+
1.13.2
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -3,29 +3,6 @@ require 'rspec/core/rake_task'
|
|
3
3
|
|
4
4
|
spec = Gem::Specification.load('lazy_proxy.gemspec')
|
5
5
|
|
6
|
-
desc 'Check for memory leaks'
|
7
|
-
task :memory_leak_check do
|
8
|
-
require 'lazy_proxy'
|
9
|
-
top_level_threads = []
|
10
|
-
5.times do
|
11
|
-
top_level_threads << Thread.new do
|
12
|
-
aux_class = Class.new
|
13
|
-
threads = []
|
14
|
-
5.times do
|
15
|
-
threads << Thread.new do
|
16
|
-
loop do
|
17
|
-
1000.times { LazyProxy.new(aux_class.new) }
|
18
|
-
GC.start
|
19
|
-
print "#{ObjectSpace.each_object(aux_class).count}\n"
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
threads.each(&:join)
|
24
|
-
end
|
25
|
-
end
|
26
|
-
top_level_threads.each(&:join)
|
27
|
-
end
|
28
|
-
|
29
6
|
task :benchmark do
|
30
7
|
require 'lazy_proxy'
|
31
8
|
require 'benchmark'
|
data/lazy_proxy.gemspec
CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'lazy_proxy'
|
6
|
-
s.version = '0.0.
|
6
|
+
s.version = '0.0.3'
|
7
7
|
s.authors = ['Manuel A. Valenzuela']
|
8
8
|
s.email = ['manvalaco@gmail.com']
|
9
9
|
|
@@ -11,11 +11,13 @@ Gem::Specification.new do |s|
|
|
11
11
|
Efficient lazy object proxy
|
12
12
|
EOF
|
13
13
|
s.description = s.summary
|
14
|
+
s.homepage = 'https://github.com/mavax/lazy_proxy'
|
15
|
+
s.license = 'MIT'
|
14
16
|
|
15
17
|
s.files = `git ls-files -z`.split("\x0").reject do |f|
|
16
18
|
f.match(%r{^(test|spec|features)/})
|
17
19
|
end
|
18
|
-
s.require_paths =
|
20
|
+
s.require_paths = ['lib', 'ext']
|
19
21
|
|
20
22
|
s.extensions << 'ext/lazy_proxy/extconf.rb'
|
21
23
|
s.add_development_dependency 'rake-compiler'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lazy_proxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel A. Valenzuela
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|
@@ -48,6 +48,7 @@ extra_rdoc_files: []
|
|
48
48
|
files:
|
49
49
|
- ".gitignore"
|
50
50
|
- ".rubocop.yml"
|
51
|
+
- ".travis.yml"
|
51
52
|
- Gemfile
|
52
53
|
- Gemfile.lock
|
53
54
|
- LICENSE
|
@@ -58,8 +59,9 @@ files:
|
|
58
59
|
- ext/lazy_proxy/lazy_proxy.h
|
59
60
|
- lazy_proxy.gemspec
|
60
61
|
- lib/lazy_proxy.rb
|
61
|
-
homepage:
|
62
|
-
licenses:
|
62
|
+
homepage: https://github.com/mavax/lazy_proxy
|
63
|
+
licenses:
|
64
|
+
- MIT
|
63
65
|
metadata: {}
|
64
66
|
post_install_message:
|
65
67
|
rdoc_options: []
|