fullstack 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
data/fullstack.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "fullstack"
8
- s.version = "0.1.7"
8
+ s.version = "0.1.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["mcasimir"]
@@ -13,7 +13,7 @@ module Fullstack
13
13
 
14
14
  def devise
15
15
  generate "devise:install"
16
- generate "remoting:install"
16
+ generate "remoting:install --host='#{host}' --user='#{user}'"
17
17
  end
18
18
 
19
19
  def gitignore
@@ -47,6 +47,10 @@ eos
47
47
  directory "lib", Rails.root.join("lib")
48
48
  end
49
49
 
50
+ def english_localizations
51
+ generate "fullstack:locale en"
52
+ end
53
+
50
54
  protected
51
55
 
52
56
  def host
@@ -4,21 +4,6 @@ module Fullstack
4
4
  def install
5
5
  generate "kaminari:locale #{name}"
6
6
  generate "devise:views:locale #{name}"
7
-
8
- create_file "config/locales/kaminari.#{name}.yml" do
9
- <<-eos
10
- #{name}:
11
- views:
12
- pagination:
13
- first: "&laquo;"
14
- last: "&raquo;"
15
- previous: "&lsaquo;"
16
- next: "&rsaquo;"
17
- truncate: "..."
18
-
19
- eos
20
-
21
- end
22
7
  end
23
8
 
24
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fullstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -416,7 +416,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
416
416
  version: '0'
417
417
  segments:
418
418
  - 0
419
- hash: -3253060240703146381
419
+ hash: 792729600109378281
420
420
  required_rubygems_version: !ruby/object:Gem::Requirement
421
421
  none: false
422
422
  requirements: