testoscope 0.1.3 → 0.2.0

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
- SHA1:
3
- metadata.gz: ddeb0613b42218cffb0e5912ccbaa30bd81a42e9
4
- data.tar.gz: 1f2696ee6700974f56f03f94483b90502425a7bf
2
+ SHA256:
3
+ metadata.gz: c3536d0c3074b2ada3e9d9eb8ade3b82d67f4328294a5fb118a3041c0c375899
4
+ data.tar.gz: 81c05638f0b857f835e6a5b22c941f959ea68c31ddd261590b8733c4456cadeb
5
5
  SHA512:
6
- metadata.gz: 94a1714f3bb809176462ab09609d76a039c7cdc144a87686339ec12be6e6b30bd5ef45ce439727300cd468998b06e6b63c8334dfe1c3bec93a1e3da6bab6d845
7
- data.tar.gz: 94ab034c63bd8d4493f6032d48bc53f57e2cc62b577a64b5f658dcbd1b97c92564cf465eb99db05dcec5fb2e8df4a2daa6f1ddc0cfab19ace748ff25348e1332
6
+ metadata.gz: 7d5958fc1b433508db29fd0dff8a8739302b1fe62a099e157a5d08e96b3963b794241066878c95fc42b1ec185f11501838546b03feb80a77a2a2be19f1c9edd6
7
+ data.tar.gz: 03a4edc53d5fa0e93fa637fd9dd29a2f58b5c75b9b096da1f8fd9370146c719d49ec8f3d62442697ba1fde4483f340dad42b8c301ad4688a3f42af5171da0767
data/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # 0.2.0
2
+ * run explain only against SELECT queries
3
+ * dependency alerts fix
4
+
5
+ # 0.1.6
6
+
7
+ * can run EXPLAIN queries with testoscope enabled
8
+ * add two more regexp on used index
data/README.md CHANGED
@@ -3,9 +3,9 @@
3
3
  Inspect in practice how well is your data organized while testing your application!
4
4
 
5
5
  ## Features
6
- **Finds out of the box:** sequential scans, dummy One-Timer calls to DB, unused indexes.
6
+ **Finds out of the box:** sequential scans, dummy One-Timer calls to DB, unused indexes. Out of the box it works for PG only, if you need to use it with MySQL or other DB, you need to do some customization.
7
7
 
8
- **Highly customizable:** you can define your own unintended markers, inspect only part of you tables set and so.
8
+ **Highly customizable:** you can define your own unintended markers, inspect only some of you tables and so.
9
9
 
10
10
  May work in a **error mode** raising exception on unintended behaviour,
11
11
  that way you can protect from perfomance break-out in production.
@@ -42,7 +42,7 @@ and in ORM it doesn't look alarming:
42
42
 
43
43
  sub_tags.where( name: names )
44
44
 
45
- So when names is empty, we get a dummy request.
45
+ But when names is empty, we get a dummy request.
46
46
 
47
47
  They are not a big deal from a performance perspective,
48
48
  but you are occupying DB connection pool and cluttering your channel with empty noise.
@@ -57,25 +57,27 @@ for them are:
57
57
  * you already have another index more suitable which is preferred by the planner
58
58
  * your tests doesn't cover all use-cases
59
59
 
60
- In either cases you may have a problem, but also may not.
60
+ In either cases you may have a problem, but also may not.
61
+
62
+ Rem: It seems to be **much less useful** than I thought, at least with PG, because lack of statistic or tiny DB size for test environment makes it very vulnerable to false positive index assumptions. Still you can use it within staging server and get the info from less automatic testing.
61
63
 
62
64
  ### How it works?
63
65
  Testoscope hooks to exec_query of a connection adapter,
64
- for all queries runs them two times:
65
- first with EXPLAIN and analyze it,
66
- and the second - is for original a caller purpose.
66
+ when sql query reach exec_query it runs two times:
67
+ first with EXPLAIN for tstoscope to analyze,
68
+ and the second - for original a caller purpose.
67
69
 
68
- After achieving explain result, it simply search for configured unintended behaviour markers,
70
+ After retrieving explain result, testoscope search for specified unintended behaviour markers,
69
71
  like a Seq Scan substring in Postgres QUERY PLAN explained, and also collects indexes used by all queries for a final summary.
