active_admin_usertasks 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,17 @@
1
1
  = activeadmin_usertasks
2
2
 
3
- Description goes here.
3
+ This gem adds some rake tasks to make working with the activeadmin gem easier.
4
+
5
+ activeadmin:remove_default_user:: removes the default admin user that activeadmin creates
6
+
7
+ activeadmin:new_admin:: adds a new admin user
8
+
9
+ activeadmin:scramble_passwords:: scrambles all the passwords of the admin users
10
+
11
+ The raison d'etre of this gem is that activeadmin generates by default an administrative user with a default password that can be used to get access to the system.
12
+
13
+ too many of the projects using activeadmin that i've inherited have ended up with this password in production, so it turns out to be easier to add this gem to things than worry about it.
14
+
4
15
 
5
16
  == Contributing to activeadmin_usertasks
6
17
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -0,0 +1,61 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "active_admin_usertasks"
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Corprew Reed"]
12
+ s.date = "2012-06-14"
13
+ s.description = "This provides some rake tasks to solve issues with activeadmin as used in production. Namely, that apps seem to go into production with its default username and password in it that they gain from the initial migrations."
14
+ s.email = "github@corprew.org"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ "Gemfile",
22
+ "Gemfile.lock",
23
+ "LICENSE.txt",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "active_admin_usertasks.gemspec",
28
+ "lib/active_admin_usertasks.rb",
29
+ "lib/railtie.rb",
30
+ "lib/tasks/activeadmin_usertasks.rake",
31
+ "test/helper.rb",
32
+ "test/test_activeadmin_usertasks.rb"
33
+ ]
34
+ s.homepage = "http://github.com/corprew/active_admin_usertasks"
35
+ s.licenses = ["MIT"]
36
+ s.require_paths = ["lib"]
37
+ s.rubygems_version = "1.8.17"
38
+ s.summary = "solves some activeadmin admin user use cases"
39
+
40
+ if s.respond_to? :specification_version then
41
+ s.specification_version = 3
42
+
43
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
44
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
45
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
46
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
47
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
48
+ else
49
+ s.add_dependency(%q<shoulda>, [">= 0"])
50
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
51
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
52
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
53
+ end
54
+ else
55
+ s.add_dependency(%q<shoulda>, [">= 0"])
56
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
57
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
58
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
59
+ end
60
+ end
61
+
@@ -6,7 +6,7 @@ module ActiveAdminUsertasks
6
6
  railtie_name :activeadmin_usertasks
7
7
 
8
8
  rake_tasks do
9
- load "tasks/activeadmin_usertasks.rake"
9
+ load "tasks/active_admin_usertasks.rake"
10
10
  end
11
11
  end
12
12
  end
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.0
4
+ version: 0.1.1
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: &70181804900020 !ruby/object:Gem::Requirement
16
+ requirement: &70237358590800 !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: *70181804900020
24
+ version_requirements: *70237358590800
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rdoc
27
- requirement: &70181804897800 !ruby/object:Gem::Requirement
27
+ requirement: &70237358589660 !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: *70181804897800
35
+ version_requirements: *70237358589660
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bundler
38
- requirement: &70181804895280 !ruby/object:Gem::Requirement
38
+ requirement: &70237358604240 !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: *70181804895280
46
+ version_requirements: *70237358604240
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: jeweler
49
- requirement: &70181801053500 !ruby/object:Gem::Requirement
49
+ requirement: &70237358600860 !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: *70181801053500
57
+ version_requirements: *70237358600860
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.
@@ -72,6 +72,7 @@ files:
72
72
  - README.rdoc
73
73
  - Rakefile
74
74
  - VERSION
75
+ - active_admin_usertasks.gemspec
75
76
  - lib/active_admin_usertasks.rb
76
77
  - lib/railtie.rb
77
78
  - lib/tasks/activeadmin_usertasks.rake
@@ -92,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
93
  version: '0'
93
94
  segments:
94
95
  - 0
95
- hash: 3497036679179711415
96
+ hash: 4050203277473665908
96
97
  required_rubygems_version: !ruby/object:Gem::Requirement
97
98
  none: false
98
99
  requirements: