lines-engine 0.1.5 → 0.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1de371c9a6929f07001cbd5bb716a58e2fc07987
4
- data.tar.gz: 614c6e3cf114068b6305c896b129337c613733e8
3
+ metadata.gz: bc4d1cd3e4a80bb39eba6e67a9fbde0482d62986
4
+ data.tar.gz: 09ca8588580a762da6d07dcaa0a933e55a73ff6d
5
5
  SHA512:
6
- metadata.gz: b7f8f68904c8afd14b7015e40dca7dc9d146ad757d90257bce17bde3d4f431cb073beefb1612bb31bf30f65945e98ac3b29476d4a8fffbb688c3796728e88cc3
7
- data.tar.gz: fb14e6b25e9f9c484735a16b349421c9fa21e516ba7248c628c7ce9fbf2b198c052ce40995639bf1a1c9c45d0553205830e683c329ddf1e8be0b7120d757c3d4
6
+ metadata.gz: 532118fc92846240560f64ff83111c86fddddf219747dd65110a87f798129c6f4ba878f6dee281ba0edf36edc831b245b2f63ee1a75e5318e845c798e076462f
7
+ data.tar.gz: cf2ce4e5f1a36413a78fb13b7ef482025e16ea69f2072af55b14a7ea60a6ad735490d6776d3b73a23a384fbb60703e176974c03b693260e8f2295eb31c30db9d
data/README.rdoc CHANGED
@@ -50,6 +50,9 @@ To get an idea of the appearance, see the screenshots below, visit the {Lines We
50
50
 
51
51
  4. Adjust settings for Lines in the newly generated <tt>config/lines_config.yml</tt> file.
52
52
 
53
+ 5. Run database migrations:
54
+ rake db:migrate
55
+
53
56
  If you need some more information or help, you can just follow this readme file.
54
57
 
55
58
 
@@ -3,18 +3,21 @@
3
3
  INSTALLTION FINISHED
4
4
  ************************************
5
5
 
6
- Please adjust the configuration file to your needs:
6
+ 1. Please adjust the configuration file to your needs:
7
7
 
8
8
  config/lines_config.yml
9
9
 
10
+ 2. Run database migrations:
10
11
 
11
- To setup Lines, run one of the following tasks:
12
+ rake db:migrate
12
13
 
13
- rake lines:setup # Migrate database, create Admin user and default entries."
14
+ 3. Add a new user to login:
14
15
 
15
- or, if you just want to create a new user:
16
+ rake lines:add_user
16
17
 
17
- rake lines:add_user # Create a new Lines User
18
+ 4. Visit you blog at '/blog/' or '/blog/admin' for the admin interface
19
+
20
+ 5. Post some awesome articles!
18
21
 
19
22
 
20
23
 
data/lib/lines/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lines
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
data/lib/tasks/lines.rake CHANGED
@@ -29,32 +29,6 @@ namespace :lines do
29
29
 
30
30
  end
31
31
 
32
-
33
- desc "Migrate database, create Admin user and default entries."
34
- task :setup => :environment do
35
-
36
- begin
37
-
38
- # Run migrations
39
- Rake::Task["db:migrate"].invoke
40
- puts "Database created and migrations run.\n\n"
41
-
42
- # Add user
43
- Rake::Task["lines:create_user"].invoke
44
-
45
- # Display final instructions
46
- puts "\n\nCongrats! Your Lines blog is now ready to use. Just start the server:"
47
- puts "\n rails server\n"
48
- puts "...and head to #{CONFIG[:host]}/login to get started.\n\n"
49
-
50
- rescue SystemExit, Interrupt
51
- puts "\n\nBye Bye."
52
- rescue Exception => e
53
- raise
54
- end
55
-
56
- end
57
-
58
32
 
59
33
  # Reads credentials(email and password) from STDIN
60
34
  def get_credentials
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lines-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Opoloo GbR