70
72
 
71
73
  ### Unintended Behaviours
72
- By default unintended behaviours are preconfigured for PosgtreSQL and all tables:
74
+ By default markers are preconfigured for PosgtreSQL and full list of tables:
73
75
 
74
76
  config.unintened_key_words = ['Seq Scan', 'One-Time Filter']
75
77
  config.tables = :all
76
78
 
77
79
  But you can set any regexp you want to track inside EXPLAIN results,
78
- and also you can track not all tables, but only specified ones:
80
+ and also you can track partial list of tables:
79
81
 
80
82
  config.tables = ['cards', 'users']
81
83
 
@@ -85,32 +87,42 @@ and also you can track not all tables, but only specified ones:
85
87
  Add this line to your application's Gemfile:
86
88
 
87
89
  ```ruby
88
- gem 'testoscope'
90
+ group :test do
91
+ gem 'testoscope'
92
+ end
93
+
89
94
  ```
90
95
 
91
96
  And then execute:
92
97
 
93
98
  $ bundle
94
-
95
- Or install it yourself as:
96
-
97
- $ gem install testoscope
98
-
99
+
99
100
  ## Usage
100
101
 
101
102
  In test_helper.rb:
102
103
 
103
104
  require 'testoscope'
104
105
 
105
- #since doubling all requests to DB is not free,
106
- #you may use ENV variable to run on demand
106
+ # since doubling all requests to DB is not free,
107
+ # you may use ENV variable to run on demand
107
108
  if ENV[:RUN_TESTOSCOPE]
108
109
  Testoscope.configure { |c|
110
+ # include only trace from folders
109
111
  c.back_trace_paths = [Rails.root.to_s]
112
+
113
+ # additionaly exclude subfolders
110
114
  c.back_trace_exclude_paths = ["#{Rails.root.to_s}/test", "#{Rails.root.to_s}/spec"]
115
+
116
+ # unintended behaviour markers
111
117
  c.unintened_key_words = ['Seq Scan', 'One-Time Filter']
118
+
119
+ # set true to raise error on unintended behaviour
112
120
  c.raise_when_unintended = false
121
+
122
+ # true to analyze everything, false to analize only by demand using suspend_global_analyze
113
123
  c.analyze = true
124
+
125
+ # :all - to complete list, or array of specific table names: [ 'users', 'comments' ... ]
114
126
  c.tables = :all
115
127
  }
116
128
 
@@ -119,7 +131,17 @@ In test_helper.rb:
119
131
  }
120
132
  end
121
133
 
122
-
134
+ ## TODO
135
+ * Add Tests!
136
+ * Add inspection scripts for suspicious behaviours, like when you using scopes in query and
137
+ additionaly instantinate them later:
138
+ ```ruby
139
+ @users = User.scope
140
+ # collection doesn't instantinate, and used as subquery, it's OK if we don;t need instatination,
141
+ # but we instatinate it later
142
+ @docs = Doc.for_users( @users )
143
+ render { users: @users, docs: @docs }
144
+ ```
123
145
 
124
146
  ## Contributing
125
147
 
data/lib/testoscope.rb CHANGED
@@ -98,6 +98,8 @@ module Testoscope
98
98
 
99
99
  explain = yield
100
100
 
101
+ explain = config.pp_class.method(:pp).arity.abs == 1 ? config.pp_class.new.pp( explain ) : config.pp_class.new.pp( explain, 0 )
102
+
101
103
  app_trace = caller_locations( 2 ).map(&:to_s).select { |st|
102
104
  self.config.back_trace_paths.any?{|pth| st[pth]} && !self.config.back_trace_exclude_paths.any?{|epth| st[epth]}
103
105
  }
@@ -112,7 +114,8 @@ module Testoscope
112
114
  self.add_unintended_behaviour( sql, explain, app_trace )
113
115
  end
114
116
 
115
- explain.scan(/Index Scan using \w+/).each{|found| add_index_used(sql, explain, found[17..-1]) }
117
+ explain.scan(/Index Scan using (\w+)|Index Scan on (\w+)|Index Scan Backward using (\w+)/)
118
+ .each{|found| add_index_used(sql, explain, found.compact.first ) }
116
119
  end
117
120
  end
118
121
 
@@ -125,9 +128,8 @@ module Testoscope
125
128
  module AdapterUpgrade
126
129
  def exec_query(sql, name = "SQL", binds = [], prepare: false)
127
130
  Testoscope.analyze(sql) {
128
- explain = super( 'EXPLAIN ' + sql, "EXPLAIN", binds, prepare: false)
129
- config.pp_class.method(:pp).arity.abs == 1 ? config.pp_class.new.pp( explain ) : config.pp_class.new.pp( explain, 0 )
130
- }
131
+ super( sql['EXPLAIN'] ? sql : 'EXPLAIN ' + sql, "EXPLAIN", binds, prepare: false)
132
+ } if sql['SELECT']
131
133
  super( sql, name, binds, prepare: prepare )
132
134
  end
133
135
  end
@@ -1,3 +1,3 @@
1
1
  module Testoscope
2
- VERSION = "0.1.3"
2
+ VERSION = "0.2.0"
3
3
  end
data/testoscope.gemspec CHANGED
@@ -32,10 +32,10 @@ Gem::Specification.new do |spec|
32
32
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
33
33
  spec.require_paths = ["lib"]
34
34
 
35
- spec.add_development_dependency "bundler", "~> 1.16"
36
- spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "bundler", ">= 2.2.10"
36
+ spec.add_development_dependency "rake", ">= 12.3.3"
37
37
  spec.add_development_dependency "minitest", "~> 5.0"
38
38
 
39
39
  spec.add_dependency "activerecord", ">= 4"
40
- spec.add_dependency "niceql", ">= 0.1.14"
40
+ spec.add_dependency "niceql", ">= 0.1.23"
41
41
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testoscope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - alekseyl
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-20 00:00:00.000000000 Z
11
+ date: 2021-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: 2.2.10
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.16'
26
+ version: 2.2.10
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: 12.3.3
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: 12.3.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 0.1.14
75
+ version: 0.1.23
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 0.1.14
82
+ version: 0.1.23
83
83
  description: "This is simple and nice tool to inspect how application operates with
84
84
  current DB structure while testing app,\n meaning redundant
85
85
  indexes, sequential scans, dummy requests and any other unintended behaviour customized
@@ -91,11 +91,7 @@ extensions: []
91
91
  extra_rdoc_files: []
92
92
  files:
93
93
  - ".gitignore"
94
- - ".idea/misc.xml"
95
- - ".idea/modules.xml"
96
- - ".idea/testoscope.iml"
97
- - ".idea/workspace.xml"
98
- - ".travis.yml"
94
+ - CHANGELOG.md
99
95
  - Gemfile
100
96
  - LICENSE.txt
101
97
  - README.md
@@ -111,7 +107,7 @@ licenses:
111
107
  - MIT
112
108
  metadata:
113
109
  allowed_push_host: https://rubygems.org
114
- post_install_message:
110
+ post_install_message:
115
111
  rdoc_options: []
116
112
  require_paths:
117
113
  - lib
@@ -126,9 +122,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
122
  - !ruby/object:Gem::Version
127
123
  version: '0'
128
124
  requirements: []
129
- rubyforge_project:
130
- rubygems_version: 2.6.13
131
- signing_key:
125
+ rubyforge_project:
126
+ rubygems_version: 2.7.6
127
+ signing_key:
132
128
  specification_version: 4
133
129
  summary: This is simple and nice tool to inspect how application operates with current
134
130
  DB structure while testing app, inspecting for redundant indexes, sequential scans,
data/.idea/misc.xml DELETED
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager" version="2" project-jdk-name="ruby-2.0.0-p648" project-jdk-type="RUBY_SDK" />
4
- </project>
data/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/testoscope.iml" filepath="$PROJECT_DIR$/.idea/testoscope.iml" />
6
- </modules>
7
- </component>
8
- </project>
data/.idea/testoscope.iml DELETED
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="RUBY_MODULE" version="4">
3
- <component name="ModuleRunConfigurationManager">
4
- <shared />
5
- </component>
6
- <component name="NewModuleRootManager">
7
- <content url="file://$MODULE_DIR$" />
8
- <orderEntry type="jdk" jdkName="RVM: ruby-2.4.1 [apivore]" jdkType="RUBY_SDK" />
9
- <orderEntry type="sourceFolder" forTests="false" />
10
- </component>
11
- </module>
data/.idea/workspace.xml DELETED
@@ -1,300 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ChangeListManager">
4
- <list default="true" id="2c89485b-c647-4006-8e76-d4552e0de6c3" name="Default" comment="">
5
- <change beforePath="" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
6
- <change beforePath="" afterPath="$PROJECT_DIR$/.idea/modules.xml" />
7
- <change beforePath="" afterPath="$PROJECT_DIR$/.idea/testoscope.iml" />
8
- <change beforePath="" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
9
- <change beforePath="" afterPath="$PROJECT_DIR$/.travis.yml" />
10
- <change beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
11
- <change beforePath="$PROJECT_DIR$/lib/testoscope.rb" afterPath="$PROJECT_DIR$/lib/testoscope.rb" />
12
- <change beforePath="$PROJECT_DIR$/lib/testoscope/version.rb" afterPath="$PROJECT_DIR$/lib/testoscope/version.rb" />
13
- </list>
14
- <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
15
- <option name="TRACKING_ENABLED" value="true" />
16
- <option name="SHOW_DIALOG" value="false" />
17
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
18
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
19
- <option name="LAST_RESOLUTION" value="IGNORE" />
20
- </component>
21
- <component name="FileEditorManager">
22
- <leaf>
23
- <file leaf-file-name="testoscope.gemspec" pinned="false" current-in-tab="false">
24
- <entry file="file://$PROJECT_DIR$/testoscope.gemspec">
25
- <provider selected="true" editor-type-id="text-editor">
26
- <state relative-caret-position="403">
27
- <caret line="39" column="42" lean-forward="false" selection-start-line="39" selection-start-column="42" selection-end-line="39" selection-end-column="42" />
28
- <folding />
29
- </state>
30
- </provider>
31
- </entry>
32
- </file>
33
- <file leaf-file-name="testoscope.rb" pinned="false" current-in-tab="false">
34
- <entry file="file://$PROJECT_DIR$/lib/testoscope.rb">
35
- <provider selected="true" editor-type-id="text-editor">
36
- <state relative-caret-position="75">
37
- <caret line="5" column="84" lean-forward="false" selection-start-line="5" selection-start-column="84" selection-end-line="5" selection-end-column="84" />
38
- <folding />
39
- </state>
40
- </provider>
41
- </entry>
42
- </file>
43
- <file leaf-file-name="README.md" pinned="false" current-in-tab="false">
44
- <entry file="file://$PROJECT_DIR$/README.md">
45
- <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
46
- <state split_layout="SPLIT">
47
- <first_editor relative-caret-position="524">
48
- <caret line="121" column="0" lean-forward="false" selection-start-line="121" selection-start-column="0" selection-end-line="121" selection-end-column="0" />
49
- <folding />
50
- </first_editor>
51
- <second_editor />
52
- </state>
53
- </provider>
54
- </entry>
55
- </file>
56
- <file leaf-file-name="version.rb" pinned="false" current-in-tab="true">
57
- <entry file="file://$PROJECT_DIR$/lib/testoscope/version.rb">
58
- <provider selected="true" editor-type-id="text-editor">
59
- <state relative-caret-position="15">
60
- <caret line="1" column="18" lean-forward="false" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
61
- <folding />
62
- </state>
63
- </provider>
64
- </entry>
65
- </file>
66
- <file leaf-file-name=".gitignore" pinned="false" current-in-tab="false">
67
- <entry file="file://$PROJECT_DIR$/.gitignore">
68
- <provider selected="true" editor-type-id="text-editor">
69
- <state relative-caret-position="0">
70
- <caret line="0" column="7" lean-forward="false" selection-start-line="0" selection-start-column="7" selection-end-line="0" selection-end-column="7" />
71
- <folding />
72
- </state>
73
- </provider>
74
- </entry>
75
- </file>
76
- </leaf>
77
- </component>
78
- <component name="FindInProjectRecents">
79
- <findStrings>
80
- <find>pp_class</find>
81
- </findStrings>
82
- </component>
83
- <component name="Git.Settings">
84
- <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
85
- </component>
86
- <component name="IdeDocumentHistory">
87
- <option name="CHANGED_PATHS">
88
- <list>
89
- <option value="$PROJECT_DIR$/.gitignore" />
90
- <option value="$PROJECT_DIR$/testoscope.gemspec" />
91
- <option value="$PROJECT_DIR$/README.md" />
92
- <option value="$PROJECT_DIR$/lib/testoscope.rb" />
93
- <option value="$PROJECT_DIR$/lib/testoscope/version.rb" />
94
- </list>
95
- </option>
96
- </component>
97
- <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
98
- <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
99
- <component name="JsGulpfileManager">
100
- <detection-done>true</detection-done>
101
- <sorting>DEFINITION_ORDER</sorting>
102
- </component>
103
- <component name="ProjectFrameBounds" fullScreen="true">
104
- <option name="width" value="1440" />
105
- <option name="height" value="900" />
106
- </component>
107
- <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
108
- <component name="ProjectView">
109
- <navigator currentView="ProjectPane" proportions="" version="1">
110
- <flattenPackages />
111
- <showMembers />
112
- <showModules />
113
- <showLibraryContents />
114
- <hideEmptyPackages />
115
- <abbreviatePackageNames />
116
- <autoscrollToSource />
117
- <autoscrollFromSource />
118
- <sortByType />
119
- <manualOrder />
120
- <foldersAlwaysOnTop value="true" />
121
- </navigator>
122
- <panes>
123
- <pane id="Scope" />
124
- <pane id="Scratches" />
125
- <pane id="ProjectPane">
126
- <subPane>
127
- <expand>
128
- <path>
129
- <item name="testoscope" type="b2602c69:ProjectViewProjectNode" />
130
- <item name="testoscope" type="462c0819:PsiDirectoryNode" />
131
- </path>
132
- <path>
133
- <item name="testoscope" type="b2602c69:ProjectViewProjectNode" />
134
- <item name="testoscope" type="462c0819:PsiDirectoryNode" />
135
- <item name="lib" type="462c0819:PsiDirectoryNode" />
136
- </path>
137
- <path>
138
- <item name="testoscope" type="b2602c69:ProjectViewProjectNode" />
139
- <item name="testoscope" type="462c0819:PsiDirectoryNode" />
140
- <item name="lib" type="462c0819:PsiDirectoryNode" />
141
- <item name="testoscope" type="462c0819:PsiDirectoryNode" />
142
- </path>
143
- </expand>
144
- <select />
145
- </subPane>
146
- </pane>
147
- </panes>
148
- </component>
149
- <component name="PropertiesComponent">
150
- <property name="settings.editor.selected.configurable" value="org.jetbrains.plugins.ruby.settings.RubyActiveModuleSdkConfigurable" />
151
- <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
152
- <property name="WebServerToolWindowFactoryState" value="false" />
153
- </component>
154
- <component name="RecentsManager">
155
- <key name="CopyFile.RECENT_KEYS">
156
- <recent name="$PROJECT_DIR$" />
157
- </key>
158
- </component>
159
- <component name="RunDashboard">
160
- <option name="ruleStates">
161
- <list>
162
- <RuleState>
163
- <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
164
- </RuleState>
165
- <RuleState>
166
- <option name="name" value="StatusDashboardGroupingRule" />
167
- </RuleState>
168
- </list>
169
- </option>
170
- </component>
171
- <component name="ShelveChangesManager" show_recycled="false">
172
- <option name="remove_strategy" value="false" />
173
- </component>
174
- <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
175
- <component name="SvnConfiguration">
176
- <configuration />
177
- </component>
178
- <component name="TaskManager">
179
- <task active="true" id="Default" summary="Default task">
180
- <changelist id="2c89485b-c647-4006-8e76-d4552e0de6c3" name="Default" comment="" />
181
- <created>1521465490978</created>
182
- <option name="number" value="Default" />
183
- <option name="presentableId" value="Default" />
184
- <updated>1521465490978</updated>
185
- <workItem from="1521465492548" duration="16103000" />
186
- </task>
187
- <task id="LOCAL-00001" summary="initial commit">
188
- <created>1521545104500</created>
189
- <option name="number" value="00001" />
190
- <option name="presentableId" value="LOCAL-00001" />
191
- <option name="project" value="LOCAL" />
192
- <updated>1521545104500</updated>
193
- </task>
194
- <task id="LOCAL-00002" summary="read me chngs">
195
- <created>1521545270044</created>
196
- <option name="number" value="00002" />
197
- <option name="presentableId" value="LOCAL-00002" />
198
- <option name="project" value="LOCAL" />
199
- <updated>1521545270044</updated>
200
- </task>
201
- <task id="LOCAL-00003" summary="more bold">
202
- <created>1521545367711</created>
203
- <option name="number" value="00003" />
204
- <option name="presentableId" value="LOCAL-00003" />
205
- <option name="project" value="LOCAL" />
206
- <updated>1521545367711</updated>
207
- </task>
208
- <option name="localTasksCounter" value="4" />
209
- <servers />
210
- </component>
211
- <component name="TimeTrackingManager">
212
- <option name="totallyTimeSpent" value="16103000" />
213
- </component>
214
- <component name="ToolWindowManager">
215
- <frame x="0" y="0" width="1440" height="900" extended-state="0" />
216
- <layout>
217
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.14663805" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
218
- <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
219
- <window_info id="Docker" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
220
- <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
221
- <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
222
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32889965" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
223
- <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
224
- <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
225
- <window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32889965" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
226
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
227
- <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
228
- <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
229
- <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
230
- <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
231
- <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
232
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
233
- <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
234
- <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
235
- </layout>
236
- </component>
237
- <component name="TypeScriptGeneratedFilesManager">
238
- <option name="version" value="1" />
239
- </component>
240
- <component name="VcsContentAnnotationSettings">
241
- <option name="myLimit" value="2678400000" />
242
- </component>
243
- <component name="VcsManagerConfiguration">
244
- <MESSAGE value="initial commit" />
245
- <MESSAGE value="read me chngs" />
246
- <MESSAGE value="more bold" />
247
- <option name="LAST_COMMIT_MESSAGE" value="more bold" />
248
- </component>
249
- <component name="XDebuggerManager">
250
- <breakpoint-manager>
251
- <option name="time" value="1" />
252
- </breakpoint-manager>
253
- <watches-manager />
254
- </component>
255
- <component name="editorHistoryManager">
256
- <entry file="file://$PROJECT_DIR$/.gitignore">
257
- <provider selected="true" editor-type-id="text-editor">
258
- <state relative-caret-position="0">
259
- <caret line="0" column="7" lean-forward="false" selection-start-line="0" selection-start-column="7" selection-end-line="0" selection-end-column="7" />
260
- <folding />
261
- </state>
262
- </provider>
263
- </entry>
264
- <entry file="file://$PROJECT_DIR$/testoscope.gemspec">
265
- <provider selected="true" editor-type-id="text-editor">
266
- <state relative-caret-position="403">
267
- <caret line="39" column="42" lean-forward="false" selection-start-line="39" selection-start-column="42" selection-end-line="39" selection-end-column="42" />
268
- <folding />
269
- </state>
270
- </provider>
271
- </entry>
272
- <entry file="file://$PROJECT_DIR$/README.md">
273
- <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
274
- <state split_layout="SPLIT">
275
- <first_editor relative-caret-position="524">
276
- <caret line="121" column="0" lean-forward="false" selection-start-line="121" selection-start-column="0" selection-end-line="121" selection-end-column="0" />
277
- <folding />
278
- </first_editor>
279
- <second_editor />
280
- </state>
281
- </provider>
282
- </entry>
283
- <entry file="file://$PROJECT_DIR$/lib/testoscope.rb">
284
- <provider selected="true" editor-type-id="text-editor">
285
- <state relative-caret-position="75">
286
- <caret line="5" column="84" lean-forward="false" selection-start-line="5" selection-start-column="84" selection-end-line="5" selection-end-column="84" />
287
- <folding />
288
- </state>
289
- </provider>
290
- </entry>
291
- <entry file="file://$PROJECT_DIR$/lib/testoscope/version.rb">
292
- <provider selected="true" editor-type-id="text-editor">
293
- <state relative-caret-position="15">
294
- <caret line="1" column="18" lean-forward="false" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
295
- <folding />
296
- </state>
297
- </provider>
298
- </entry>
299
- </component>
300
- </project>
data/.travis.yml DELETED
@@ -1,5 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.4.1
5
- before_install: gem install bundler -v 1.16.1