path_tree 1.0.11 → 1.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 96e7dd6bb5121febc2b06677e4bf4e4ae089fc7c
4
+ data.tar.gz: da856ee73c84f9e429e816719c07631ac49755c4
5
+ SHA512:
6
+ metadata.gz: 21b99a6057ca538a29978716acc9f8fddfcea9f17bad139d45941a6f0335b94f11d799c68640c130c587986deedbff6e9cbaa35f1e699dd7a07d6a6c63edcde6
7
+ data.tar.gz: 2d56fcd98cd005d446eab85e70524864f88c4df81499f016542193d3c99197940e3f475d54391ea67deead52129be9952632d82489ad9c08904f38b171e39d9f
data/.gitignore ADDED
@@ -0,0 +1,7 @@
1
+ Gemfile.lock
2
+ *.swm
3
+ *.swn
4
+ *.swo
5
+ *.swp
6
+ *.gem
7
+ pkg
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in the gemspec
4
+ gemspec
data/Rakefile CHANGED
@@ -1,37 +1 @@
1
- require 'rubygems'
2
- require 'rake'
3
-
4
- desc 'Default: run unit tests'
5
- task :default => :test
6
-
7
- begin
8
- require 'rspec'
9
- require 'rspec/core/rake_task'
10
- desc 'Run the unit tests'
11
- RSpec::Core::RakeTask.new(:test)
12
- rescue LoadError
13
- task :test do
14
- raise "You must have rspec 2.0 installed to run the tests"
15
- end
16
- end
17
-
18
- begin
19
- require 'jeweler'
20
- Jeweler::Tasks.new do |gem|
21
- gem.name = "path_tree"
22
- gem.summary = %Q{Helper module for constructing tree data structures}
23
- gem.description = %Q{Module that defines a tree data structure based on a path.}
24
- gem.authors = ["Brian Durand"]
25
- gem.email = ["mdobrota@tribune.com", "ddpr@tribune.com"]
26
- gem.files = FileList["lib/**/*", "spec/**/*", "README.rdoc", "Rakefile", "License.txt"].to_a
27
- gem.has_rdoc = true
28
- gem.rdoc_options << '--line-numbers' << '--inline-source' << '--main' << 'README.rdoc'
29
- gem.extra_rdoc_files = ["README.rdoc"]
30
- gem.add_dependency('activerecord')
31
- gem.add_development_dependency('rspec', '>= 2.0.0')
32
- gem.add_development_dependency('sqlite3')
33
- gem.add_development_dependency('activerecord')
34
- end
35
- Jeweler::RubygemsDotOrgTasks.new
36
- rescue LoadError
37
- end
1
+ require 'bundler/gem_tasks'
@@ -0,0 +1,3 @@
1
+ module PathTree
2
+ VERSION = '1.0.12'.freeze
3
+ end
data/path_tree.gemspec ADDED
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'path_tree/version'
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'path_tree'
7
+ spec.version = PathTree::VERSION
8
+ spec.authors = ['Brian Durand', 'Milan Dobrota']
9
+ spec.email = ['mdobrota@tribpub.com']
10
+ spec.summary = 'Helper module for constructing tree data structures'
11
+ spec.description = 'Module that defines a tree data structure based on a path.'
12
+ spec.homepage = ''
13
+
14
+ spec.files = `git ls-files -z`.split("\x0")
15
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
16
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
17
+ spec.require_paths = ['lib']
18
+
19
+ spec.add_runtime_dependency 'activerecord', '~> 3.2.0'
20
+
21
+ spec.add_development_dependency 'rspec', '~> 2.8.0'
22
+ spec.add_development_dependency 'sqlite3', '>= 0'
23
+
24
+ spec.add_development_dependency 'bundler', '~> 1.7'
25
+ spec.add_development_dependency 'rake', '~> 10.0'
26
+ end
metadata CHANGED
@@ -1,103 +1,128 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: path_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
5
- prerelease:
4
+ version: 1.0.12
6
5
  platform: ruby
7
6
  authors:
8
7
  - Brian Durand
