Uranus 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 756bd4630b368d22dcfaac1b21ad047412a06727
4
+ data.tar.gz: 261e337a2c2a4a5f27a35e1d55689df726ca8d34
5
+ SHA512:
6
+ metadata.gz: edf18cc07e562582ae0ed6c19a6df75598dc1a652dce525ed09411f73a5b7b35d41a8c6b9f9e1a8281d39b88331010151a7d15912f6bf945f67b0728b6624152
7
+ data.tar.gz: 7c38b2def39dc626461b1193ce0eef7817736747bbd8e831d1d7d5e6d8d3abb2d4fa83e2d280425f6065469fee0abaef4a280ed000b89cabbb7a25c10c1efa65
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1 @@
1
+ Uranus
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="gem" name="Ruby Gem">
5
+ <configuration>
6
+ <option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
7
+ <option name="GEM_APP_TEST_PATH" value="$MODULE_DIR$/test" />
8
+ <option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
9
+ </configuration>
10
+ </facet>
11
+ </component>
12
+ <component name="NewModuleRootManager">
13
+ <content url="file://$MODULE_DIR$">
14
+ <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
15
+ <excludeFolder url="file://$MODULE_DIR$/.bundle" />
16
+ <excludeFolder url="file://$MODULE_DIR$/vendor/bundle" />
17
+ </content>
18
+ <orderEntry type="jdk" jdkName="RVM: ruby-2.2.3" jdkType="RUBY_SDK" />
19
+ <orderEntry type="sourceFolder" forTests="false" />
20
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.11.2, RVM: ruby-2.2.3) [gem]" level="application" />
21
+ <orderEntry type="library" scope="PROVIDED" name="minitest (v5.8.3, RVM: ruby-2.2.3) [gem]" level="application" />
22
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-2.2.3) [gem]" level="application" />
23
+ </component>
24
+ </module>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding">
4
+ <file url="PROJECT" charset="UTF-8" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
4
+ <OptionsSetting value="true" id="Add" />
5
+ <OptionsSetting value="true" id="Remove" />
6
+ <OptionsSetting value="true" id="Checkout" />
7
+ <OptionsSetting value="true" id="Update" />
8
+ <OptionsSetting value="true" id="Status" />
9
+ <OptionsSetting value="true" id="Edit" />
10
+ <ConfirmationsSetting value="0" id="Add" />
11
+ <ConfirmationsSetting value="0" id="Remove" />
12
+ </component>
13
+ <component name="ProjectRootManager" version="2" project-jdk-name="ruby-2.0.0-p645" project-jdk-type="RUBY_SDK" />
14
+ </project>
@@ -0,0 +1,8 @@
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/Uranus.iml" filepath="$PROJECT_DIR$/.idea/Uranus.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,159 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="01c06c4c-6d13-488c-afec-b05e0ac15b4a" name="Default" comment="" />
5
+ <ignored path="Uranus.iws" />
6
+ <ignored path=".idea/workspace.xml" />
7
+ <ignored path=".idea/dataSources.local.xml" />
8
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
9
+ <option name="TRACKING_ENABLED" value="true" />
10
+ <option name="SHOW_DIALOG" value="false" />
11
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
12
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
13
+ <option name="LAST_RESOLUTION" value="IGNORE" />
14
+ </component>
15
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
16
+ <component name="CreatePatchCommitExecutor">
17
+ <option name="PATCH_PATH" value="" />
18
+ </component>
19
+ <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
20
+ <component name="FavoritesManager">
21
+ <favorites_list name="Uranus" />
22
+ </component>
23
+ <component name="FileEditorManager">
24
+ <leaf>
25
+ <file leaf-file-name="Uranus.gemspec" pinned="false" current-in-tab="true">
26
+ <entry file="file://$PROJECT_DIR$/Uranus.gemspec">
27
+ <provider selected="true" editor-type-id="text-editor">
28
+ <state vertical-scroll-proportion="0.45498782">
29
+ <caret line="11" column="0" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
30
+ <folding />
31
+ </state>
32
+ </provider>
33
+ </entry>
34
+ </file>
35
+ </leaf>
36
+ </component>
37
+ <component name="IdeDocumentHistory">
38
+ <option name="CHANGED_PATHS">
39
+ <list>
40
+ <option value="$PROJECT_DIR$/Uranus.gemspec" />
41
+ </list>
42
+ </option>
43
+ </component>
44
+ <component name="JsBuildToolGruntFileManager" detection-done="true" />
45
+ <component name="JsBuildToolPackageJson" detection-done="true" />
46
+ <component name="JsGulpfileManager">
47
+ <detection-done>true</detection-done>
48
+ </component>
49
+ <component name="ProjectFrameBounds">
50
+ <option name="y" value="23" />
51
+ <option name="width" value="1280" />
52
+ <option name="height" value="773" />
53
+ </component>
54
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
55
+ <OptionsSetting value="true" id="Add" />
56
+ <OptionsSetting value="true" id="Remove" />
57
+ <OptionsSetting value="true" id="Checkout" />
58
+ <OptionsSetting value="true" id="Update" />
59
+ <OptionsSetting value="true" id="Status" />
60
+ <OptionsSetting value="true" id="Edit" />
61
+ <ConfirmationsSetting value="0" id="Add" />
62
+ <ConfirmationsSetting value="0" id="Remove" />
63
+ </component>
64
+ <component name="ProjectView">
65
+ <navigator currentView="ProjectPane" proportions="" version="1">
66
+ <flattenPackages />
67
+ <showMembers />
68
+ <showModules />
69
+ <showLibraryContents />
70
+ <hideEmptyPackages />
71
+ <abbreviatePackageNames />
72
+ <autoscrollToSource />
73
+ <autoscrollFromSource />
74
+ <sortByType />
75
+ <manualOrder />
76
+ <foldersAlwaysOnTop value="true" />
77
+ </navigator>
78
+ <panes>
79
+ <pane id="Scope" />
80
+ <pane id="ProjectPane">
81
+ <subPane>
82
+ <PATH>
83
+ <PATH_ELEMENT>
84
+ <option name="myItemId" value="Uranus" />
85
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
86
+ </PATH_ELEMENT>
87
+ </PATH>
88
+ <PATH>
89
+ <PATH_ELEMENT>
90
+ <option name="myItemId" value="Uranus" />
91
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
92
+ </PATH_ELEMENT>
93
+ <PATH_ELEMENT>
94
+ <option name="myItemId" value="Uranus" />
95
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
96
+ </PATH_ELEMENT>
97
+ </PATH>
98
+ </subPane>
99
+ </pane>
100
+ <pane id="Scratches" />
101
+ </panes>
102
+ </component>
103
+ <component name="PropertiesComponent">
104
+ <property name="WebServerToolWindowFactoryState" value="false" />
105
+ </component>
106
+ <component name="ShelveChangesManager" show_recycled="false" />
107
+ <component name="SvnConfiguration">
108
+ <configuration />
109
+ </component>
110
+ <component name="TaskManager">
111
+ <task active="true" id="Default" summary="Default task">
112
+ <changelist id="01c06c4c-6d13-488c-afec-b05e0ac15b4a" name="Default" comment="" />
113
+ <created>1459331047195</created>
114
+ <option name="number" value="Default" />
115
+ <updated>1459331047195</updated>
116
+ </task>
117
+ <servers />
118
+ </component>
119
+ <component name="ToolWindowManager">
120
+ <frame x="0" y="23" width="1280" height="773" extended-state="6" />
121
+ <editor active="true" />
122
+ <layout>
123
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2536349" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
124
+ <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" />
125
+ <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" />
126
+ <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" />
127
+ <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" />
128
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32977098" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
129
+ <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" />
130
+ <window_info id="Terminal" 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" />
131
+ <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" />
132
+ <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" />
133
+ <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" />
134
+ <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" />
135
+ <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" />
136
+ <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" />
137
+ <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" />
138
+ <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" />
139
+ <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" />
140
+ </layout>
141
+ </component>
142
+ <component name="VcsContentAnnotationSettings">
143
+ <option name="myLimit" value="2678400000" />
144
+ </component>
145
+ <component name="XDebuggerManager">
146
+ <breakpoint-manager />
147
+ <watches-manager />
148
+ </component>
149
+ <component name="editorHistoryManager">
150
+ <entry file="file://$PROJECT_DIR$/Uranus.gemspec">
151
+ <provider selected="true" editor-type-id="text-editor">
152
+ <state vertical-scroll-proportion="0.45498782">
153
+ <caret line="11" column="0" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
154
+ <folding />
155
+ </state>
156
+ </provider>
157
+ </entry>
158
+ </component>
159
+ </project>
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.3
4
+ before_install: gem install bundler -v 1.11.2
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in Uranus.gemspec
4
+ gemspec
@@ -0,0 +1,36 @@
1
+ # Uranus
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/Uranus`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'Uranus'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install Uranus
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/Uranus.
36
+
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
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 => :spec
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'Uranus/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'Uranus'
8
+ spec.version = Uranus::VERSION
9
+ spec.authors = ['RaymondChou']
10
+ spec.email = ['77916039@qq.com']
11
+ spec.licenses = 'Apache2.0'
12
+
13
+ spec.summary = %q{Uranus}
14
+ spec.description = %q{Uranus}
15
+ spec.homepage = 'https://github.com/RaymondChou'
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = 'exe'
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ['lib']
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.11"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "minitest", "~> 5.0"
25
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "Uranus"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,5 @@
1
+ require "Uranus/version"
2
+
3
+ module Uranus
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,3 @@
1
+ module Uranus
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,102 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: Uranus
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - RaymondChou
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-03-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ description: Uranus
56
+ email:
57
+ - 77916039@qq.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".idea/.name"
64
+ - ".idea/Uranus.iml"
65
+ - ".idea/encodings.xml"
66
+ - ".idea/misc.xml"
67
+ - ".idea/modules.xml"
68
+ - ".idea/workspace.xml"
69
+ - ".travis.yml"
70
+ - Gemfile
71
+ - README.md
72
+ - Rakefile
73
+ - Uranus.gemspec
74
+ - bin/console
75
+ - bin/setup
76
+ - lib/Uranus.rb
77
+ - lib/Uranus/version.rb
78
+ homepage: https://github.com/RaymondChou
79
+ licenses:
80
+ - Apache2.0
81
+ metadata: {}
82
+ post_install_message:
83
+ rdoc_options: []
84
+ require_paths:
85
+ - lib
86
+ required_ruby_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ requirements: []
97
+ rubyforge_project:
98
+ rubygems_version: 2.4.5.1
99
+ signing_key:
100
+ specification_version: 4
101
+ summary: Uranus
102
+ test_files: []