active_admin_usertasks 0.1.1 → 1.0.0

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.1
1
+ 1.0.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "active_admin_usertasks"
8
- s.version = "0.1.1"
8
+ s.version = "1.0.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Corprew Reed"]
@@ -26,8 +26,8 @@ Gem::Specification.new do |s|
26
26
  "VERSION",
27
27
  "active_admin_usertasks.gemspec",
28
28
  "lib/active_admin_usertasks.rb",
29
- "lib/railtie.rb",
30
- "lib/tasks/activeadmin_usertasks.rake",
29
+ "lib/active_admin_usertasks/railtie.rb",
30
+ "lib/tasks/active_admin_usertasks.rake",
31
31
  "test/helper.rb",
32
32
  "test/test_activeadmin_usertasks.rb"
33
33
  ]
@@ -1,4 +1,4 @@
1
1
  module ActiveAdminUsertasks
2
- require 'activeadmin_usertasks/railtie' if defined?(Rails)
2
+ require 'active_admin_usertasks/railtie' if defined?(Rails)
3
3
 
4
4
  end
@@ -4,7 +4,7 @@ namespace :activeadmin do
4
4
  task :remove_default_user => [:environment] do
5
5
  admin_users = AdminUser.where(:email => "admin@example.com")
6
6
  admin_users.each do | au |
7
- au.delete!
7
+ au.delete
8
8
  end
9
9
  end
10
10
 
@@ -26,7 +26,7 @@ namespace :activeadmin do
26
26
  task :scramble_passwords => [:environment] do
27
27
  AdminUser.all.each do |au|
28
28
  scramble_chars = ['a'..'z','A'..'Z','0'..'9'].collect{|x| x.to_a}.flatten
29
- password = (0..50).collect{ o[rand(o.length)]}.join
29
+ password = (0..50).collect{ scramble_chars[rand(scramble_chars.length)]}.join
30
30
 
31
31
  au.password = password
32
32
  au.password_confirmation = password
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_admin_usertasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 1.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-06-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: shoulda
16
- requirement: &70237358590800 !ruby/object:Gem::Requirement
16
+ requirement: &70255632668220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70237358590800
24
+ version_requirements: *70255632668220
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rdoc
27
- requirement: &70237358589660 !ruby/object:Gem::Requirement
27
+ requirement: &70255632666320 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '3.12'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70237358589660
35
+ version_requirements: *70255632666320
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bundler
38
- requirement: &70237358604240 !ruby/object:Gem::Requirement
38
+ requirement: &70255632664300 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.0.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70237358604240
46
+ version_requirements: *70255632664300
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: jeweler
49
- requirement: &70237358600860 !ruby/object:Gem::Requirement
49
+ requirement: &70255632662800 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 1.8.3
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70237358600860
57
+ version_requirements: *70255632662800
58
58
  description: This provides some rake tasks to solve issues with activeadmin as used
59
59
  in production. Namely, that apps seem to go into production with its default username
60
60
  and password in it that they gain from the initial migrations.
@@ -74,8 +74,8 @@ files:
74
74
  - VERSION
75
75
  - active_admin_usertasks.gemspec
76
76
  - lib/active_admin_usertasks.rb
77
- - lib/railtie.rb
78
- - lib/tasks/activeadmin_usertasks.rake
77
+ - lib/active_admin_usertasks/railtie.rb
78
+ - lib/tasks/active_admin_usertasks.rake
79
79
  - test/helper.rb
80
80
  - test/test_activeadmin_usertasks.rb
81
81
  homepage: http://github.com/corprew/active_admin_usertasks
@@ -93,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  segments:
95
95
  - 0
96
- hash: 4050203277473665908
96
+ hash: 1148207525944170439
97
97
  required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  none: false
99
99
  requirements: