pshq_engine 0.0.1 → 0.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec27e1c0c1a5f0b2625dc69a028d79532e3a0ba8
4
- data.tar.gz: c9ff0ca785cccae7028461142e935053f1c4440f
3
+ metadata.gz: 9c9a58f08dc03594b4e3cd751f7e0e0522180445
4
+ data.tar.gz: 3ac3e179347595022e32095f4b53e62c34cb9544
5
5
  SHA512:
6
- metadata.gz: cb61a3bb0ce662e8174b3a37e42307798b9ff4d788a45d60b34af49fe5d0ebfbd069b2b0a33d547685b7d58d9bbac354b05b310fcfe8b2c3531f312b5a6e68ca
7
- data.tar.gz: 52318eac713c24208599f78d5d9fe0144c14318266c0e886b852cac5ec2bacc1125745a5268b9e5770098bfac2e6638d47372127a23a9c0bc1d05c703769718d
6
+ metadata.gz: c3e51bde0d5b80392e7d05b70561c84ca646a170a88ca32eb0234fe2ceda162efad334700adc92b4fcfa26ac7d53563bd95e4c671230b5585d3c8f63956ad48e
7
+ data.tar.gz: 762211543e4310808a1de84274ba617cbd13d594821e3e8b8e5ef39000d5b8b02756ea0bd61664169a04a79dd6370571643a0ecf547fd48ba52c71fc28738ce3
data/.gitignore CHANGED
@@ -1,7 +1,16 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /spec/reports/
7
- /tmp/
1
+ # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile '~/.gitignore_global'
6
+
7
+ # Ignore bundler config.
8
+ /.bundle
9
+
10
+ # Ignore the default SQLite database.
11
+ /db/*.sqlite3
12
+ /db/*.sqlite3-journal
13
+
14
+ # Ignore all logfiles and tempfiles.
15
+ /log/*.log
16
+ /tmp
data/Gemfile CHANGED
@@ -2,3 +2,65 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in pshq_engine.gemspec
4
4
  gemspec
5
+
6
+
7
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
8
+ gem 'rails', '4.1.2'
9
+ # Use sqlite3 as the database for Active Record
10
+ gem 'pg'
11
+ # Use SCSS for stylesheets
12
+ gem 'sass-rails', '~> 4.0.3'
13
+ # Use Uglifier as compressor for JavaScript assets
14
+ gem 'uglifier', '>= 1.3.0'
15
+ # Use CoffeeScript for .js.coffee assets and views
16
+ gem 'coffee-rails', '~> 4.0.0'
17
+ # See https://github.com/sstephenson/execjs#readme for more supported runtimes
18
+ # gem 'therubyracer', platforms: :ruby
19
+ gem 'pg_search'
20
+
21
+ gem 'devise', '~> 3.2'
22
+
23
+ gem 'devise_invitable', '~> 1.3.4'
24
+ # Use jquery as the JavaScript library
25
+ gem 'jquery-rails'
26
+ # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
27
+ gem 'turbolinks'
28
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
29
+ gem 'jbuilder', '~> 2.0'
30
+ # bundle exec rake doc:rails generates the API under doc/api.
31
+ gem 'sdoc', '~> 0.4.0', group: :doc
32
+
33
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
34
+ gem 'spring', group: :development
35
+
36
+ # Use ActiveModel has_secure_password
37
+ # gem 'bcrypt', '~> 3.1.7'
38
+
39
+ # Use unicorn as the app server
40
+ # gem 'unicorn'
41
+
42
+ # Use Capistrano for deployment
43
+ # gem 'capistrano-rails', group: :development
44
+
45
+ # Use debugger
46
+ # gem 'debugger', group: [:development, :test]
47
+
48
+ gem 'omniauth-google-oauth2'
49
+
50
+ gem 'omniauth-facebook'
51
+
52
+ gem 'omniauth-twitter'
53
+
54
+ gem 'twitter'
55
+
56
+ gem "paperclip", "~> 4.2"
57
+
58
+ #to assign roles
59
+ gem 'rolify', '~> 4.0.0'
60
+
61
+ # Assign ability to user
62
+ gem 'cancancan'
63
+ #For soft deletion
64
+ gem "paranoia", "~> 2.0"
65
+
66
+ gem 'mailboxer', :git => 'git://github.com/mailboxer/mailboxer.git'
data/Gemfile.lock ADDED
@@ -0,0 +1,260 @@
1
+ GIT
2
+ remote: git://github.com/mailboxer/mailboxer.git
3
+ revision: b53bab9e93dafcfa499205f2e3170c2b8acb0064
4
+ specs:
5
+ mailboxer (0.13.0)
6
+ carrierwave (>= 0.5.8)
7
+ foreigner (>= 0.9.1)
8
+ rails (>= 3.2.0)
9
+
10
+ PATH
11
+ remote: .
12
+ specs:
13
+ pshq_engine (0.1.5)
14
+
15
+ GEM
16
+ remote: https://rubygems.org/
17
+ specs:
18
+ actionmailer (4.1.2)
19
+ actionpack (= 4.1.2)
20
+ actionview (= 4.1.2)
21
+ mail (~> 2.5.4)
22
+ actionpack (4.1.2)
23
+ actionview (= 4.1.2)
24
+ activesupport (= 4.1.2)
25
+ rack (~> 1.5.2)
26
+ rack-test (~> 0.6.2)
27
+ actionview (4.1.2)
28
+ activesupport (= 4.1.2)
29
+ builder (~> 3.1)
30
+ erubis (~> 2.7.0)
31
+ activemodel (4.1.2)
32
+ activesupport (= 4.1.2)
33
+ builder (~> 3.1)
34
+ activerecord (4.1.2)
35
+ activemodel (= 4.1.2)
36
+ activesupport (= 4.1.2)
37
+ arel (~> 5.0.0)
38
+ activesupport (4.1.2)
39
+ i18n (~> 0.6, >= 0.6.9)
40
+ json (~> 1.7, >= 1.7.7)
41
+ minitest (~> 5.1)
42
+ thread_safe (~> 0.1)
43
+ tzinfo (~> 1.1)
44
+ addressable (2.3.8)
45
+ arel (5.0.1.20140414130214)
46
+ bcrypt (3.1.10)
47
+ buftok (0.2.0)
48
+ builder (3.2.2)
49
+ cancancan (1.12.0)
50
+ carrierwave (0.10.0)
51
+ activemodel (>= 3.2.0)
52
+ activesupport (>= 3.2.0)
53
+ json (>= 1.7)
54
+ mime-types (>= 1.16)
55
+ climate_control (0.0.3)
56
+ activesupport (>= 3.0)
57
+ cocaine (0.5.7)
58
+ climate_control (>= 0.0.3, < 1.0)
59
+ coffee-rails (4.0.1)
60
+ coffee-script (>= 2.2.0)
61
+ railties (>= 4.0.0, < 5.0)
62
+ coffee-script (2.4.1)
63
+ coffee-script-source
64
+ execjs
65
+ coffee-script-source (1.9.1.1)
66
+ devise (3.5.2)
67
+ bcrypt (~> 3.0)
68
+ orm_adapter (~> 0.1)
69
+ railties (>= 3.2.6, < 5)
70
+ responders
71
+ thread_safe (~> 0.1)
72
+ warden (~> 1.2.3)
73
+ devise_invitable (1.3.6)
74
+ actionmailer (>= 3.2.6, < 5)
75
+ devise (>= 3.2.0)
76
+ domain_name (0.5.25)
77
+ unf (>= 0.0.5, < 1.0.0)
78
+ equalizer (0.0.10)
79
+ erubis (2.7.0)
80
+ execjs (2.6.0)
81
+ faraday (0.9.2)
82
+ multipart-post (>= 1.2, < 3)
83
+ foreigner (1.7.4)
84
+ activerecord (>= 3.0.0)
85
+ hashie (3.4.2)
86
+ hike (1.2.3)
87
+ http (0.9.8)
88
+ addressable (~> 2.3)
89
+ http-cookie (~> 1.0)
90
+ http-form_data (~> 1.0.1)
91
+ http_parser.rb (~> 0.6.0)
92
+ http-cookie (1.0.2)
93
+ domain_name (~> 0.5)
94
+ http-form_data (1.0.1)
95
+ http_parser.rb (0.6.0)
96
+ i18n (0.7.0)
97
+ jbuilder (2.3.2)
98
+ activesupport (>= 3.0.0, < 5)
99
+ multi_json (~> 1.2)
100
+ jquery-rails (3.1.4)
101
+ railties (>= 3.0, < 5.0)
102
+ thor (>= 0.14, < 2.0)
103
+ json (1.8.3)
104
+ jwt (1.5.1)
105
+ mail (2.5.4)
106
+ mime-types (~> 1.16)
107
+ treetop (~> 1.4.8)
108
+ memoizable (0.4.2)
109
+ thread_safe (~> 0.3, >= 0.3.1)
110
+ mime-types (1.25.1)
111
+ mimemagic (0.3.0)
112
+ minitest (5.8.1)
113
+ multi_json (1.11.2)
114
+ multi_xml (0.5.5)
115
+ multipart-post (2.0.0)
116
+ naught (1.1.0)
117
+ oauth (0.4.7)
118
+ oauth2 (1.0.0)
119
+ faraday (>= 0.8, < 0.10)
120
+ jwt (~> 1.0)
121
+ multi_json (~> 1.3)
122
+ multi_xml (~> 0.5)
123
+ rack (~> 1.2)
124
+ omniauth (1.2.2)
125
+ hashie (>= 1.2, < 4)
126
+ rack (~> 1.0)
127
+ omniauth-facebook (2.0.1)
128
+ omniauth-oauth2 (~> 1.2)
129
+ omniauth-google-oauth2 (0.2.8)
130
+ addressable (~> 2.3)
131
+ jwt (~> 1.0)
132
+ multi_json (~> 1.3)
133
+ omniauth (>= 1.1.1)
134
+ omniauth-oauth2 (>= 1.1.1)
135
+ omniauth-oauth (1.1.0)
136
+ oauth
137
+ omniauth (~> 1.0)
138
+ omniauth-oauth2 (1.3.1)
139
+ oauth2 (~> 1.0)
140
+ omniauth (~> 1.2)
141
+ omniauth-twitter (1.2.1)
142
+ json (~> 1.3)
143
+ omniauth-oauth (~> 1.1)
144
+ orm_adapter (0.5.0)
145
+ paperclip (4.3.1)
146
+ activemodel (>= 3.2.0)
147
+ activesupport (>= 3.2.0)
148
+ cocaine (~> 0.5.5)
149
+ mime-types
150
+ mimemagic (= 0.3.0)
151
+ paranoia (2.1.3)
152
+ activerecord (~> 4.0)
153
+ pg (0.18.3)
154
+ pg_search (1.0.5)
155
+ activerecord (>= 3.1)
156
+ activesupport (>= 3.1)
157
+ arel
158
+ polyglot (0.3.5)
159
+ rack (1.5.5)
160
+ rack-test (0.6.3)
161
+ rack (>= 1.0)
162
+ rails (4.1.2)
163
+ actionmailer (= 4.1.2)
164
+ actionpack (= 4.1.2)
165
+ actionview (= 4.1.2)
166
+ activemodel (= 4.1.2)
167
+ activerecord (= 4.1.2)
168
+ activesupport (= 4.1.2)
169
+ bundler (>= 1.3.0, < 2.0)
170
+ railties (= 4.1.2)
171
+ sprockets-rails (~> 2.0)
172
+ railties (4.1.2)
173
+ actionpack (= 4.1.2)
174
+ activesupport (= 4.1.2)
175
+ rake (>= 0.8.7)
176
+ thor (>= 0.18.1, < 2.0)
177
+ rake (10.4.2)
178
+ rdoc (4.2.0)
179
+ responders (1.1.2)
180
+ railties (>= 3.2, < 4.2)
181
+ rolify (4.0.0)
182
+ sass (3.2.19)
183
+ sass-rails (4.0.5)
184
+ railties (>= 4.0.0, < 5.0)
185
+ sass (~> 3.2.2)
186
+ sprockets (~> 2.8, < 3.0)
187
+ sprockets-rails (~> 2.0)
188
+ sdoc (0.4.1)
189
+ json (~> 1.7, >= 1.7.7)
190
+ rdoc (~> 4.0)
191
+ simple_oauth (0.3.1)
192
+ spring (1.4.0)
193
+ sprockets (2.12.4)
194
+ hike (~> 1.2)
195
+ multi_json (~> 1.0)
196
+ rack (~> 1.0)
197
+ tilt (~> 1.1, != 1.3.0)
198
+ sprockets-rails (2.3.3)
199
+ actionpack (>= 3.0)
200
+ activesupport (>= 3.0)
201
+ sprockets (>= 2.8, < 4.0)
202
+ thor (0.19.1)
203
+ thread_safe (0.3.5)
204
+ tilt (1.4.1)
205
+ treetop (1.4.15)
206
+ polyglot
207
+ polyglot (>= 0.3.1)
208
+ turbolinks (2.5.3)
209
+ coffee-rails
210
+ twitter (5.15.0)
211
+ addressable (~> 2.3)
212
+ buftok (~> 0.2.0)
213
+ equalizer (= 0.0.10)
214
+ faraday (~> 0.9.0)
215
+ http (>= 0.4, < 0.10)
216
+ http_parser.rb (~> 0.6.0)
217
+ json (~> 1.8)
218
+ memoizable (~> 0.4.0)
219
+ naught (~> 1.0)
220
+ simple_oauth (~> 0.3.0)
221
+ tzinfo (1.2.2)
222
+ thread_safe (~> 0.1)
223
+ uglifier (2.7.2)
224
+ execjs (>= 0.3.0)
225
+ json (>= 1.8.0)
226
+ unf (0.1.4)
227
+ unf_ext
228
+ unf_ext (0.0.7.1)
229
+ warden (1.2.3)
230
+ rack (>= 1.0)
231
+
232
+ PLATFORMS
233
+ ruby
234
+
235
+ DEPENDENCIES
236
+ bundler (~> 1.9)
237
+ cancancan
238
+ coffee-rails (~> 4.0.0)
239
+ devise (~> 3.2)
240
+ devise_invitable (~> 1.3.4)
241
+ jbuilder (~> 2.0)
242
+ jquery-rails
243
+ mailboxer!
244
+ omniauth-facebook
245
+ omniauth-google-oauth2
246
+ omniauth-twitter
247
+ paperclip (~> 4.2)
248
+ paranoia (~> 2.0)
249
+ pg
250
+ pg_search
251
+ pshq_engine!
252
+ rails (= 4.1.2)
253
+ rake (~> 10.0)
254
+ rolify (~> 4.0.0)
255
+ sass-rails (~> 4.0.3)
256
+ sdoc (~> 0.4.0)
257
+ spring
258
+ turbolinks
259
+ twitter
260
+ uglifier (>= 1.3.0)
data/Rakefile~ ADDED
@@ -0,0 +1,6 @@
1
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
2
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
+ require "bundler/gem_tasks"
4
+ require File.expand_path('../config/application', __FILE__)
5
+
6
+ Rails.application.load_tasks
@@ -0,0 +1,7 @@
1
+ Rails.application.configure do
2
+ config.paths['db/migrate'] = %W(#{config.root}/vendor/pshq_engine/db/migrate)
3
+ config.paths['db'] = %W(#{config.root}/vendor/pshq_engine/db)
4
+ config.paths['db/seeds.rb'] = %W(#{config.root}/vendor/pshq_engine/db/seeds.rb)
5
+ end
6
+
7
+
@@ -0,0 +1,28 @@
1
+ require 'pshq_engine/version'
2
+ module PshqEngine
3
+ module Generators
4
+ class InstallGenerator < Rails::Generators::Base
5
+ source_root File.expand_path("../locales", __FILE__)
6
+
7
+ desc "Creates active_admin initializer, routes and copy locale files to your application."
8
+ class_option :orm
9
+
10
+ def modify_application_rb
11
+ line = "class Application < Rails::Application"
12
+ gsub_file 'config/application.rb', /(#{Regexp.escape(line)})/mi do |match|
13
+ "class Application < Rails::Application "+ "\n" +
14
+ "config.autoload_paths += %W(\#"+"{config.root}"+"/vendor/submodule/pshq_engine-"+VERSION+"/app/models)"
15
+ end
16
+ line = "Rails.application.initialize!"
17
+ gsub_file 'config/environment.rb', /(#{Regexp.escape(line)})/mi do |match|
18
+ "Rails.application.configure do "+ "\n" +
19
+ " config.paths['db/migrate'] = %W(\#"+"{config.root}"+"/vendor/submodule/pshq_engine-"+VERSION+"/db/migrate) "+ "\n" +
20
+ " config.paths['db'] = %W(\#"+"{config.root}"+"/vendor/submodule/pshq_engine-"+VERSION+"/db) "+ "\n" +
21
+ " config.paths['db/seeds.rb'] = %W(\#"+"{config.root}"+"/vendor/submodule/pshq_engine-"+VERSION+"/db/seeds.rb) "+ "\n" +
22
+ "end "+ "\n" +
23
+ "Rails.application.initialize!"
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -1,3 +1,3 @@
1
1
  module PshqEngine
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -0,0 +1,3 @@
1
+ module PshqEngine
2
+ VERSION = "0.1.5"
3
+ end
Binary file
Binary file
Binary file
Binary file
Binary file
data/pshq_engine.gemspec CHANGED
@@ -11,11 +11,14 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{No Description yet}
13
13
  spec.description = %q{Write a longer description or delete this line.}
14
- spec.homepage = "https://trackmyassets.biz"
15
14
 
16
15
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
17
16
  # delete this section to allow pushing this gem to any host.
18
-
17
+ if spec.respond_to?(:metadata)
18
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
19
+ else
20
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
21
+ end
19
22
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
23
  spec.bindir = "exe"
21
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pshq_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zeeshan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-06 00:00:00.000000000 Z
11
+ date: 2015-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -46,10 +46,11 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - ".gitignore"
49
- - ".travis.yml"
50
49
  - Gemfile
50
+ - Gemfile.lock
51
51
  - README.md
52
52
  - Rakefile
53
+ - Rakefile~
53
54
  - app/models/.keep
54
55
  - app/models/ability.rb
55
56
  - app/models/alert.rb
@@ -300,13 +301,22 @@ files:
300
301
  - db/schema.rb
301
302
  - db/seeds.rb
302
303
  - lib/assets/.keep
304
+ - lib/generators/locales/submodule.rb
305
+ - lib/generators/pshq_engine/install_generator.rb
303
306
  - lib/pshq_engine.rb
304
307
  - lib/pshq_engine/version.rb
308
+ - lib/pshq_engine/version.rb~
305
309
  - lib/tasks/.keep
310
+ - pkg/pshq_engine-0.0.1.gem
311
+ - pkg/pshq_engine-0.0.2.gem
312
+ - pkg/pshq_engine-0.0.3.gem
313
+ - pkg/pshq_engine-0.0.4.gem
314
+ - pkg/pshq_engine-0.0.5.gem
306
315
  - pshq_engine.gemspec
307
- homepage: https://trackmyassets.biz
316
+ homepage:
308
317
  licenses: []
309
- metadata: {}
318
+ metadata:
319
+ allowed_push_host: https://rubygems.org
310
320
  post_install_message:
311
321
  rdoc_options: []
312
322
  require_paths:
data/.travis.yml DELETED
@@ -1,3 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.1