logirel 0.0.15 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. data/.idea/.name +1 -0
  2. data/.idea/.rakeTasks +7 -0
  3. data/.idea/dictionaries/xyz.xml +3 -0
  4. data/.idea/encodings.xml +5 -0
  5. data/.idea/inspectionProfiles/Project_Default.xml +11 -0
  6. data/.idea/inspectionProfiles/profiles_settings.xml +7 -0
  7. data/.idea/logirel.iml +65 -0
  8. data/.idea/misc.xml +8 -0
  9. data/.idea/modules.xml +9 -0
  10. data/.idea/vcs.xml +7 -0
  11. data/.idea/workspace.xml +666 -0
  12. data/.semver +1 -1
  13. data/README.md +36 -36
  14. data/Rakefile.rb +0 -1
  15. data/lib/logirel/Initer.rb +103 -150
  16. data/lib/logirel/cli.rb +64 -63
  17. data/lib/logirel/cli_helper.rb +86 -0
  18. data/lib/logirel/queries/bool_q.rb +34 -0
  19. data/lib/logirel/queries/query.rb +7 -0
  20. data/lib/logirel/queries/str_q.rb +36 -0
  21. data/lib/logirel/queries.rb +2 -0
  22. data/lib/logirel/tasks/albacore_tasks.rb +15 -0
  23. data/lib/logirel/tasks/aspnet.rb +23 -0
  24. data/lib/logirel/tasks/assembly_info.rb +15 -0
  25. data/lib/logirel/tasks/core.rb +36 -0
  26. data/lib/logirel/tasks/ncover.rb +23 -0
  27. data/lib/logirel/tasks/nuget.rb +17 -0
  28. data/lib/logirel/tasks/nunit.rb +14 -0
  29. data/lib/logirel/tasks/nuspec.rb +4 -0
  30. data/lib/logirel/tasks/output.rb +4 -0
  31. data/lib/logirel/tasks/xunit.rb +15 -0
  32. data/lib/logirel/tasks/zip.rb +4 -0
  33. data/lib/logirel/templates/Gemfile.tt +6 -0
  34. data/lib/logirel/templates/Rakefile.tt +9 -0
  35. data/lib/logirel/templates/environment.tt +114 -0
  36. data/lib/logirel/templates/gitignore.tt +6 -0
  37. data/lib/logirel/templates/paths.tt +40 -0
  38. data/lib/logirel/templates/project_details.tt +5 -0
  39. data/{content/utils.rb → lib/logirel/templates/utils.tt} +1 -1
  40. data/lib/logirel/utils.rb +8 -0
  41. data/lib/logirel/version.rb +2 -10
  42. data/lib/logirel/vs/environment.rb +22 -0
  43. data/lib/logirel/vs/project_types.rb +27 -0
  44. data/lib/logirel/vs/solution.rb +113 -0
  45. data/lib/logirel.rb +2 -9
  46. data/logirel.gemspec +8 -5
  47. data/spec/queries/bool_query_spec.rb +32 -27
  48. data/spec/queries/string_query_spec.rb +57 -53
  49. data/spec/support/with_sample_projects.rb +3 -3
  50. data/spec/version_spec.rb +2 -3
  51. data/vendor/cache/albacore-0.2.6.gem +0 -0
  52. data/vendor/cache/nokogiri-1.4.6-x86-mingw32.gem +0 -0
  53. data/vendor/cache/semver-1.0.6.gem +0 -0
  54. metadata +75 -38
  55. data/content/environment.rb +0 -82
  56. data/lib/logirel/NuGet.rb +0 -8
  57. data/lib/logirel/details_emitter.rb +0 -0
  58. data/lib/logirel/q_model.rb +0 -65
  59. data/lib/logirel/querier.rb +0 -8
  60. data/spec/dependencies/nuget_spec.rb +0 -10
  61. data/spec/filesystem/filestructure_spec.rb +0 -56
  62. data/spec/filesystem/path_init_spec.rb +0 -35
  63. data/spec/filesystem/rakefile_init_spec.rb +0 -32
  64. data/spec/initer_spec.rb +0 -29
  65. data/spec/queries/querier_spec.rb +0 -45
  66. data/vendor/cache/albacore-0.2.5.gem +0 -0
  67. data/vendor/cache/rubyzip-0.9.4.gem +0 -0
  68. data/vendor/cache/semver-1.0.5.gem +0 -0
data/.idea/.name ADDED
@@ -0,0 +1 @@
1
+ logirel
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="run specs, tag, push and release (to rubygems)" fullCmd="all" taksId="all" /><RakeTask description="Build logirel-0.0.15.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install logirel-0.0.15.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="push data and tags" fullCmd="push" taksId="push" /><RakeTask description="Create tag v0.0.15 and build and push logirel-0.0.15.gem to Rubygems" fullCmd="release" taksId="release" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="Tag the repository in git with gem version number" fullCmd="tag" taksId="tag" /><RakeTask description="" fullCmd="verify" taksId="verify" /></RakeGroup></Settings>
@@ -0,0 +1,3 @@
1
+ <component name="ProjectDictionaryState">
2
+ <dictionary name="xyz" />
3
+ </component>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+ </project>
5
+
@@ -0,0 +1,11 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0" is_locked="false">
3
+ <option name="myName" value="Project Default" />
4
+ <option name="myLocal" value="false" />
5
+ <inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">
6
+ <option name="processCode" value="true" />
7
+ <option name="processLiterals" value="true" />
8
+ <option name="processComments" value="true" />
9
+ </inspection_tool>
10
+ </profile>
11
+ </component>
@@ -0,0 +1,7 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="PROJECT_PROFILE" value="Project Default" />
4
+ <option name="USE_PROJECT_PROFILE" value="true" />
5
+ <version value="1.0" />
6
+ </settings>
7
+ </component>
data/.idea/logirel.iml ADDED
@@ -0,0 +1,65 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="GemRequirementsHolder" version="3">
4
+ <requirement>
5
+ <requirement>
6
+ <dependency name="albacore" version="0.2.6" bound="LATEST_IN_BRANCH" git="false" path="false" doRequire="true" />
7
+ </requirement>
8
+ <source from="Gemfile" />
9
+ </requirement>
10
+ <requirement>
11
+ <requirement>
12
+ <dependency name="bundler" version="1.0.14" bound="LATEST_IN_BRANCH" git="false" path="false" doRequire="true" />
13
+ </requirement>
14
+ <source from="Gemfile" />
15
+ </requirement>
16
+ <requirement>
17
+ <requirement>
18
+ <dependency name="nokogiri" version="1.4.4" bound="LATEST_IN_BRANCH" git="false" path="false" doRequire="true" />
19
+ </requirement>
20
+ <source from="Gemfile" />
21
+ </requirement>
22
+ <requirement>
23
+ <requirement>
24
+ <dependency name="semver" version="1.0.6" bound="LATEST_IN_BRANCH" git="false" path="false" doRequire="true" />
25
+ </requirement>
26
+ <source from="Gemfile" />
27
+ </requirement>
28
+ <requirement>
29
+ <requirement>
30
+ <dependency name="thor" version="0.14.6" bound="LATEST_IN_BRANCH" git="false" path="false" doRequire="true" />
31
+ </requirement>
32
+ <source from="Gemfile" />
33
+ </requirement>
34
+ <requirement>
35
+ <requirement>
36
+ <dependency name="uuid" version="2.3.2" bound="LATEST_IN_BRANCH" git="false" path="false" doRequire="true" />
37
+ </requirement>
38
+ <source from="Gemfile" />
39
+ </requirement>
40
+ </component>
41
+ <component name="NewModuleRootManager">
42
+ <content url="file://$MODULE_DIR$">
43
+ <sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
44
+ </content>
45
+ <orderEntry type="inheritedJdk" />
46
+ <orderEntry type="sourceFolder" forTests="false" />
47
+ <orderEntry type="library" scope="PROVIDED" name="[gem] bundler (v1.0.15, C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.15)" level="application" />
48
+ <orderEntry type="library" scope="PROVIDED" name="[gem] semver (v1.0.6, C:/Ruby192/lib/ruby/gems/1.9.1/gems/semver-1.0.6)" level="application" />
49
+ <orderEntry type="library" scope="PROVIDED" name="[gem] albacore (v0.2.5, C:/Ruby192/lib/ruby/gems/1.9.1/gems/albacore-0.2.5)" level="application" />
50
+ <orderEntry type="library" scope="PROVIDED" name="[gem] rubyzip (v0.9.4, C:/Ruby192/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.4)" level="application" />
51
+ <orderEntry type="library" scope="PROVIDED" name="[gem] albacore (v0.2.6, C:/Ruby192/lib/ruby/gems/1.9.1/gems/albacore-0.2.6)" level="application" />
52
+ <orderEntry type="library" scope="PROVIDED" name="[gem] thor (v0.14.6, C:/Ruby192/lib/ruby/gems/1.9.1/gems/thor-0.14.6)" level="application" />
53
+ <orderEntry type="library" scope="PROVIDED" name="[gem] macaddr (v1.0.0, C:/Ruby192/lib/ruby/gems/1.9.1/gems/macaddr-1.0.0)" level="application" />
54
+ <orderEntry type="library" scope="PROVIDED" name="[gem] uuid (v2.3.2, C:/Ruby192/lib/ruby/gems/1.9.1/gems/uuid-2.3.2)" level="application" />
55
+ <orderEntry type="library" scope="PROVIDED" name="[gem] nokogiri (v1.4.6, C:/Ruby192/lib/ruby/gems/1.9.1/gems/nokogiri-1.4.6-x86-mingw32)" level="application" />
56
+ <orderEntry type="library" scope="PROVIDED" name="[gem] diff-lcs (v1.1.2, C:/Ruby192/lib/ruby/gems/1.9.1/gems/diff-lcs-1.1.2)" level="application" />
57
+ <orderEntry type="library" scope="PROVIDED" name="[gem] rspec (v2.6.0, C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-2.6.0)" level="application" />
58
+ <orderEntry type="library" scope="PROVIDED" name="[gem] rspec-core (v2.6.4, C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.6.4)" level="application" />
59
+ <orderEntry type="library" scope="PROVIDED" name="[gem] rspec-expectations (v2.6.0, C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.6.0)" level="application" />
60
+ <orderEntry type="library" scope="PROVIDED" name="[gem] rspec-mocks (v2.6.0, C:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-mocks-2.6.0)" level="application" />
61
+ <orderEntry type="library" scope="PROVIDED" name="[gem] construct (v0.1.7, C:/Ruby192/lib/ruby/gems/1.9.1/gems/construct-0.1.7)" level="application" />
62
+ </component>
63
+ <component name="RModuleSettingsStorage" number="1" string0="$MODULE_DIR$/lib" />
64
+ </module>
65
+
data/.idea/misc.xml ADDED
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="DependencyValidationManager">
4
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="ruby-1.9.2-p180" project-jdk-type="RUBY_SDK" />
7
+ </project>
8
+
data/.idea/modules.xml ADDED
@@ -0,0 +1,9 @@
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/logirel.iml" filepath="$PROJECT_DIR$/.idea/logirel.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
9
+
data/.idea/vcs.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
7
+