Browse code

Adresarova struktura

Cinan Rakosnik authored on 09/12/2012 at 02:01:44
Showing 10 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,17 @@
0
+*.gem
1
+*.rbc
2
+.bundle
3
+.config
4
+.yardoc
5
+Gemfile.lock
6
+InstalledFiles
7
+_yardoc
8
+coverage
9
+doc/
10
+lib/bundler/man
11
+pkg
12
+rdoc
13
+spec/reports
14
+test/tmp
15
+test/version_tmp
16
+tmp
0 17
new file mode 100644
... ...
@@ -0,0 +1,4 @@
0
+source 'https://rubygems.org'
1
+
2
+# Specify your gem's dependencies in rubysermon.gemspec
3
+gemspec
0 4
new file mode 100644
... ...
@@ -0,0 +1,22 @@
0
+Copyright (c) 2012 Cinan Rakosnik
1
+
2
+MIT License
3
+
4
+Permission is hereby granted, free of charge, to any person obtaining
5
+a copy of this software and associated documentation files (the
6
+"Software"), to deal in the Software without restriction, including
7
+without limitation the rights to use, copy, modify, merge, publish,
8
+distribute, sublicense, and/or sell copies of the Software, and to
9
+permit persons to whom the Software is furnished to do so, subject to
10
+the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be
13
+included in all copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0 22
\ No newline at end of file
1 23
new file mode 100644
... ...
@@ -0,0 +1,29 @@
0
+# Rubysermon
1
+
2
+TODO: Write a gem description
3
+
4
+## Installation
5
+
6
+Add this line to your application's Gemfile:
7
+
8
+    gem 'rubysermon'
9
+
10
+And then execute:
11
+
12
+    $ bundle
13
+
14
+Or install it yourself as:
15
+
16
+    $ gem install rubysermon
17
+
18
+## Usage
19
+
20
+TODO: Write usage instructions here
21
+
22
+## Contributing
23
+
24
+1. Fork it
25
+2. Create your feature branch (`git checkout -b my-new-feature`)
26
+3. Commit your changes (`git commit -am 'Added some feature'`)
27
+4. Push to the branch (`git push origin my-new-feature`)
28
+5. Create new Pull Request
0 29
new file mode 100644
... ...
@@ -0,0 +1,9 @@
0
+#!/usr/bin/env rake
1
+require 'bundler/gem_tasks'
2
+require 'rake/testtask'
3
+Rake::TestTask.new do |t|
4
+  t.libs << 'lib/rubysermon'
5
+  t.test_files = FileList['test/lib/rubysermon/*_test.rb']
6
+  t.verbose = true
7
+end
8
+task :default => :test
0 9
\ No newline at end of file
1 10
new file mode 100644
... ...
@@ -0,0 +1,5 @@
0
+require_relative "rubysermon/version"
1
+
2
+module Rubysermon
3
+  # Your code goes here...
4
+end
0 5
new file mode 100644
... ...
@@ -0,0 +1,3 @@
0
+module Rubysermon
1
+  VERSION = "0.0.1"
2
+end
0 3
new file mode 100644
... ...
@@ -0,0 +1,17 @@
0
+# -*- encoding: utf-8 -*-
1
+require File.expand_path('../lib/rubysermon/version', __FILE__)
2
+
3
+Gem::Specification.new do |gem|
4
+  gem.authors       = ["Cinan Rakosnik"]
5
+  gem.email         = ["cinan6@gmail.com"]
6
+  gem.description   = %q{TODO: Write a gem description}
7
+  gem.summary       = %q{TODO: Write a gem summary}
8
+  gem.homepage      = ""
9
+
10
+  gem.files         = `git ls-files`.split($\)
11
+  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
12
+  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
13
+  gem.name          = "rubysermon"
14
+  gem.require_paths = ["lib"]
15
+  gem.version       = Rubysermon::VERSION
16
+end
0 17
new file mode 100644
... ...
@@ -0,0 +1,7 @@
0
+require_relative '../../test_helper.rb'
1
+
2
+describe Rubysermon do
3
+  it "must be defined" do
4
+    Rubysermon::VERSION.wont_be_nil
5
+  end
6
+end
0 7
\ No newline at end of file
1 8
new file mode 100644
... ...
@@ -0,0 +1,3 @@
0
+require 'minitest/autorun'
1
+require 'minitest/pride'
2
+require File.expand_path('../../lib/rubysermon.rb', __FILE__)
0 3
\ No newline at end of file