easy_aspects 0.0.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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 59e930fd328907541178ea260cbb090a3f31e49b
4
+ data.tar.gz: 4f8b5fa64e9e0848b21bdb687432741706415d02
5
+ SHA512:
6
+ metadata.gz: b57bf95069709d3e775cc124e1e6a6e197387878f44fea8001f9043fac2569e3e71ad1311060872b6c67072e544e047825269423c1ca80933598c80d2f41e9f3
7
+ data.tar.gz: 2b24e0b6667819cf87e85ccb2603084254f6ed314ed3685edbd5b49c728d3ee75ce530e01864ab737e63a450062f400cb6ce3c826bd9c5449d88cbf4129fcdec
data/.gitignore ADDED
@@ -0,0 +1,16 @@
1
+ /.project
2
+ /.bundle
3
+ *.sqlite3
4
+ log/*
5
+ tmp/*
6
+ rdoc/*
7
+ doc/*
8
+ *~
9
+ *.lock
10
+ *.DS_Store
11
+ *.swp
12
+ *.out
13
+ .idea/*
14
+ coverage/*
15
+ .keep
16
+ .gitkeep
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-2.3.0@easy_aspects
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2015 YOURNAME
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,5 @@
1
+ = Easy Aspects
2
+
3
+ ;P
4
+
5
+ {<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="Donate" />}[https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9P24XE5KZD2B7J]
data/Rakefile ADDED
@@ -0,0 +1,33 @@
1
+ # Rakefile for rake -*- ruby -*-
2
+
3
+ # Copyright 2003, 2004, 2005 by Jim Weirich (jim@weirichhouse.org)
4
+ # All rights reserved.
5
+
6
+ # This file may be distributed under an MIT style license. See
7
+ # MIT-LICENSE for details.
8
+
9
+ require 'bundler/gem_tasks'
10
+ require 'rake/testtask'
11
+ require 'rdoc/task'
12
+
13
+ Rake::TestTask.new(:test) do |t|
14
+ t.libs << "test"
15
+ t.verbose = true
16
+ t.test_files = FileList['test/**/test_*.rb']
17
+ end
18
+
19
+ RDoc::Task.new do |rdoc|
20
+ rdoc.rdoc_dir = 'rdoc'
21
+ rdoc.title = 'EasyAspects'
22
+ rdoc.options << '--line-numbers'
23
+ rdoc.rdoc_files.include('README.rdoc')
24
+ rdoc.rdoc_files.include('lib/**/*.rb')
25
+ end
26
+
27
+ require 'rspec/core/rake_task'
28
+
29
+ RSpec::Core::RakeTask.new(:spec) do |t|
30
+ t.rspec_opts = %w(--color)
31
+ end
32
+
33
+ task :default => :spec
@@ -0,0 +1,28 @@
1
+ $:.push File.expand_path('../lib', __FILE__)
2
+
3
+ require 'easy_aspects/version'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = 'easy_aspects'
7
+ s.version = EasyAspects::VERSION
8
+ s.authors = ['r4z3c']
9
+ s.email = ['r4z3c.43@gmail.com']
10
+ s.homepage = 'https://github.com/r4z3c/easy_aspects.git'
11
+ s.summary = 'Modularize your application aspects'
12
+ s.summary = 'Modularize your application aspects'
13
+ s.description = 'Provides a way to design and implement application aspects, through isolated modules'
14
+ s.licenses = %w(MIT)
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
18
+
19
+ s.require_paths = %w(lib)
20
+
21
+ s.add_dependency 'bundler', '~>1'
22
+ s.add_dependency 'activesupport', '~>4'
23
+ s.add_dependency 'easy_callbacks', '~>0'
24
+
25
+ s.add_development_dependency 'rspec', '~>3'
26
+ s.add_development_dependency 'simplecov', '~>0'
27
+ s.add_development_dependency 'model-builder', '~>2'
28
+ end
@@ -0,0 +1,11 @@
1
+ module EasyAspects
2
+ module Base extend ActiveSupport::Concern
3
+
4
+ included do
5
+
6
+ # trick
7
+
8
+ end
9
+
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ module EasyAspects
2
+ VERSION = '0.0.0'
3
+ end
@@ -0,0 +1,17 @@
1
+ module EasyAspects
2
+
3
+ ROOT = File.expand_path(File.join(File.dirname(__FILE__),'..'))
4
+
5
+ class << self
6
+
7
+ def load_easy_aspects
8
+ Dir[File.expand_path(File.join(ROOT,'lib','easy_aspects','**/*.rb'))].each do |file|
9
+ require file
10
+ end
11
+ end
12
+
13
+ end
14
+
15
+ load_easy_aspects
16
+
17
+ end
@@ -0,0 +1,7 @@
1
+ require 'active_support'
2
+ require 'method_decorator'
3
+ require 'simplecov'
4
+
5
+ SimpleCov.start
6
+
7
+ require 'easy_aspects'
metadata ADDED
@@ -0,0 +1,141 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: easy_aspects
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - r4z3c
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-06-21 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'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '4'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '4'
41
+ - !ruby/object:Gem::Dependency
42
+ name: easy_callbacks
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '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: '3'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
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: model-builder
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2'
97
+ description: Provides a way to design and implement application aspects, through isolated
98
+ modules
99
+ email:
100
+ - r4z3c.43@gmail.com
101
+ executables: []
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".gitignore"
106
+ - ".ruby-version"
107
+ - Gemfile
108
+ - MIT-LICENSE
109
+ - README.rdoc
110
+ - Rakefile
111
+ - easy_aspects.gemspec
112
+ - lib/easy_aspects/base.rb
113
+ - lib/easy_aspects/version.rb
114
+ - lib/easy_callbacks.rb
115
+ - spec/spec_helper.rb
116
+ homepage: https://github.com/r4z3c/easy_aspects.git
117
+ licenses:
118
+ - MIT
119
+ metadata: {}
120
+ post_install_message:
121
+ rdoc_options: []
122
+ require_paths:
123
+ - lib
124
+ required_ruby_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ required_rubygems_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ requirements: []
135
+ rubyforge_project:
136
+ rubygems_version: 2.5.1
137
+ signing_key:
138
+ specification_version: 4
139
+ summary: Modularize your application aspects
140
+ test_files:
141
+ - spec/spec_helper.rb