turbolog 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coveralls.yml +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/modules.xml +8 -0
- data/.idea/turbolog.iml +42 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +212 -0
- data/.travis.yml +17 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +90 -0
- data/Guardfile +12 -0
- data/README.md +28 -3
- data/Rakefile +17 -6
- data/lib/generators/turbolog/config_generator.rb +90 -0
- data/lib/generators/turbolog/install_generator.rb +64 -0
- data/lib/generators/turbolog/templates/app/controllers/Users/omniauth_callbacks_controller.rb +6 -0
- data/lib/tasks/turbolog.rake +30 -0
- data/lib/turbolog/railtie.rb +18 -0
- data/lib/turbolog/version.rb +1 -1
- data/lib/turbolog.rb +2 -1
- data/turbolog.gemspec +10 -11
- metadata +113 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6b91e162d230d3c088b04f88b8c234f60b4d44a0df1b50226bb1092bdab7930
|
4
|
+
data.tar.gz: 1b165bc8490a438eb63a61553c34691908dbd000a057b10c2fecef83cf479770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2e164e3a1843ed19a3134e1ecf51845cd0a6375a7f02be7333dedcd9600fb6f46bfb70f6a9fe913dcefa1ff0e496ca2ba7289371abccd6d4130a5357ae86d34
|
7
|
+
data.tar.gz: c3ca3b9969c45cf3b09bf76d0d68e7541628eaecbcf9086819e480d7197159343575750ab7267049f3cc2f4c108eba35a241b2443ca7e2cdb2292271e50b64de
|
data/.coveralls.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
service_name: travis-ci
|
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build turbolog-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install turbolog-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install turbolog-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push turbolog-0.1.0.gem to rubygems.org" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
|
data/.idea/modules.xml
ADDED
data/.idea/turbolog.iml
ADDED
@@ -0,0 +1,42 @@
|
|
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="inheritedJdk" />
|
9
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
10
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.1, RVM: ruby-2.4.1) [gem]" level="application" />
|
11
|
+
<orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.2, RVM: ruby-2.4.1) [gem]" level="application" />
|
12
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, RVM: ruby-2.4.1) [gem]" level="application" />
|
13
|
+
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.9.21, RVM: ruby-2.4.1) [gem]" level="application" />
|
14
|
+
<orderEntry type="library" scope="PROVIDED" name="formatador (v0.2.5, RVM: ruby-2.4.1) [gem]" level="application" />
|
15
|
+
<orderEntry type="library" scope="PROVIDED" name="guard (v2.14.2, RVM: ruby-2.4.1) [gem]" level="application" />
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="guard-compat (v1.2.1, RVM: ruby-2.4.1) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="guard-rspec (v4.7.3, RVM: ruby-2.4.1) [gem]" level="application" />
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="listen (v3.1.5, RVM: ruby-2.4.1) [gem]" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="lumberjack (v1.0.12, RVM: ruby-2.4.1) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="method_source (v0.8.2, RVM: ruby-2.4.1) [gem]" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.11.3, RVM: ruby-2.4.1) [gem]" level="application" />
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="nenv (v0.3.0, RVM: ruby-2.4.1) [gem]" level="application" />
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="notiffany (v0.1.1, RVM: ruby-2.4.1) [gem]" level="application" />
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="pry (v0.11.3, RVM: ruby-2.4.1) [gem]" level="application" />
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="pry-nav (v0.2.4, RVM: ruby-2.4.1) [gem]" level="application" />
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="pry-remote (v0.1.8, RVM: ruby-2.4.1) [gem]" level="application" />
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.4.1) [gem]" level="application" />
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="rb-fsevent (v0.10.2, RVM: ruby-2.4.1) [gem]" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="rb-inotify (v0.9.10, RVM: ruby-2.4.1) [gem]" level="application" />
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.7.0, RVM: ruby-2.4.1) [gem]" level="application" />
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.7.1, RVM: ruby-2.4.1) [gem]" level="application" />
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.7.0, RVM: ruby-2.4.1) [gem]" level="application" />
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.7.0, RVM: ruby-2.4.1) [gem]" level="application" />
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-nc (v0.3.0, RVM: ruby-2.4.1) [gem]" level="application" />
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.7.1, RVM: ruby-2.4.1) [gem]" level="application" />
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby_dep (v1.5.0, RVM: ruby-2.4.1) [gem]" level="application" />
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="shellany (v0.0.1, RVM: ruby-2.4.1) [gem]" level="application" />
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="slop (v3.6.0, RVM: ruby-2.4.1) [gem]" level="application" />
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="terminal-notifier (v2.0.0, RVM: ruby-2.4.1) [gem]" level="application" />
|
40
|
+
<orderEntry type="library" scope="PROVIDED" name="thor (v0.20.0, RVM: ruby-2.4.1) [gem]" level="application" />
|
41
|
+
</component>
|
42
|
+
</module>
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,212 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="103acaee-3a49-4b33-9f69-7529104273a3" name="Default" comment="">
|
5
|
+
<change beforePath="" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
|
6
|
+
<change beforePath="$PROJECT_DIR$/lib/turbolog.rb" afterPath="$PROJECT_DIR$/lib/turbolog.rb" />
|
7
|
+
<change beforePath="$PROJECT_DIR$/spec/turbolog_spec.rb" afterPath="$PROJECT_DIR$/spec/turbolog_spec.rb" />
|
8
|
+
<change beforePath="$PROJECT_DIR$/turbolog.gemspec" afterPath="$PROJECT_DIR$/turbolog.gemspec" />
|
9
|
+
</list>
|
10
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
11
|
+
<option name="TRACKING_ENABLED" value="true" />
|
12
|
+
<option name="SHOW_DIALOG" value="false" />
|
13
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
14
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
15
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
16
|
+
</component>
|
17
|
+
<component name="CoverageDataManager">
|
18
|
+
<SUITE FILE_PATH="coverage/turbolog@turbolog.coverage" NAME="turbolog Coverage Results" MODIFIED="1518103961523" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib/tasks" MODULE_NAME="turbolog" />
|
19
|
+
</component>
|
20
|
+
<component name="FileEditorManager">
|
21
|
+
<leaf>
|
22
|
+
<file leaf-file-name="turbolog.rake" pinned="false" current-in-tab="true">
|
23
|
+
<entry file="file://$PROJECT_DIR$/lib/tasks/turbolog.rake">
|
24
|
+
<provider selected="true" editor-type-id="text-editor">
|
25
|
+
<state relative-caret-position="60">
|
26
|
+
<caret line="4" column="22" lean-forward="false" selection-start-line="4" selection-start-column="22" selection-end-line="4" selection-end-column="22" />
|
27
|
+
<folding />
|
28
|
+
</state>
|
29
|
+
</provider>
|
30
|
+
</entry>
|
31
|
+
</file>
|
32
|
+
</leaf>
|
33
|
+
</component>
|
34
|
+
<component name="Git.Settings">
|
35
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
36
|
+
</component>
|
37
|
+
<component name="IdeDocumentHistory">
|
38
|
+
<option name="CHANGED_PATHS">
|
39
|
+
<list>
|
40
|
+
<option value="$PROJECT_DIR$/lib/tasks/turbolog.rake" />
|
41
|
+
</list>
|
42
|
+
</option>
|
43
|
+
</component>
|
44
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
45
|
+
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
46
|
+
<component name="JsGulpfileManager">
|
47
|
+
<detection-done>true</detection-done>
|
48
|
+
<sorting>DEFINITION_ORDER</sorting>
|
49
|
+
</component>
|
50
|
+
<component name="ProjectFrameBounds">
|
51
|
+
<option name="x" value="498" />
|
52
|
+
<option name="y" value="-1038" />
|
53
|
+
<option name="width" value="979" />
|
54
|
+
<option name="height" value="662" />
|
55
|
+
</component>
|
56
|
+
<component name="ProjectView">
|
57
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
58
|
+
<flattenPackages />
|
59
|
+
<showMembers />
|
60
|
+
<showModules />
|
61
|
+
<showLibraryContents />
|
62
|
+
<hideEmptyPackages />
|
63
|
+
<abbreviatePackageNames />
|
64
|
+
<autoscrollToSource />
|
65
|
+
<autoscrollFromSource />
|
66
|
+
<sortByType />
|
67
|
+
<manualOrder />
|
68
|
+
<foldersAlwaysOnTop value="true" />
|
69
|
+
</navigator>
|
70
|
+
<panes>
|
71
|
+
<pane id="ProjectPane">
|
72
|
+
<subPane>
|
73
|
+
<expand>
|
74
|
+
<path>
|
75
|
+
<item name="turbolog" type="b2602c69:ProjectViewProjectNode" />
|
76
|
+
<item name="turbolog" type="462c0819:PsiDirectoryNode" />
|
77
|
+
</path>
|
78
|
+
<path>
|
79
|
+
<item name="turbolog" type="b2602c69:ProjectViewProjectNode" />
|
80
|
+
<item name="turbolog" type="462c0819:PsiDirectoryNode" />
|
81
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
82
|
+
</path>
|
83
|
+
<path>
|
84
|
+
<item name="turbolog" type="b2602c69:ProjectViewProjectNode" />
|
85
|
+
<item name="turbolog" type="462c0819:PsiDirectoryNode" />
|
86
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
87
|
+
<item name="tasks" type="462c0819:PsiDirectoryNode" />
|
88
|
+
</path>
|
89
|
+
</expand>
|
90
|
+
<select />
|
91
|
+
</subPane>
|
92
|
+
</pane>
|
93
|
+
<pane id="Scratches" />
|
94
|
+
<pane id="Scope" />
|
95
|
+
</panes>
|
96
|
+
</component>
|
97
|
+
<component name="PropertiesComponent">
|
98
|
+
<property name="settings.editor.selected.configurable" value="org.jetbrains.plugins.ruby.settings.RubyActiveModuleSdkConfigurable" />
|
99
|
+
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
100
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
101
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
102
|
+
</component>
|
103
|
+
<component name="RunDashboard">
|
104
|
+
<option name="ruleStates">
|
105
|
+
<list>
|
106
|
+
<RuleState>
|
107
|
+
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
108
|
+
</RuleState>
|
109
|
+
<RuleState>
|
110
|
+
<option name="name" value="StatusDashboardGroupingRule" />
|
111
|
+
</RuleState>
|
112
|
+
</list>
|
113
|
+
</option>
|
114
|
+
</component>
|
115
|
+
<component name="RunManager">
|
116
|
+
<configuration name="turbolog" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
117
|
+
<module name="turbolog" />
|
118
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
119
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib/tasks" />
|
120
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
121
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
122
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
123
|
+
<envs />
|
124
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
125
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
126
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
127
|
+
<COVERAGE_PATTERN ENABLED="true">
|
128
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
129
|
+
</COVERAGE_PATTERN>
|
130
|
+
</EXTENSION>
|
131
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/tasks/turbolog.rake" />
|
132
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
133
|
+
</configuration>
|
134
|
+
<recent_temporary>
|
135
|
+
<list size="1">
|
136
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.turbolog" />
|
137
|
+
</list>
|
138
|
+
</recent_temporary>
|
139
|
+
</component>
|
140
|
+
<component name="ShelveChangesManager" show_recycled="false">
|
141
|
+
<option name="remove_strategy" value="false" />
|
142
|
+
</component>
|
143
|
+
<component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
|
144
|
+
<component name="SvnConfiguration">
|
145
|
+
<configuration />
|
146
|
+
</component>
|
147
|
+
<component name="TaskManager">
|
148
|
+
<task active="true" id="Default" summary="Default task">
|
149
|
+
<changelist id="103acaee-3a49-4b33-9f69-7529104273a3" name="Default" comment="" />
|
150
|
+
<created>1518041171796</created>
|
151
|
+
<option name="number" value="Default" />
|
152
|
+
<option name="presentableId" value="Default" />
|
153
|
+
<updated>1518041171796</updated>
|
154
|
+
<workItem from="1518041173110" duration="1010000" />
|
155
|
+
</task>
|
156
|
+
<servers />
|
157
|
+
</component>
|
158
|
+
<component name="TimeTrackingManager">
|
159
|
+
<option name="totallyTimeSpent" value="1010000" />
|
160
|
+
</component>
|
161
|
+
<component name="ToolWindowManager">
|
162
|
+
<frame x="498" y="-1038" width="979" height="662" extended-state="0" />
|
163
|
+
<layout>
|
164
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2497332" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
165
|
+
<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" />
|
166
|
+
<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" />
|
167
|
+
<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" />
|
168
|
+
<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" />
|
169
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32911393" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
170
|
+
<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" />
|
171
|
+
<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" />
|
172
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3290441" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
173
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.39889705" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
174
|
+
<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" />
|
175
|
+
<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" />
|
176
|
+
<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" />
|
177
|
+
<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" />
|
178
|
+
<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" />
|
179
|
+
<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" />
|
180
|
+
<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" />
|
181
|
+
<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" />
|
182
|
+
</layout>
|
183
|
+
</component>
|
184
|
+
<component name="TypeScriptGeneratedFilesManager">
|
185
|
+
<option name="version" value="1" />
|
186
|
+
</component>
|
187
|
+
<component name="VcsContentAnnotationSettings">
|
188
|
+
<option name="myLimit" value="2678400000" />
|
189
|
+
</component>
|
190
|
+
<component name="XDebuggerManager">
|
191
|
+
<breakpoint-manager>
|
192
|
+
<breakpoints>
|
193
|
+
<line-breakpoint enabled="true" type="ruby-line">
|
194
|
+
<url>file://$PROJECT_DIR$/lib/tasks/turbolog.rake</url>
|
195
|
+
<line>14</line>
|
196
|
+
</line-breakpoint>
|
197
|
+
</breakpoints>
|
198
|
+
<option name="time" value="1" />
|
199
|
+
</breakpoint-manager>
|
200
|
+
<watches-manager />
|
201
|
+
</component>
|
202
|
+
<component name="editorHistoryManager">
|
203
|
+
<entry file="file://$PROJECT_DIR$/lib/tasks/turbolog.rake">
|
204
|
+
<provider selected="true" editor-type-id="text-editor">
|
205
|
+
<state relative-caret-position="60">
|
206
|
+
<caret line="4" column="22" lean-forward="false" selection-start-line="4" selection-start-column="22" selection-end-line="4" selection-end-column="22" />
|
207
|
+
<folding />
|
208
|
+
</state>
|
209
|
+
</provider>
|
210
|
+
</entry>
|
211
|
+
</component>
|
212
|
+
</project>
|
data/.travis.yml
CHANGED
@@ -1,5 +1,21 @@
|
|
1
|
-
|
1
|
+
|
2
2
|
language: ruby
|
3
|
+
cache: bundler
|
4
|
+
|
3
5
|
rvm:
|
6
|
+
- ruby
|
4
7
|
- 2.4.1
|
8
|
+
|
9
|
+
script: 'bundle exec rake'
|
10
|
+
|
11
|
+
notifications:
|
12
|
+
email:
|
13
|
+
recipients:
|
14
|
+
- 1.0@kul.asia
|
15
|
+
on_failure: change
|
16
|
+
on_success: never
|
17
|
+
|
18
|
+
|
19
|
+
sudo: false
|
20
|
+
|
5
21
|
before_install: gem install bundler -v 1.16.1
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
turbolog (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
coderay (1.1.2)
|
10
|
+
diff-lcs (1.3)
|
11
|
+
ffi (1.9.21)
|
12
|
+
formatador (0.2.5)
|
13
|
+
guard (2.14.2)
|
14
|
+
formatador (>= 0.2.4)
|
15
|
+
listen (>= 2.7, < 4.0)
|
16
|
+
lumberjack (>= 1.0.12, < 2.0)
|
17
|
+
nenv (~> 0.1)
|
18
|
+
notiffany (~> 0.0)
|
19
|
+
pry (>= 0.9.12)
|
20
|
+
shellany (~> 0.0)
|
21
|
+
thor (>= 0.18.1)
|
22
|
+
guard-compat (1.2.1)
|
23
|
+
guard-rspec (4.7.3)
|
24
|
+
guard (~> 2.1)
|
25
|
+
guard-compat (~> 1.1)
|
26
|
+
rspec (>= 2.99.0, < 4.0)
|
27
|
+
listen (3.1.5)
|
28
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
29
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
30
|
+
ruby_dep (~> 1.2)
|
31
|
+
lumberjack (1.0.12)
|
32
|
+
method_source (0.8.2)
|
33
|
+
minitest (5.11.3)
|
34
|
+
nenv (0.3.0)
|
35
|
+
notiffany (0.1.1)
|
36
|
+
nenv (~> 0.1)
|
37
|
+
shellany (~> 0.0)
|
38
|
+
pry (0.10.4)
|
39
|
+
coderay (~> 1.1.0)
|
40
|
+
method_source (~> 0.8.1)
|
41
|
+
slop (~> 3.4)
|
42
|
+
pry-nav (0.2.4)
|
43
|
+
pry (>= 0.9.10, < 0.11.0)
|
44
|
+
pry-remote (0.1.8)
|
45
|
+
pry (~> 0.9)
|
46
|
+
slop (~> 3.0)
|
47
|
+
rake (10.5.0)
|
48
|
+
rb-fsevent (0.10.2)
|
49
|
+
rb-inotify (0.9.10)
|
50
|
+
ffi (>= 0.5.0, < 2)
|
51
|
+
rspec (3.7.0)
|
52
|
+
rspec-core (~> 3.7.0)
|
53
|
+
rspec-expectations (~> 3.7.0)
|
54
|
+
rspec-mocks (~> 3.7.0)
|
55
|
+
rspec-core (3.7.1)
|
56
|
+
rspec-support (~> 3.7.0)
|
57
|
+
rspec-expectations (3.7.0)
|
58
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
59
|
+
rspec-support (~> 3.7.0)
|
60
|
+
rspec-mocks (3.7.0)
|
61
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
62
|
+
rspec-support (~> 3.7.0)
|
63
|
+
rspec-nc (0.3.0)
|
64
|
+
rspec (>= 3)
|
65
|
+
terminal-notifier (>= 1.4)
|
66
|
+
rspec-support (3.7.1)
|
67
|
+
ruby_dep (1.5.0)
|
68
|
+
shellany (0.0.1)
|
69
|
+
slop (3.6.0)
|
70
|
+
terminal-notifier (2.0.0)
|
71
|
+
thor (0.20.0)
|
72
|
+
|
73
|
+
PLATFORMS
|
74
|
+
ruby
|
75
|
+
|
76
|
+
DEPENDENCIES
|
77
|
+
bundler (~> 1.16)
|
78
|
+
guard
|
79
|
+
guard-rspec
|
80
|
+
minitest (~> 5.0)
|
81
|
+
pry
|
82
|
+
pry-nav
|
83
|
+
pry-remote
|
84
|
+
rake (~> 10.0)
|
85
|
+
rspec
|
86
|
+
rspec-nc
|
87
|
+
turbolog!
|
88
|
+
|
89
|
+
BUNDLED WITH
|
90
|
+
1.16.1
|
data/Guardfile
ADDED
data/README.md
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
# Turbolog
|
2
2
|
|
3
|
-
|
3
|
+
Turbolog is a gem to setup devise, omniauth and facebook authentication.
|
4
4
|
|
5
|
-
|
5
|
+
For the following configuration:
|
6
|
+
|
7
|
+
.Rails 5.1.4
|
8
|
+
.Ruby 2.4.1
|
9
|
+
.Devise
|
10
|
+
.Mongoid
|
11
|
+
.Omniauth_facebook
|
6
12
|
|
7
13
|
## Installation
|
8
14
|
|
@@ -20,9 +26,28 @@ Or install it yourself as:
|
|
20
26
|
|
21
27
|
$ gem install turbolog
|
22
28
|
|
29
|
+
Then execute :
|
30
|
+
|
31
|
+
$ rails g turbolog:install
|
32
|
+
|
33
|
+
It will backup and include several gems
|
34
|
+
|
35
|
+
|
36
|
+
Then execute :
|
37
|
+
|
38
|
+
$ rails g turbolog:config
|
39
|
+
|
40
|
+
It will run mongoid:config, devise install, devise Users and config omniauth and generate scaffold welcome to be an example
|
41
|
+
|
23
42
|
## Usage
|
24
43
|
|
25
|
-
|
44
|
+
Your rails app will have Log In/Log Out with Facebook authentication as a template for your modification.
|
45
|
+
|
46
|
+
Other command:
|
47
|
+
|
48
|
+
To remove devise line from config/routes by execute the following command
|
49
|
+
|
50
|
+
$ rake turbolog:clean
|
26
51
|
|
27
52
|
## Development
|
28
53
|
|
data/Rakefile
CHANGED
@@ -1,10 +1,21 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
|
-
require "rake/testtask"
|
3
2
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
#require "rake/testtask"
|
4
|
+
# Rake::TestTask.new(:test) do |t|
|
5
|
+
# t.libs << "test"
|
6
|
+
# t.libs << "lib"
|
7
|
+
# t.test_files = FileList["test/**/*_test.rb"]
|
8
|
+
# end
|
9
|
+
|
10
|
+
# task :default => :test
|
11
|
+
|
12
|
+
|
13
|
+
require 'rspec/core/rake_task'
|
14
|
+
|
15
|
+
# Default directory to look in is `/specs`
|
16
|
+
# Run with `rake spec`
|
17
|
+
RSpec::Core::RakeTask.new(:spec) do |task|
|
18
|
+
task.rspec_opts = ['--color', '--format', 'nested']
|
8
19
|
end
|
9
20
|
|
10
|
-
task :default => :
|
21
|
+
task :default => :spec
|
@@ -0,0 +1,90 @@
|
|
1
|
+
module Turbolog
|
2
|
+
module Generators
|
3
|
+
class ConfigGenerator < Rails::Generators::Base
|
4
|
+
def self.source_root
|
5
|
+
File.dirname(__FILE__) + "/templates"
|
6
|
+
end
|
7
|
+
|
8
|
+
desc "Config mongoid"
|
9
|
+
def config_mongoid
|
10
|
+
run "rails g mongoid:config"
|
11
|
+
end
|
12
|
+
desc "Configure Devise"
|
13
|
+
def config_devise
|
14
|
+
puts "rails g devise:install...............\n"
|
15
|
+
run "rails generate devise:install"
|
16
|
+
puts "rails g devise User..................\n"
|
17
|
+
run "rails generate devise User"
|
18
|
+
#remove another devise from rails g devise User
|
19
|
+
gsub_file 'config/routes.rb',/devise_for :users\n/,''
|
20
|
+
end
|
21
|
+
|
22
|
+
|
23
|
+
desc "Backup Files if previous installed"
|
24
|
+
# def backup_files
|
25
|
+
# inside("app/controllers") {(File.file? "Users/omniauth_callbacks_controller.rb") ? (mv omniauth_callbacks_controller.rb omniauth_callbacks_controller.rb.bak) : (puts "Backup omniauth_callbacks_controller.rb")}
|
26
|
+
# end
|
27
|
+
|
28
|
+
def authenticate_user
|
29
|
+
puts "authenticate_user...................\n"
|
30
|
+
inject_into_file 'app/controllers/application_controller.rb', :after => 'class ApplicationController < ActionController::Base' do
|
31
|
+
"\n before_action :authenticate_user!\n"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def setup_routes
|
36
|
+
puts "setup_routes........................\n"
|
37
|
+
route "devise_for :users, :controllers => { :omniauth_callbacks => \"users/omniauth_callbacks\" }"
|
38
|
+
end
|
39
|
+
|
40
|
+
|
41
|
+
desc "Set up omniauth config"
|
42
|
+
def setup_omniauth
|
43
|
+
puts "config devise for facebook...........\n"
|
44
|
+
inject_into_file 'config/initializers/devise.rb', :after => 'Devise.setup do |config|' do
|
45
|
+
"\n config.omniauth :facebook, ENV['FACEBOOK_API'], ENV['FACEBOOK_SECRET']\n"
|
46
|
+
end
|
47
|
+
puts "config user for facebook.............\n"
|
48
|
+
inject_into_file 'app/models/user.rb', :after => 'include Mongoid::Document' do
|
49
|
+
"\n\n include Mongoid::Attributes::Dynamic" +
|
50
|
+
"\n devise :omniauthable, :omniauth_providers => [:facebook]" +
|
51
|
+
"\n def self.from_omniauth(auth)" +
|
52
|
+
"\n where(provider: auth.provider, uid: auth.uid).first_or_create do |user|" +
|
53
|
+
"\n user.email = auth.info.email" +
|
54
|
+
"\n user.password = Devise.friendly_token[0,20]" +
|
55
|
+
"\n end" +
|
56
|
+
"\n end\n"
|
57
|
+
end
|
58
|
+
|
59
|
+
puts "Add field provider to User...........\n"
|
60
|
+
inject_into_file 'app/models/user.rb', :after => ' field :encrypted_password, type: String, default: ""' do
|
61
|
+
"\n field :provider, type: String, default: \"\"\n"
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
65
|
+
|
66
|
+
desc "Add Log In/Log Out to application.html.erb"
|
67
|
+
puts "Add Log In/Log Out to application.html.\n"
|
68
|
+
|
69
|
+
def log_in_out
|
70
|
+
inject_into_file 'app/views/layouts/application.html.erb', :after => '<body>' do
|
71
|
+
"\n "+
|
72
|
+
"\n <p class=\"notice\"><%= notice %></p>" +
|
73
|
+
"\n <p class=\"alert\"><%= alert %></p>" +
|
74
|
+
"\n <% if user_signed_in? %>" +
|
75
|
+
"\n <%= link_to \"Log Out\", destroy_user_session_path, method: :delete %>" +
|
76
|
+
"\n <% else %>" +
|
77
|
+
"\n <%= link_to(\"Log In\", new_user_session_path) %>" +
|
78
|
+
"\n <% end %>\n"
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
def finish
|
83
|
+
puts " Finished Configured devise omniauth for Facebook.\n"
|
84
|
+
puts "\n"
|
85
|
+
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
@@ -0,0 +1,64 @@
|
|
1
|
+
module Turbolog
|
2
|
+
module Generators
|
3
|
+
class InstallGenerator < Rails::Generators::Base
|
4
|
+
desc "Install Turbolog component to existing Rails app "
|
5
|
+
def self.source_root
|
6
|
+
File.dirname(__FILE__) + "/templates"
|
7
|
+
end
|
8
|
+
|
9
|
+
def setup_gems
|
10
|
+
gem 'devise'
|
11
|
+
gem 'mongo', '~> 2.2'
|
12
|
+
gem 'bson', '~> 4.0'
|
13
|
+
gem 'mongoid', github: 'mongodb/mongoid'
|
14
|
+
gem 'nokogiri' # use for jinda/doc
|
15
|
+
gem 'haml', git: 'https://github.com/haml/haml'
|
16
|
+
gem 'haml-rails'
|
17
|
+
gem 'bcrypt'
|
18
|
+
gem 'omniauth-identity'
|
19
|
+
gem 'omniauth-facebook'
|
20
|
+
gem 'dotenv-rails'
|
21
|
+
gem_group :development, :test do
|
22
|
+
gem 'rspec'
|
23
|
+
gem 'rspec-rails'
|
24
|
+
gem 'better_errors'
|
25
|
+
gem 'binding_of_caller'
|
26
|
+
gem 'pry-byebug'
|
27
|
+
gem 'factory_bot_rails'
|
28
|
+
gem 'guard'
|
29
|
+
gem 'guard-rspec'
|
30
|
+
gem 'guard-minitest'
|
31
|
+
gem 'capybara'
|
32
|
+
gem 'rb-fsevent'
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
def backup_files
|
37
|
+
inside("app/controllers") {(File.file? "Users/omniauth_callbacks_controller.rb") ? (run "mv omniauth_callbacks_controller.rb omniauth_callbacks_controller.rb.bak") : (puts "No omniauth_callbacks_controller.rb")}
|
38
|
+
inside("config/initializers") {(File.file? "devise.rb") ? (run "mv devise.rb devise.rb.bak") : (puts "No devise.rb")}
|
39
|
+
inside("app/models") {(File.file? "user.rb") ? (run "mv user.rb user.rb.bak") : (puts "No user.rb")}
|
40
|
+
inside("app/views/layouts") {(File.file? "application.html.erb") ? (run "cp application.html.erb application.html.erb.bak") : (puts "No application.html.erb")}
|
41
|
+
inside("config") {(File.file? "routes.rb") ? (run "cp routes.rb routes.rb.bak") : (puts "No routes.rb")}
|
42
|
+
directory "app"
|
43
|
+
end
|
44
|
+
def remove_devise
|
45
|
+
gsub_file 'config/routes.rb',/devise_for.*\n/,''
|
46
|
+
end
|
47
|
+
def create_welcome
|
48
|
+
run "rails g scaffold welcome greeting:text"
|
49
|
+
end
|
50
|
+
|
51
|
+
|
52
|
+
def finish
|
53
|
+
puts "\n"
|
54
|
+
puts "Backup existing configuration files.\n"
|
55
|
+
puts "Modify Gemfile with devise omniauth gems.\n"
|
56
|
+
puts "Please run the following command:\n"
|
57
|
+
puts "----------------------------------------\n"
|
58
|
+
puts "bundle install\n"
|
59
|
+
puts "rails generate turbolog:config\n"
|
60
|
+
puts "----------------------------------------\n"
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
#require railtie.rb in turbolog.rb
|
2
|
+
require 'turbolog'
|
3
|
+
require 'thor'
|
4
|
+
|
5
|
+
namespace :turbolog do
|
6
|
+
# def self.source_root
|
7
|
+
# File.dirname(__FILE__) + "/templates"
|
8
|
+
# end
|
9
|
+
class Hammer < Thor
|
10
|
+
include Thor::Actions
|
11
|
+
end
|
12
|
+
|
13
|
+
desc "remove devise files"
|
14
|
+
task :clean=> :environment do
|
15
|
+
if remove_devise?
|
16
|
+
puts "Done......................"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def remove_devise?
|
21
|
+
return (hammer :gsub_file, 'config/routes.rb',/devise_for.*\n/,'') ? true : false
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
def hammer(*args)
|
26
|
+
Hammer.new.send *args
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# realtie.rb require to run *.rake
|
2
|
+
require 'turbolog'
|
3
|
+
|
4
|
+
module Turbolog
|
5
|
+
require 'rails'
|
6
|
+
class Railtie < Rails::Railtie
|
7
|
+
# initializer "testing" do |app|
|
8
|
+
# ActionController::Base.send :include, Jinda::Helpers
|
9
|
+
# end
|
10
|
+
rake_tasks do
|
11
|
+
load "tasks/turbolog.rake"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
# module ApplicationHelper
|
17
|
+
# include Jinda::Helpers
|
18
|
+
# end
|
data/lib/turbolog/version.rb
CHANGED
data/lib/turbolog.rb
CHANGED
data/turbolog.gemspec
CHANGED
@@ -14,23 +14,22 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = "https://github.com/kul1/turbolog"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
-
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
-
# if spec.respond_to?(:metadata)
|
20
|
-
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
21
|
-
# else
|
22
|
-
# raise "RubyGems 2.0 or newer is required to protect against " \
|
23
|
-
# "public gem pushes."
|
24
|
-
# end
|
25
|
-
|
26
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
27
18
|
f.match(%r{^(test|spec|features)/})
|
28
|
-
|
19
|
+
end
|
29
20
|
spec.bindir = "exe"
|
30
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
22
|
spec.require_paths = ["lib"]
|
32
|
-
|
33
23
|
spec.add_development_dependency "bundler", "~> 1.16"
|
34
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
35
25
|
spec.add_development_dependency "minitest", "~> 5.0"
|
26
|
+
spec.add_development_dependency "rspec"
|
27
|
+
spec.add_development_dependency "rspec-nc"
|
28
|
+
spec.add_development_dependency "guard"
|
29
|
+
spec.add_development_dependency "guard-rspec"
|
30
|
+
spec.add_development_dependency "pry"
|
31
|
+
spec.add_development_dependency "pry-remote"
|
32
|
+
spec.add_development_dependency "pry-nav"
|
33
|
+
#spec.add_development_dependency "coveralls"
|
34
|
+
|
36
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turbolog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Prateep Kul
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,6 +52,104 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
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'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec-nc
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: guard-rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: pry
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry-remote
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pry-nav
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
55
153
|
description: Create login with devise, omniauth and facebook
|
56
154
|
email:
|
57
155
|
- 1.0@kul.asia
|
@@ -59,16 +157,29 @@ executables: []
|
|
59
157
|
extensions: []
|
60
158
|
extra_rdoc_files: []
|
61
159
|
files:
|
160
|
+
- ".coveralls.yml"
|
62
161
|
- ".gitignore"
|
162
|
+
- ".idea/.rakeTasks"
|
163
|
+
- ".idea/modules.xml"
|
164
|
+
- ".idea/turbolog.iml"
|
165
|
+
- ".idea/vcs.xml"
|
166
|
+
- ".idea/workspace.xml"
|
63
167
|
- ".travis.yml"
|
64
168
|
- CODE_OF_CONDUCT.md
|
65
169
|
- Gemfile
|
170
|
+
- Gemfile.lock
|
171
|
+
- Guardfile
|
66
172
|
- LICENSE.txt
|
67
173
|
- README.md
|
68
174
|
- Rakefile
|
69
175
|
- bin/console
|
70
176
|
- bin/setup
|
177
|
+
- lib/generators/turbolog/config_generator.rb
|
178
|
+
- lib/generators/turbolog/install_generator.rb
|
179
|
+
- lib/generators/turbolog/templates/app/controllers/Users/omniauth_callbacks_controller.rb
|
180
|
+
- lib/tasks/turbolog.rake
|
71
181
|
- lib/turbolog.rb
|
182
|
+
- lib/turbolog/railtie.rb
|
72
183
|
- lib/turbolog/version.rb
|
73
184
|
- turbolog.gemspec
|
74
185
|
homepage: https://github.com/kul1/turbolog
|