surbase 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +70 -0
  6. data/Rakefile +1 -0
  7. data/lib/generators/surbase/install/install_generator.rb +70 -0
  8. data/lib/surbase.rb +137 -0
  9. data/lib/surbase/controller.rb +128 -0
  10. data/lib/surbase/model.rb +11 -0
  11. data/lib/surbase/version.rb +3 -0
  12. data/sample/surbase/.gitignore +19 -0
  13. data/sample/surbase/Gemfile +53 -0
  14. data/sample/surbase/README.rdoc +28 -0
  15. data/sample/surbase/Rakefile +6 -0
  16. data/sample/surbase/app/assets/images/.keep +0 -0
  17. data/sample/surbase/app/assets/javascripts/accounts.js.coffee +3 -0
  18. data/sample/surbase/app/assets/javascripts/application.js +16 -0
  19. data/sample/surbase/app/assets/stylesheets/accounts.css.scss +3 -0
  20. data/sample/surbase/app/assets/stylesheets/application.css +13 -0
  21. data/sample/surbase/app/controllers/accounts_controller.rb +3 -0
  22. data/sample/surbase/app/controllers/application_controller.rb +5 -0
  23. data/sample/surbase/app/controllers/concerns/.keep +0 -0
  24. data/sample/surbase/app/helpers/accounts_helper.rb +2 -0
  25. data/sample/surbase/app/helpers/application_helper.rb +2 -0
  26. data/sample/surbase/app/mailers/.keep +0 -0
  27. data/sample/surbase/app/models/.keep +0 -0
  28. data/sample/surbase/app/models/account.rb +2 -0
  29. data/sample/surbase/app/models/concerns/.keep +0 -0
  30. data/sample/surbase/app/models/provider_account.rb +2 -0
  31. data/sample/surbase/app/views/layouts/application.html.erb +14 -0
  32. data/sample/surbase/bin/bundle +3 -0
  33. data/sample/surbase/bin/rails +4 -0
  34. data/sample/surbase/bin/rake +4 -0
  35. data/sample/surbase/config.ru +4 -0
  36. data/sample/surbase/config/application.rb +23 -0
  37. data/sample/surbase/config/boot.rb +4 -0
  38. data/sample/surbase/config/environment.rb +5 -0
  39. data/sample/surbase/config/environments/development.rb +29 -0
  40. data/sample/surbase/config/environments/production.rb +80 -0
  41. data/sample/surbase/config/environments/test.rb +36 -0
  42. data/sample/surbase/config/initializers/backtrace_silencers.rb +7 -0
  43. data/sample/surbase/config/initializers/filter_parameter_logging.rb +4 -0
  44. data/sample/surbase/config/initializers/inflections.rb +16 -0
  45. data/sample/surbase/config/initializers/mime_types.rb +5 -0
  46. data/sample/surbase/config/initializers/secret_token.rb +12 -0
  47. data/sample/surbase/config/initializers/session_store.rb +3 -0
  48. data/sample/surbase/config/initializers/surbase.rb +7 -0
  49. data/sample/surbase/config/initializers/wrap_parameters.rb +14 -0
  50. data/sample/surbase/config/routes.rb +59 -0
  51. data/sample/surbase/db/migrate/20150312144839_create_accounts.rb +10 -0
  52. data/sample/surbase/db/migrate/20150313172400_create_provider_accounts.rb +12 -0
  53. data/sample/surbase/db/schema.rb +35 -0
  54. data/sample/surbase/db/seeds.rb +7 -0
  55. data/sample/surbase/lib/assets/.keep +0 -0
  56. data/sample/surbase/lib/tasks/.keep +0 -0
  57. data/sample/surbase/log/.keep +0 -0
  58. data/sample/surbase/public/404.html +58 -0
  59. data/sample/surbase/public/422.html +58 -0
  60. data/sample/surbase/public/500.html +57 -0
  61. data/sample/surbase/public/favicon.ico +0 -0
  62. data/sample/surbase/public/robots.txt +5 -0
  63. data/sample/surbase/test/controllers/.keep +0 -0
  64. data/sample/surbase/test/controllers/accounts_controller_test.rb +7 -0
  65. data/sample/surbase/test/fixtures/.keep +0 -0
  66. data/sample/surbase/test/helpers/.keep +0 -0
  67. data/sample/surbase/test/helpers/accounts_helper_test.rb +4 -0
  68. data/sample/surbase/test/integration/.keep +0 -0
  69. data/sample/surbase/test/mailers/.keep +0 -0
  70. data/sample/surbase/test/models/.keep +0 -0
  71. data/sample/surbase/test/models/account_test.rb +7 -0
  72. data/sample/surbase/test/models/provider_account_test.rb +7 -0
  73. data/sample/surbase/test/test_helper.rb +15 -0
  74. data/sample/surbase/vendor/assets/javascripts/.keep +0 -0
  75. data/sample/surbase/vendor/assets/stylesheets/.keep +0 -0
  76. data/surbase.gemspec +23 -0
  77. metadata +147 -0
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'surbase/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "surbase"
8
+ spec.version = Surbase::VERSION
9
+ spec.authors = ["liveralmask"]
10
+ spec.email = ["liveralmask.lisk@gmail.com"]
11
+ spec.summary = %q{Base system for web services.}
12
+ spec.description = %q{Base system for web services.}
13
+ spec.homepage = "https://github.com/liveralmask/surbase"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.5"
22
+ spec.add_development_dependency "rake", "~> 0"
23
+ end
metadata ADDED
@@ -0,0 +1,147 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: surbase
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.5
5
+ platform: ruby
6
+ authors:
7
+ - liveralmask
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-24 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.5'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Base system for web services.
42
+ email:
43
+ - liveralmask.lisk@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - Gemfile
50
+ - LICENSE.txt
51
+ - README.md
52
+ - Rakefile
53
+ - lib/generators/surbase/install/install_generator.rb
54
+ - lib/surbase.rb
55
+ - lib/surbase/controller.rb
56
+ - lib/surbase/model.rb
57
+ - lib/surbase/version.rb
58
+ - sample/surbase/.gitignore
59
+ - sample/surbase/Gemfile
60
+ - sample/surbase/README.rdoc
61
+ - sample/surbase/Rakefile
62
+ - sample/surbase/app/assets/images/.keep
63
+ - sample/surbase/app/assets/javascripts/accounts.js.coffee
64
+ - sample/surbase/app/assets/javascripts/application.js
65
+ - sample/surbase/app/assets/stylesheets/accounts.css.scss
66
+ - sample/surbase/app/assets/stylesheets/application.css
67
+ - sample/surbase/app/controllers/accounts_controller.rb
68
+ - sample/surbase/app/controllers/application_controller.rb
69
+ - sample/surbase/app/controllers/concerns/.keep
70
+ - sample/surbase/app/helpers/accounts_helper.rb
71
+ - sample/surbase/app/helpers/application_helper.rb
72
+ - sample/surbase/app/mailers/.keep
73
+ - sample/surbase/app/models/.keep
74
+ - sample/surbase/app/models/account.rb
75
+ - sample/surbase/app/models/concerns/.keep
76
+ - sample/surbase/app/models/provider_account.rb
77
+ - sample/surbase/app/views/layouts/application.html.erb
78
+ - sample/surbase/bin/bundle
79
+ - sample/surbase/bin/rails
80
+ - sample/surbase/bin/rake
81
+ - sample/surbase/config.ru
82
+ - sample/surbase/config/application.rb
83
+ - sample/surbase/config/boot.rb
84
+ - sample/surbase/config/environment.rb
85
+ - sample/surbase/config/environments/development.rb
86
+ - sample/surbase/config/environments/production.rb
87
+ - sample/surbase/config/environments/test.rb
88
+ - sample/surbase/config/initializers/backtrace_silencers.rb
89
+ - sample/surbase/config/initializers/filter_parameter_logging.rb
90
+ - sample/surbase/config/initializers/inflections.rb
91
+ - sample/surbase/config/initializers/mime_types.rb
92
+ - sample/surbase/config/initializers/secret_token.rb
93
+ - sample/surbase/config/initializers/session_store.rb
94
+ - sample/surbase/config/initializers/surbase.rb
95
+ - sample/surbase/config/initializers/wrap_parameters.rb
96
+ - sample/surbase/config/routes.rb
97
+ - sample/surbase/db/migrate/20150312144839_create_accounts.rb
98
+ - sample/surbase/db/migrate/20150313172400_create_provider_accounts.rb
99
+ - sample/surbase/db/schema.rb
100
+ - sample/surbase/db/seeds.rb
101
+ - sample/surbase/lib/assets/.keep
102
+ - sample/surbase/lib/tasks/.keep
103
+ - sample/surbase/log/.keep
104
+ - sample/surbase/public/404.html
105
+ - sample/surbase/public/422.html
106
+ - sample/surbase/public/500.html
107
+ - sample/surbase/public/favicon.ico
108
+ - sample/surbase/public/robots.txt
109
+ - sample/surbase/test/controllers/.keep
110
+ - sample/surbase/test/controllers/accounts_controller_test.rb
111
+ - sample/surbase/test/fixtures/.keep
112
+ - sample/surbase/test/helpers/.keep
113
+ - sample/surbase/test/helpers/accounts_helper_test.rb
114
+ - sample/surbase/test/integration/.keep
115
+ - sample/surbase/test/mailers/.keep
116
+ - sample/surbase/test/models/.keep
117
+ - sample/surbase/test/models/account_test.rb
118
+ - sample/surbase/test/models/provider_account_test.rb
119
+ - sample/surbase/test/test_helper.rb
120
+ - sample/surbase/vendor/assets/javascripts/.keep
121
+ - sample/surbase/vendor/assets/stylesheets/.keep
122
+ - surbase.gemspec
123
+ homepage: https://github.com/liveralmask/surbase
124
+ licenses:
125
+ - MIT
126
+ metadata: {}
127
+ post_install_message:
128
+ rdoc_options: []
129
+ require_paths:
130
+ - lib
131
+ required_ruby_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ required_rubygems_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ requirements: []
142
+ rubyforge_project:
143
+ rubygems_version: 2.2.0
144
+ signing_key:
145
+ specification_version: 4
146
+ summary: Base system for web services.
147
+ test_files: []