scopes_rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/scope_generator.rb +1 -1
- data/lib/scopes_rails/version.rb +1 -1
- metadata +29 -30
- data/README.rdoc +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba1df521e1ced6a53886ff1861228b54bb5ce705
|
4
|
+
data.tar.gz: a5b7f915a8c916610955d595fcf87b36a6b746bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 810664b708b5cf81f05bdc7eb65f12a95a6bc233df7d094cf0490e45695d523f35c2adf7a15d3aae7f66093f2bee9de05893ef9abcbc83d6f28698967e9eceb6
|
7
|
+
data.tar.gz: c7e4a2b67da4e541fd0feb68d7225e8b034d00c3f87c904790fec5ccad3fb42cdafa3df9c0caf7f4b09c56d223ec5eb6a849cda7691ea486bc74fb0ff31a8b5c
|
@@ -3,7 +3,7 @@ class ScopeGenerator < Rails::Generators::NamedBase
|
|
3
3
|
|
4
4
|
def create_scope_file
|
5
5
|
empty_directory 'app/scopes/'
|
6
|
-
create_file "app/scopes/#{file_name}_scopes.rb", <<-FILE
|
6
|
+
create_file "app/scopes/#{class_path.join('/')}/#{file_name}_scopes.rb", <<-FILE
|
7
7
|
require 'scopes_rails/state_machine_scopes'
|
8
8
|
|
9
9
|
module #{class_name}Scopes
|
data/lib/scopes_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scopes_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -32,7 +32,6 @@ extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
34
|
- MIT-LICENSE
|
35
|
-
- README.rdoc
|
36
35
|
- Rakefile
|
37
36
|
- lib/generators/scope_generator.rb
|
38
37
|
- lib/scopes_rails.rb
|
@@ -96,44 +95,44 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
95
|
version: '0'
|
97
96
|
requirements: []
|
98
97
|
rubyforge_project:
|
99
|
-
rubygems_version: 2.4.
|
98
|
+
rubygems_version: 2.4.8
|
100
99
|
signing_key:
|
101
100
|
specification_version: 4
|
102
101
|
summary: Summary of ScopesRails.
|
103
102
|
test_files:
|
104
|
-
- test/test_helper.rb
|
105
103
|
- test/scopes_rails_test.rb
|
106
|
-
- test/
|
107
|
-
- test/dummy/
|
108
|
-
- test/dummy/
|
109
|
-
- test/dummy/bin/setup
|
110
|
-
- test/dummy/bin/bundle
|
111
|
-
- test/dummy/config.ru
|
112
|
-
- test/dummy/app/assets/stylesheets/application.css
|
113
|
-
- test/dummy/app/assets/javascripts/application.js
|
114
|
-
- test/dummy/app/controllers/application_controller.rb
|
115
|
-
- test/dummy/app/helpers/application_helper.rb
|
116
|
-
- test/dummy/app/views/layouts/application.html.erb
|
104
|
+
- test/test_helper.rb
|
105
|
+
- test/dummy/public/422.html
|
106
|
+
- test/dummy/public/500.html
|
117
107
|
- test/dummy/public/favicon.ico
|
118
108
|
- test/dummy/public/404.html
|
119
|
-
- test/dummy/public/500.html
|
120
|
-
- test/dummy/public/422.html
|
121
109
|
- test/dummy/README.rdoc
|
110
|
+
- test/dummy/config/boot.rb
|
122
111
|
- test/dummy/config/routes.rb
|
123
|
-
- test/dummy/config/
|
112
|
+
- test/dummy/config/locales/en.yml
|
124
113
|
- test/dummy/config/environments/production.rb
|
125
114
|
- test/dummy/config/environments/test.rb
|
126
|
-
- test/dummy/config/
|
127
|
-
- test/dummy/config/
|
128
|
-
- test/dummy/config/
|
129
|
-
- test/dummy/config/secrets.yml
|
115
|
+
- test/dummy/config/environments/development.rb
|
116
|
+
- test/dummy/config/application.rb
|
117
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
130
118
|
- test/dummy/config/initializers/cookies_serializer.rb
|
119
|
+
- test/dummy/config/initializers/assets.rb
|
120
|
+
- test/dummy/config/initializers/inflections.rb
|
131
121
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
132
|
-
- test/dummy/config/initializers/session_store.rb
|
133
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
134
|
-
- test/dummy/config/initializers/mime_types.rb
|
135
122
|
- test/dummy/config/initializers/wrap_parameters.rb
|
136
|
-
- test/dummy/config/initializers/
|
137
|
-
- test/dummy/config/initializers/
|
138
|
-
- test/dummy/config/
|
139
|
-
- test/dummy/config/
|
123
|
+
- test/dummy/config/initializers/mime_types.rb
|
124
|
+
- test/dummy/config/initializers/session_store.rb
|
125
|
+
- test/dummy/config/database.yml
|
126
|
+
- test/dummy/config/secrets.yml
|
127
|
+
- test/dummy/config/environment.rb
|
128
|
+
- test/dummy/bin/setup
|
129
|
+
- test/dummy/bin/rails
|
130
|
+
- test/dummy/bin/bundle
|
131
|
+
- test/dummy/bin/rake
|
132
|
+
- test/dummy/config.ru
|
133
|
+
- test/dummy/app/views/layouts/application.html.erb
|
134
|
+
- test/dummy/app/controllers/application_controller.rb
|
135
|
+
- test/dummy/app/helpers/application_helper.rb
|
136
|
+
- test/dummy/app/assets/stylesheets/application.css
|
137
|
+
- test/dummy/app/assets/javascripts/application.js
|
138
|
+
- test/dummy/Rakefile
|
data/README.rdoc
DELETED