trace_tree 0.2.3 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8551558d37d9c5448b373897718f06574e5d7cbe
4
- data.tar.gz: f52ad5f2f6f1d0ce47c83ba3c5130f3a7c18fca2
3
+ metadata.gz: e889be174516183164f5509726803585c3340330
4
+ data.tar.gz: 24733d196130df20d67d36431dc13cac602579a3
5
5
  SHA512:
6
- metadata.gz: e0945ff0bd4f145031310f5862e774ec5771ce16f1c0ef40ce88794f7040f86ca14e8b55b27240ca7f3b37e4136f38e9451b6fa4dc269831a99a6a17fc0447fe
7
- data.tar.gz: 04fb69cbb2550d1549925bdc637479880c190c2b783e037a4cd8e01fe20c37130a06142370034ecaeb875fc64e24646497eee070719ed3321dcf08f14149bb08
6
+ metadata.gz: c8b2a669139e8d3988cda3cfd874cf5f6c28321f6411ed0056bea8e92d3fd0cc1368a285c71dada57283447f99cc4d90acf6f650696a68dbe0537d1b42395bbe
7
+ data.tar.gz: f377fa3a417f3f0eacfe62440c483270bbfc1e79578a5b5934690ed446b4b6400bb55a0e24588b82ad6aa54d1d4d0adb16dbcfa18da574a7cd66058a4b33d567
data/ext/mkrf_conf.rb ADDED
@@ -0,0 +1,29 @@
1
+ #This file needs to be named mkrf_conf.rb
2
+ #so that rubygems will recognize it as a ruby extension
3
+ #file and not think it is a C extension file
4
+
5
+ require 'rubygems/dependency_installer'
6
+
7
+ #Load up the rubygem's dependency installer to
8
+ #installer the gems we want based on the version
9
+ #of Ruby the user has installed
10
+ installer = Gem::DependencyInstaller.new
11
+
12
+ begin
13
+ if RUBY_VERSION < "2.2.2"
14
+ installer.install "activesupport", "< 5.0"
15
+ else
16
+ installer.install "activesupport"
17
+ end
18
+
19
+ rescue
20
+ #Exit with a non-zero value to let rubygems something went wrong
21
+ exit(1)
22
+ end
23
+
24
+ #If this was C, rubygems would attempt to run make
25
+ #Since this is Ruby, rubygems will attempt to run rake
26
+ #If it doesn't find and successfully run a rakefile, it errors out
27
+ f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w")
28
+ f.write("task :default\n")
29
+ f.close
@@ -1,3 +1,3 @@
1
1
  class TraceTree
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.7"
3
3
  end
data/trace_tree.gemspec CHANGED
@@ -23,10 +23,12 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency "bundler", "~> 1.14"
24
24
  spec.add_development_dependency "rake", "~> 10.0"
25
25
  spec.add_development_dependency "minitest", "~> 5.0"
26
+ spec.add_development_dependency "activesupport", (RUBY_VERSION < "2.2.2" ? "< 5.0" : nil)
26
27
 
27
- spec.add_dependency "binding_of_callers", "~> 0.1.4"
28
+ spec.add_dependency "binding_of_callers", "~> 0.1.5"
28
29
  spec.add_dependency "tree_graph", "~> 0.2.0"
29
30
  spec.add_dependency "tree_html", "~> 0.1.0"
30
- spec.add_dependency "activesupport", ">= 5.0.0"
31
31
  spec.add_dependency "terminal-tableofhashes", "~> 0.1.0"
32
+
33
+ spec.extensions << "ext/mkrf_conf.rb"
32
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trace_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - ken
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-16 00:00:00.000000000 Z
11
+ date: 2017-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,20 +52,34 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: activesupport
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: binding_of_callers
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: 0.1.4
75
+ version: 0.1.5
62
76
  type: :runtime
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: 0.1.4
82
+ version: 0.1.5
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: tree_graph
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -94,20 +108,6 @@ dependencies:
94
108
  - - "~>"
95
109
  - !ruby/object:Gem::Version
96
110
  version: 0.1.0
97
- - !ruby/object:Gem::Dependency
98
- name: activesupport
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: 5.0.0
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: 5.0.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: terminal-tableofhashes
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -126,7 +126,8 @@ description:
126
126
  email:
127
127
  - block24block@gmail.com
128
128
  executables: []
129
- extensions: []
129
+ extensions:
130
+ - ext/mkrf_conf.rb
130
131
  extra_rdoc_files: []
131
132
  files:
132
133
  - ".gitignore"
@@ -138,6 +139,7 @@ files:
138
139
  - Rakefile
139
140
  - bin/console
140
141
  - bin/setup
142
+ - ext/mkrf_conf.rb
141
143
  - lib/trace_tree.rb
142
144
  - lib/trace_tree/color.rb
143
145
  - lib/trace_tree/gem_paths.rb