dense 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/Makefile +31 -0
  4. data/README.md +9 -0
  5. data/dense.gemspec +36 -0
  6. data/lib/dense.rb +6 -0
  7. metadata +77 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3f1a1474f7754c17da61c379303adc4c454412cf
4
+ data.tar.gz: 14721003a79f251faf0ae7fe3ab48a50cbf12133
5
+ SHA512:
6
+ metadata.gz: b526940155800dca33200004b9e21b68a0c9edd4292507f3c9156f34326f8663fdb4edf6a0d46d3214c5caa2f42ec49850c4ca9949391933c44d7cd9f165a605
7
+ data.tar.gz: 51f6622e8a5bb399946c78fe4028d2d045a9786f65192dddfd7da6d33844c805dc4b582fe7b4cabdb3b7e70d7cd4ffd0bae44004ed7b097123941723f40e7d64
@@ -0,0 +1,21 @@
1
+
2
+ Copyright (c) 2017-2017, John Mettraux, jmettraux+flor@gmail.com
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in
12
+ all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ THE SOFTWARE.
21
+
@@ -0,0 +1,31 @@
1
+
2
+ ## gem tasks ##
3
+
4
+ NAME = \
5
+ $(shell ruby -e "s = eval(File.read(Dir['*.gemspec'][0])); puts s.name")
6
+ VERSION = \
7
+ $(shell ruby -e "s = eval(File.read(Dir['*.gemspec'][0])); puts s.version")
8
+
9
+ count_lines:
10
+ find lib -name "*.rb" | xargs cat | ruby -e "p STDIN.readlines.count { |l| l = l.strip; l[0, 1] != '#' && l != '' }"
11
+ cl: count_lines
12
+
13
+ gemspec_validate:
14
+ @echo "---"
15
+ ruby -e "s = eval(File.read(Dir['*.gemspec'].first)); s.validate"
16
+ @echo "---"
17
+
18
+ name: gemspec_validate
19
+ @echo "$(NAME) $(VERSION)"
20
+
21
+ build: gemspec_validate
22
+ gem build $(NAME).gemspec
23
+ mkdir -p pkg
24
+ mv $(NAME)-$(VERSION).gem pkg/
25
+
26
+ push: build
27
+ gem push pkg/$(NAME)-$(VERSION).gem
28
+
29
+
30
+ .PHONY: build push
31
+
@@ -0,0 +1,9 @@
1
+
2
+ # dense
3
+
4
+ Fetching deep in a dense structure. A kind of bastard of JSONPath.
5
+
6
+ ## LICENSE
7
+
8
+ MIT, see [LICENSE.txt](LICENSE.txt)
9
+
@@ -0,0 +1,36 @@
1
+
2
+ Gem::Specification.new do |s|
3
+
4
+ s.name = 'dense'
5
+
6
+ s.version = File.read(
7
+ File.expand_path('../lib/dense.rb', __FILE__)
8
+ ).match(/ VERSION *= *['"]([^'"]+)/)[1]
9
+
10
+ s.platform = Gem::Platform::RUBY
11
+ s.authors = [ 'John Mettraux' ]
12
+ s.email = [ 'jmettraux+flor@gmail.com' ]
13
+ s.homepage = 'http://github.com/floraison/dense'
14
+ s.license = 'MIT'
15
+ s.summary = 'fetching deep in a dense structure'
16
+
17
+ s.description = %{
18
+ Fetching deep in a dense structure. A kind of bastard of JSONPath.
19
+ }.strip
20
+
21
+ #s.files = `git ls-files`.split("\n")
22
+ s.files = Dir[
23
+ 'README.{md,txt}',
24
+ 'CHANGELOG.{md,txt}', 'CREDITS.{md,txt}', 'LICENSE.{md,txt}',
25
+ 'Makefile',
26
+ 'lib/**/*.rb', #'spec/**/*.rb', 'test/**/*.rb',
27
+ "#{s.name}.gemspec",
28
+ ]
29
+
30
+ s.add_runtime_dependency 'raabro', '~> 1.1'
31
+
32
+ s.add_development_dependency 'rspec', '~> 3.4'
33
+
34
+ s.require_path = 'lib'
35
+ end
36
+
@@ -0,0 +1,6 @@
1
+
2
+ module Dense
3
+
4
+ VERSION = '0.0.1'
5
+ end
6
+
metadata ADDED
@@ -0,0 +1,77 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dense
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - John Mettraux
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-08-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: raabro
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.4'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.4'
41
+ description: Fetching deep in a dense structure. A kind of bastard of JSONPath.
42
+ email:
43
+ - jmettraux+flor@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - LICENSE.txt
49
+ - Makefile
50
+ - README.md
51
+ - dense.gemspec
52
+ - lib/dense.rb
53
+ homepage: http://github.com/floraison/dense
54
+ licenses:
55
+ - MIT
56
+ metadata: {}
57
+ post_install_message:
58
+ rdoc_options: []
59
+ require_paths:
60
+ - lib
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ requirements: []
72
+ rubyforge_project:
73
+ rubygems_version: 2.5.2
74
+ signing_key:
75
+ specification_version: 4
76
+ summary: fetching deep in a dense structure
77
+ test_files: []