8
+ - Milan Dobrota
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-06 00:00:00.000000000 Z
12
+ date: 2015-03-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
16
- requirement: &70093636653480 !ruby/object:Gem::Requirement
17
- none: false
16
+ requirement: !ruby/object:Gem::Requirement
18
17
  requirements:
19
- - - ! '>='
18
+ - - "~>"
20
19
  - !ruby/object:Gem::Version
21
- version: '0'
20
+ version: 3.2.0
22
21
  type: :runtime
23
22
  prerelease: false
24
- version_requirements: *70093636653480
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 3.2.0
25
28
  - !ruby/object:Gem::Dependency
26
29
  name: rspec
27
- requirement: &70093636652920 !ruby/object:Gem::Requirement
28
- none: false
30
+ requirement: !ruby/object:Gem::Requirement
29
31
  requirements:
30
- - - ! '>='
32
+ - - "~>"
31
33
  - !ruby/object:Gem::Version
32
- version: 2.0.0
34
+ version: 2.8.0
33
35
  type: :development
34
36
  prerelease: false
35
- version_requirements: *70093636652920
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: 2.8.0
36
42
  - !ruby/object:Gem::Dependency
37
43
  name: sqlite3
38
- requirement: &70093636652400 !ruby/object:Gem::Requirement
39
- none: false
44
+ requirement: !ruby/object:Gem::Requirement
40
45
  requirements:
41
- - - ! '>='
46
+ - - ">="
42
47
  - !ruby/object:Gem::Version
43
48
  version: '0'
44
49
  type: :development
45
50
  prerelease: false
46
- version_requirements: *70093636652400
47
- - !ruby/object:Gem::Dependency
48
- name: activerecord
49
- requirement: &70093636651840 !ruby/object:Gem::Requirement
50
- none: false
51
+ version_requirements: !ruby/object:Gem::Requirement
51
52
  requirements:
52
- - - ! '>='
53
+ - - ">="
53
54
  - !ruby/object:Gem::Version
54
55
  version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: bundler
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '1.7'
55
63
  type: :development
56
64
  prerelease: false
57
- version_requirements: *70093636651840
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '1.7'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rake
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '10.0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '10.0'
58
84
  description: Module that defines a tree data structure based on a path.
59
85
  email:
60
- - mdobrota@tribune.com
61
- - ddpr@tribune.com
86
+ - mdobrota@tribpub.com
62
87
  executables: []
63
88
  extensions: []
64
- extra_rdoc_files:
65
- - README.rdoc
89
+ extra_rdoc_files: []
66
90
  files:
91
+ - ".gitignore"
92
+ - Gemfile
67
93
  - License.txt
68
94
  - README.rdoc
69
95
  - Rakefile
70
96
  - lib/path_tree.rb
97
+ - lib/path_tree/version.rb
71
98
  - lib/ruby_18_patterns.rb
72
99
  - lib/ruby_19_patterns.rb
100
+ - path_tree.gemspec
73
101
  - spec/path_tree_spec.rb
74
102
  - spec/spec_helper.rb
75
- homepage:
103
+ homepage: ''
76
104
  licenses: []
105
+ metadata: {}
77
106
  post_install_message:
78
- rdoc_options:
79
- - --line-numbers
80
- - --inline-source
81
- - --main
82
- - README.rdoc
107
+ rdoc_options: []
83
108
  require_paths:
84
109
  - lib
85
110
  required_ruby_version: !ruby/object:Gem::Requirement
86
- none: false
87
111
  requirements:
88
- - - ! '>='
112
+ - - ">="
89
113
  - !ruby/object:Gem::Version
90
114
  version: '0'
91
115
  required_rubygems_version: !ruby/object:Gem::Requirement
92
- none: false
93
116
  requirements:
94
- - - ! '>='
117
+ - - ">="
95
118
  - !ruby/object:Gem::Version
96
119
  version: '0'
97
120
  requirements: []
98
121
  rubyforge_project:
99
- rubygems_version: 1.8.10
122
+ rubygems_version: 2.2.2
100
123
  signing_key:
101
- specification_version: 3
124
+ specification_version: 4
102
125
  summary: Helper module for constructing tree data structures
103
- test_files: []
126
+ test_files:
127
+ - spec/path_tree_spec.rb
128
+ - spec/spec_helper.rb