niceql 0.1.8 → 0.1.9
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 +4 -4
- data/lib/generators/niceql/install_generator.rb +14 -0
- data/lib/niceql/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27f3ce5a573a6fa12858d8ab31254dc1f230a12f
|
|
4
|
+
data.tar.gz: ea0392deadddf634888a663e7770da9ed89e47b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3018c15653659c8a2bebe7c853c671633194e2be0bb24f5fd7e486b784b227998aa5f95d118821183080912197adf9c10bd22d454d8c54b1c5846d099118a026
|
|
7
|
+
data.tar.gz: 931f9a384176b17e941c5f802705adb62a0889c645d30c7e3deb1bde2d583bf1d9faa0fe96e57deb7b41909abb3218b94f2aff0cf6f0ae153c18ecf432013c61
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Niceql
|
|
2
|
+
module Generators
|
|
3
|
+
class InstallGenerator < Rails::Generators::Base
|
|
4
|
+
source_root File.expand_path("../../templates", __FILE__)
|
|
5
|
+
desc "Creates Niceql initializer for your application"
|
|
6
|
+
|
|
7
|
+
def copy_initializer
|
|
8
|
+
template "niceql_initializer.rb", "config/initializers/niceql.rb"
|
|
9
|
+
|
|
10
|
+
puts "Install complete!"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
data/lib/niceql/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: niceql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- alekseyl
|
|
@@ -70,6 +70,7 @@ files:
|
|
|
70
70
|
- bin/setup
|
|
71
71
|
- err_now.png
|
|
72
72
|
- err_was.png
|
|
73
|
+
- lib/generators/niceql/install_generator.rb
|
|
73
74
|
- lib/generators/templates/niceql_initializer.rb
|
|
74
75
|
- lib/niceql.rb
|
|
75
76
|
- lib/niceql/version.rb
|